GLTFAttribute
Last update: 16.07.2025 48 };
Attributes define the per element index values for elements defined by Index.
Definition GLTFAttribute.h:32
static Attribute * Create(GLTF *gltf, const char *name, AttributeType type, unsigned int count, const int *data, Buffer *buffer=0)
static Attribute * CreateNormal(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)
static Attribute * Create(GLTF *gltf, const char *name, AttributeType type, unsigned int count, const float *data, Buffer *buffer=0)
virtual void SetLogarithmic(bool log)=0
static Attribute * CreatePointSize(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)
static Attribute * CreateDisplacementScale(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)
static Attribute * CreateTextureCoord(GLTF *gltf, unsigned int num, unsigned int count, const float *data, Buffer *buffer=0)
virtual bool SetMinMax(AttributeType type, const int *mn, const int *mx)=0
static Attribute * CreatePosition(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)
virtual bool SetMinMax(AttributeType type, const float *mn, const float *mx)=0
static Attribute * CreateColor(GLTF *gltf, AttributeType type, unsigned int count, const float *data, Buffer *buffer=0)
Buffers define files that are used to contain attribute and index data.
Definition GLTFBuffer.h:36