Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VertexBuffer

Hierarchy

  • VertexBuffer

Index

Constructors

constructor

Properties

Private _attributesByName

_attributesByName: object

Type declaration

Protected _gl

_gl: WebGLRenderingContext

Private _handle

_handle: WebGLBuffer

Private _options

_options: BufferOptions

Private _size

_size: number

Private _vertexSize

_vertexSize: number

attributes

attributes: AttributeInfo[]

Static Private _current

_current: WebGLBuffer

Accessors

size

  • get size(): number

vertexCount

  • get vertexCount(): number

vertexSize

  • get vertexSize(): number

webGlBuffer

  • get webGlBuffer(): WebGLBuffer

Methods

bind

  • bind(): void

delete

  • delete(): void

enableAttribute

  • enableAttribute(name: string, location: number): void

Private getSize

subData

  • subData(offset: number, data: ArrayBuffer): void

Generated using TypeDoc