Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GFXInputAssembler

GFX 输入汇集器。

Hierarchy

Index

Constructors

constructor

Properties

Protected _attributes

_attributes: IGFXAttribute[] = []

Protected _device

_device: GFXDevice

Protected _firstIndex

_firstIndex: number = 0

Protected _firstInstance

_firstInstance: number = 0

Protected _firstVertex

_firstVertex: number = 0

Protected _gfxType

_gfxType: GFXObjectType = GFXObjectType.UNKNOWN

Protected _indexBuffer

_indexBuffer: GFXBuffer | null = null

Protected _indexCount

_indexCount: number = 0

Protected _indirectBuffer

_indirectBuffer: GFXBuffer | null = null

Protected _instanceCount

_instanceCount: number = 0

Protected _isIndirect

_isIndirect: boolean = false

Protected _status

_status: GFXStatus = GFXStatus.UNREADY

Protected _vertexBuffers

_vertexBuffers: GFXBuffer[] = []

Protected _vertexCount

_vertexCount: number = 0

Protected _vertexOffset

_vertexOffset: number = 0

Accessors

attributes

firstIndex

  • get firstIndex(): number
  • set firstIndex(first: number): void

firstInstance

  • get firstInstance(): number
  • set firstInstance(first: number): void

firstVertex

  • get firstVertex(): number
  • set firstVertex(first: number): void

gfxType

indexBuffer

indexCount

  • get indexCount(): number
  • set indexCount(count: number): void

indirectBuffer

instanceCount

  • get instanceCount(): number
  • set instanceCount(count: number): void

isIndirect

  • get isIndirect(): boolean

status

vertexBuffers

vertexCount

  • get vertexCount(): number
  • set vertexCount(count: number): void

vertexOffset

  • get vertexOffset(): number
  • set vertexOffset(offset: number): void

Methods

Abstract destroy

  • destroy(): void

getVertexBuffer

  • getVertexBuffer(stream?: number): GFXBuffer | null

Abstract initialize

Generated using TypeDoc