class
TextureDataTexture data.
Contents
Public types
Constructors, destructors, conversion operators
- TextureData(Type type, SamplerFilter minificationFilter, SamplerFilter magnificationFilter, SamplerMipmap mipmapFilter, Array3D<SamplerWrapping> wrapping, UnsignedInt image, const void* importerState = nullptr) noexcept
- Constructor.
- TextureData(const TextureData&) deleted
- Copying is not allowed.
- TextureData(TextureData&&) noexcept defaulted
- Move constructor.
Public functions
- auto operator=(const TextureData&) -> TextureData& deleted
- Copying is not allowed.
- auto operator=(TextureData&&) noexcept -> TextureData& defaulted
- Move assignment.
- auto type() const -> Type
- Texture type.
- auto minificationFilter() const -> SamplerFilter
- Minification filter.
- auto magnificationFilter() const -> SamplerFilter
- Magnification filter.
- auto mipmapFilter() const -> SamplerMipmap
- Mipmap filter.
- auto wrapping() const -> Array3D<SamplerWrapping>
- Wrapping.
- auto image() const -> UnsignedInt
- Image ID.
- auto importerState() const -> const void*
- Importer-specific state.
Enum documentation
Function documentation
Magnum:: Trade:: TextureData:: TextureData(Type type,
SamplerFilter minificationFilter,
SamplerFilter magnificationFilter,
SamplerMipmap mipmapFilter,
Array3D<SamplerWrapping> wrapping,
UnsignedInt image,
const void* importerState = nullptr) noexcept
Constructor.
Parameters | |
---|---|
type | Texture type |
minificationFilter | Minification filter |
magnificationFilter | Magnification filter |
mipmapFilter | Mipmap filter |
wrapping | Wrapping |
image | Texture image ID |
importerState | Importer-specific state |
UnsignedInt Magnum:: Trade:: TextureData:: image() const
Image ID.
ID of 1D, 2D or 3D image based on texture type. If type is Type::
const void* Magnum:: Trade:: TextureData:: importerState() const
Importer-specific state.
See AbstractImporter::
Debug& operator<<(Debug& debug,
TextureData:: Type value)
Debug output operator.