Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GFXWindow

GFX 窗口。

Hierarchy

Index

Constructors

constructor

Properties

Protected _colorFmt

_colorFmt: GFXFormat = GFXFormat.UNKNOWN

Protected _colorTex

_colorTex: GFXTexture | null = null

Protected _colorTexView

_colorTexView: GFXTextureView | null = null

Protected _depthStencilFmt

_depthStencilFmt: GFXFormat = GFXFormat.UNKNOWN

Protected _depthStencilTex

_depthStencilTex: GFXTexture | null = null

Protected _depthStencilTexView

_depthStencilTexView: GFXTextureView | null = null

Protected _device

_device: GFXDevice

Protected _framebuffer

_framebuffer: GFXFramebuffer | null = null

Protected _gfxType

_gfxType: GFXObjectType = GFXObjectType.UNKNOWN

Protected _height

_height: number = 0

Protected _isOffscreen

_isOffscreen: boolean = false

Protected _left

_left: number = 0

Protected _nativeHeight

_nativeHeight: number = 0

Protected _nativeWidth

_nativeWidth: number = 0

Protected _renderPass

_renderPass: GFXRenderPass | null = null

Protected _status

_status: GFXStatus = GFXStatus.UNREADY

Protected _title

_title: string = ""

Protected _top

_top: number = 0

Protected _width

_width: number = 0

Accessors

colorFormat

colorTexView

depthStencilTexView

detphStencilFormat

framebuffer

gfxType

height

  • get height(): number

isOffscreen

  • get isOffscreen(): boolean

renderPass

status

width

  • get width(): number

Methods

Abstract destroy

  • destroy(): void

Abstract initialize

Abstract resize

  • resize(width: number, height: number): void
  • 重置窗口大小。

    Parameters

    • width: number

      The new width.

    • height: number

      The new height.

    Returns void

Generated using TypeDoc