libgpac
Documentation of the core library of GPAC
|
import"evg.idl";
Public Member Functions | |
VertexAttrib (Float32Buffer data, long nb_components, optional AttributeMapType map=GF_EVG_VAI_VERTEX_INDEX) | |
Data Fields | |
writeonly boolean | normalize |
Vertex attribute buffer used by vertex shaders
VertexAttrib::VertexAttrib | ( | Float32Buffer | data, |
long | nb_components, | ||
optional AttributeMapType | map = GF_EVG_VAI_VERTEX_INDEX |
||
) |
constructor
data | float buffer containing the vertex attribute data |
nb_components | number of floats per attribute |
map | mapping mode of attribute per vertex or primitive |
writeonly boolean VertexAttrib::normalize |
if set, the attribute value will be normalized upon fetch by the shader