10 TextureHandle loadTexture(
const uint8_t * bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t flags)
final;
11 TextureHandle loadTexture(
const uint8_t * bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t numSamples, uint32_t flags)
final;
16 TextureHandle load(ResourceDimensions target,
const uint8_t ** bytes,
const size_t arraySize,
const size_t numLevels,
const uint32_t * widths,
const uint32_t * heights, TextureFormat format, uint32_t numSamples, uint32_t flags);
Provides texture management functionality.
virtual TextureHandle loadTexture(const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int flags=0)=0
Load a texture using the given data to populate the texture contents.
TextureHandle loadTexture(const TextureDescription &desc, const TextureData *data)=0
Load a texture from the given description.