View source
class FoxVertexBuffer
package foxlite.mesh.buffer
extended by FoxIndexBuffer, FoxVertexMultiBuffer
Constructor
new(elements:Int, dataPerVertex:Int, dynamicUsage:Bool = false)
Parameters:
elements | The total element count |
|---|---|
dataPerVertex | How many elements per vertex for the attribute |
Variables
normalized:Bool = false
Used at render time, if enabled, values from the byte/short/int range will be normalized from -1 to 1 (or 0 to 1 in the case of unsigned)