BufferTransformer
This class transforms buffers. The main purpose is to fix discrepancies between the over-the-line format and the glsl format. In ideal situations no conversions are needed. At the moment these methods are only used when data is reused. The idea is that all transformations will happen in this class, making for more readable renderers
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
settings: * |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
convertIndices(indices: *, nrOfVertices: *): * |
|
| public |
convertNormals(normals: *): * |
|
| public |
convertVertices(uniqueModelId: *, vertices: *): * |
|
Public Constructors
public constructor() source
Public Methods
public convertIndices(indices: *, nrOfVertices: *): * source
Params:
| Name | Type | Attribute | Description |
| indices | * | ||
| nrOfVertices | * |
Return:
| * |
public convertNormals(normals: *): * source
Params:
| Name | Type | Attribute | Description |
| normals | * |
Return:
| * |
public convertVertices(uniqueModelId: *, vertices: *): * source
Params:
| Name | Type | Attribute | Description |
| uniqueModelId | * | ||
| vertices | * |
Return:
| * |
