Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderWindow

渲染窗口代表了一个渲染目标,可以是离屏的帧缓冲,也可以是屏幕缓冲

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