Mesh
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
numIndex: number |
Private Members | ||
private |
_attributes: *[] |
|
private |
|
|
private |
_cgp: * |
|
private |
_geom: * |
|
private |
|
|
private |
_log: * |
|
private |
_needsPipelineUpdate: boolean |
|
private |
_numIndices: * |
|
private |
_numNonIndexed: number |
|
private |
_pipe: * |
|
private |
|
Method Summary
Public Methods | ||
public |
dispose() |
|
public |
render() |
|
public |
setAttribute(name: String, array: Array, itemSize: Number, options: Object): * |
|
public |
|
Private Methods | ||
private |
_createBuffer(device: *, data: *, usage: *): * |
|
private |
|
Public Constructors
public constructor() source
Public Members
public numIndex: number source
Private Members
private _attributes: *[] source
private _bufVerticesIndizes: * source
private _cgp: * source
private _geom: * source
private _indicesBuffer: * source
private _log: * source
private _needsPipelineUpdate: boolean source
private _numIndices: * source
private _numNonIndexed: number source
private _pipe: * source
private _positionBuffer: * source
Public Methods
public dispose() source
public render() source
public setAttribute(name: String, array: Array, itemSize: Number, options: Object): * source
Params:
Name | Type | Attribute | Description |
name | String | attribute name |
|
array | Array | data |
|
itemSize | Number | ||
options | Object |
Return:
* |
public setGeom(geom: Geometry, removeRef: boolean) source
Params:
Name | Type | Attribute | Description |
geom | Geometry | geometry |
|
removeRef | boolean |
Private Methods
private _createBuffer(device: *, data: *, usage: *): * source
Params:
Name | Type | Attribute | Description |
device | * | ||
data | * | ||
usage | * |
Return:
* |