Class: GeometryVertexBuffer
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new GeometryVertexBuffer(): GeometryVertexBuffer
Returns
Defined in
src/core/geometry/GeometryVertexBuffer.ts:19
Properties
vertexCount
• vertexCount: number
= 0
Defined in
src/core/geometry/GeometryVertexBuffer.ts:12
vertexGPUBuffer
• vertexGPUBuffer: VertexGPUBuffer
Defined in
src/core/geometry/GeometryVertexBuffer.ts:13
geometryType
• geometryType: GeometryVertexType
= GeometryVertexType.compose
Defined in
src/core/geometry/GeometryVertexBuffer.ts:14
Accessors
vertexBufferLayouts
• get
vertexBufferLayouts(): VertexBufferLayout
[]
Returns
Defined in
src/core/geometry/GeometryVertexBuffer.ts:25
Methods
createVertexBuffer
▸ createVertexBuffer(vertexDataInfos
, shaderReflection
): void
Parameters
Name | Type |
---|---|
vertexDataInfos | Map <string , VertexAttributeData > |
shaderReflection | ShaderReflection |
Returns
void
Defined in
src/core/geometry/GeometryVertexBuffer.ts:29
upload
▸ upload(attribute
, vertexDataInfo
): void
Parameters
Name | Type |
---|---|
attribute | string |
vertexDataInfo | VertexAttributeData |
Returns
void
Defined in
src/core/geometry/GeometryVertexBuffer.ts:193
updateAttributes
▸ updateAttributes(vertexDataInfos
): void
Parameters
Name | Type |
---|---|
vertexDataInfos | Map <string , VertexAttributeData > |
Returns
void
Defined in
src/core/geometry/GeometryVertexBuffer.ts:222
compute
▸ compute(): void
Returns
void
Defined in
src/core/geometry/GeometryVertexBuffer.ts:261
destroy
▸ destroy(force?
): void
Parameters
Name | Type |
---|---|
force? | boolean |
Returns
void