GLTFTexture.h
Last update: 17.04.2023 38 };
45 };
Samplers define how values are generated from textures with the give texture coordinates.
Definition: GLTFSampler.h:26
Textures are images that can be used to color a primitive.
Definition: GLTFTexture.h:28
static Texture * Create(GLTF *gltf, TextureFormat format, TextureTarget target, Sampler *sampler, Image *image)
static Texture * Create(GLTF *gltf, TextureFormat format, unsigned int numColors, const unsigned char *colors, bool smooth=true, unsigned int numBands=0, const float *bandLocations=0)
static Texture * Create(GLTF *gltf, TextureFormat format, unsigned int width, unsigned int height, unsigned char *data)