Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeshBuffer

Hierarchy

  • MeshBuffer

Index

Constructors

constructor

Properties

Private _initIDataCount

_initIDataCount: number = 256 * 6

Private _initVDataCount

_initVDataCount: number = 256 * this._vertexFormatBytes

Private outofCallback

outofCallback: function | null = null

Private _vertexFormatBytes

_vertexFormatBytes: number = 9 * Float32Array.BYTES_PER_ELEMENT

batcher

batcher: UI

byteOffset

byteOffset: number = 0

byteStart

byteStart: number = 0

dirty

dirty: boolean = false

iData

iData: Uint16Array | null = null

ia

ia: GFXInputAssembler | null = null

ib

ib: GFXBuffer | null = null

indiceOffset

indiceOffset: number = 0

indiceStart

indiceStart: number = 0

lastByteOffset

lastByteOffset: number = 1

vData

vData: Float32Array | null = null

vb

vb: GFXBuffer | null = null

vertexOffset

vertexOffset: number = 0

vertexStart

vertexStart: number = 0

Static OPACITY_OFFSET

OPACITY_OFFSET: number = 8

Methods

Private reallocBuffer

  • _reallocBuffer(): void

Private reallocIData

  • reallocIData(copyOldData: boolean): void

Private reallocVData

  • reallocVData(copyOldData: boolean): void

destroy

  • destroy(): void

initialize

  • initialize(attrs: IGFXAttribute[], outofCallback: function | null): void

request

  • request(vertexCount?: number, indiceCount?: number): boolean

reset

  • reset(): void

uploadData

  • uploadData(): void

Generated using TypeDoc