M3D / M3D / Render / BufferFactory
Class: BufferFactory
Memberof
M3D.Render
Description
Buffer工厂类
Table of contents
Constructors
Methods
Constructors
constructor
• new BufferFactory(): BufferFactory
Returns
Methods
getBuffer
▸ getBuffer(renderContext, type, vertexSet, isUpdate?): any
Parameters
| Name | Type |
|---|---|
renderContext | RenderContext |
type | BufferType |
vertexSet | VertexSet |
isUpdate? | boolean |
Returns
any
Description
获取Buffer
▸ getBuffer(renderContext, type, vertexHeader, isUpdate?): any
Parameters
| Name | Type |
|---|---|
renderContext | RenderContext |
type | BufferType |
vertexHeader | VertexHeader |
isUpdate? | boolean |
Returns
any
Description
获取Buffer
▸ getBuffer(renderContext, type, buffer, isUpdate?): any
Parameters
| Name | Type |
|---|---|
renderContext | RenderContext |
type | BufferType |
buffer | ArrayBuffer |
isUpdate? | boolean |
Returns
any
Description
获取Buffer