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 _cameras

_cameras: Camera[] = []

Protected _colorTextures

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

Protected _depthStencilTexture

_depthStencilTexture: Texture | null = null

Protected _height

_height: number = 1

Protected _nativeHeight

_nativeHeight: number = 1

Protected _nativeWidth

_nativeWidth: number = 1

Protected _poolHandle

_poolHandle: RenderWindowHandle = NULL_HANDLE

Protected _renderPass

_renderPass: RenderPass | null = null

Protected _shouldSyncSizeWithSwapchain

_shouldSyncSizeWithSwapchain: boolean = false

Protected _swapchainBufferIndices

_swapchainBufferIndices: number = 0

Protected _title

_title: string = ""

Protected _width

_width: number = 1

Accessors

cameras

  • get cameras(): Camera[]

framebuffer

handle

  • get handle(): RenderWindowHandle

hasOffScreenAttachments

  • get hasOffScreenAttachments(): boolean

hasOnScreenAttachments

  • get hasOnScreenAttachments(): boolean

height

  • get height(): number

shouldSyncSizeWithSwapchain

  • get shouldSyncSizeWithSwapchain(): boolean

width

  • get width(): number

Methods

attachCamera

  • attachCamera(camera: Camera): void

clearCameras

  • clearCameras(): void

destroy

  • destroy(): void

detachCamera

  • detachCamera(camera: Camera): void

extractRenderCameras

  • extractRenderCameras(): Camera[]

initialize

resize

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

sortCameras

  • sortCameras(): void

Static Private registerCreateFunc

  • registerCreateFunc(root: Root): void

Generated using TypeDoc