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(): any

Abstract initialize

Abstract resize

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

    Parameters

    • width: number

      窗口宽度。

    • height: number

      窗口高度。

    Returns any

Generated using TypeDoc