Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderWindow

The render window represents the render target, it could be an off screen frame buffer or the on screen buffer.

Hierarchy

  • RenderWindow

Index

Constructors

Private constructor

Properties

Protected _colorTextures

_colorTextures: (null | GFXTexture)[] = []

Protected _depthStencilTexture

_depthStencilTexture: GFXTexture | null = null

Protected _framebuffer

_framebuffer: GFXFramebuffer | null = null

Protected _hasOffScreenAttachments

_hasOffScreenAttachments: boolean = false

Protected _hasOnScreenAttachments

_hasOnScreenAttachments: boolean = false

Protected _height

_height: number = 1

Protected _nativeHeight

_nativeHeight: number = 1

Protected _nativeWidth

_nativeWidth: number = 1

Protected _renderPass

_renderPass: GFXRenderPass | null = null

Protected _shouldSyncSizeWithSwapchain

_shouldSyncSizeWithSwapchain: boolean = false

Protected _swapchainBufferIndices

_swapchainBufferIndices: number = 0

Protected _title

_title: string = ""

Protected _width

_width: number = 1

Accessors

framebuffer

hasOffScreenAttachments

  • get hasOffScreenAttachments(): boolean

hasOnScreenAttachments

  • get hasOnScreenAttachments(): boolean

height

  • get height(): number

shouldSyncSizeWithSwapchain

  • get shouldSyncSizeWithSwapchain(): boolean

width

  • get width(): number

Methods

destroy

  • destroy(): void

initialize

resize

  • resize(width: number, height: number): void

Static Private registerCreateFunc

  • registerCreateFunc(root: Root): void

Generated using TypeDoc