Struct which contains all the parameters that are needed for texture creation. More...
#include <kanzi/interop/core.ui/graphics/texture.hpp>
Public Attributes | |
| SamplerAddressingMode | addressingMode |
| Texture addressing mode. | |
| size_t | depth |
| Reserved for future use. | |
| GraphicsCompareFunction | depthCompareFunction |
| Depth comparison function. | |
| GraphicsFormat | format |
| Format for texture. | |
| size_t | height |
| Height for the base level of texture. | |
| vector< BitmapImageWrapper * > | images |
| Images that are used to create the texture. | |
| SamplerFilter | magnificationFilter |
| Texture minification filter. | |
| GPUResourceMemoryType | memoryType |
| Memory type for the texture. | |
| SamplerFilter | minificationFilter |
| Texture magnification filter. | |
| size_t | mipmapLevelCount |
| Number of mipmap levels for the texture. | |
| SamplerMipmapMode | mipmapMode |
| Mipmap mode for the texture. | |
| TextureType | type |
| Texture type. | |
| size_t | width |
| Width for the base level of texture. | |
Struct which contains all the parameters that are needed for texture creation.
| GraphicsFormat kanzi::interop::TextureCreateInfo::format |
Format for texture.
Default CreateInfo constructor initializes this to GraphicsFormatNone, which is not valid value for Texture::create().
| TextureType kanzi::interop::TextureCreateInfo::type |
Texture type.
Default CreateInfo constructor initializes this to TypeInvalid, which is not valid value for Texture::create().
| size_t kanzi::interop::TextureCreateInfo::width |
Width for the base level of texture.
Default CreateInfo constructor initializes this to 0, which is not valid value for Texture::create().
| size_t kanzi::interop::TextureCreateInfo::height |
Height for the base level of texture.
Default CreateInfo constructor initializes this to 0, which is not valid value for Texture::create().
| size_t kanzi::interop::TextureCreateInfo::depth |
Reserved for future use.
Set to 1.
Depth for the base level of texture.
Default CreateInfo constructor initializes this to 1.
| size_t kanzi::interop::TextureCreateInfo::mipmapLevelCount |
Number of mipmap levels for the texture.
Default CreateInfo constructor initializes this to 1, meaning there is only base level image and no mipmap images.
| GPUResourceMemoryType kanzi::interop::TextureCreateInfo::memoryType |
Memory type for the texture.
If Gpu is not included, texture will not be deployed when created.
If Ram is not included, texture will not contain images after it has been deployed.
Default CreateInfo constructor initializes this to GpuOnly.
| SamplerMipmapMode kanzi::interop::TextureCreateInfo::mipmapMode |
Mipmap mode for the texture.
Default CreateInfo constructor initializes this to Sampler::MipmapModeBase.
| SamplerFilter kanzi::interop::TextureCreateInfo::minificationFilter |
Texture magnification filter.
Default CreateInfo constructor initializes this to Sampler::FilterNearest.
| SamplerFilter kanzi::interop::TextureCreateInfo::magnificationFilter |
Texture minification filter.
Default CreateInfo constructor initializes this to Sampler::FilterNearest.
| SamplerAddressingMode kanzi::interop::TextureCreateInfo::addressingMode |
Texture addressing mode.
Default CreateInfo constructor initializes this to Sampler::AddressingModeClamp.
| GraphicsCompareFunction kanzi::interop::TextureCreateInfo::depthCompareFunction |
Depth comparison function.
Default CreateInfo constructor initializes this to GraphicsCompareFunctionDisabled.
| vector<BitmapImageWrapper*> kanzi::interop::TextureCreateInfo::images |
Images that are used to create the texture.
If you set texture type to two dimensional, images must contain zero or one image. If you set texture type to cube map, images must contain zero or six images.
Default CreateInfo constructor initializes this to empty.