Kanzi  3.9.7
Kanzi Engine API
kanzi::interop::TextureEnums::CreateInfo Struct Reference

#include <kanzi/interop/autogen/core.ui/graphics2d/texture_create_info_enums.hpp>

Public Types

enum  Status {
  StatusInvalidType, StatusTypeNotSupported, StatusInvalidRenderTargetMode, StatusInvalidImageCount,
  StatusMissingImages, StatusImageMissingMipmaps, StatusInvalidImageSize, StatusInvalidMinimumSize,
  StatusInvalidMaximumSize, StatusInvalidMipmapSize, StatusUnsupportedGraphicsFormat, StatusUnsupportedTextureFilter,
  StatusInvalidFeatures, StatusUnsupportedMultisampleFilter, StatusUnsupportedMultisampleMipmaps, StatusUnsupportedMultisampleSamples,
  StatusUnsupportedInternalRenderTargetSampleCount, StatusUnsupportedSampleCount, StatusImageFormatMismatch, StatusImageIncompatibleWithDevice,
  StatusUnsupportedDepthComparisonMode, StatusValid
}
 Status tells if texture creation parameters can be used to create a texture. More...
 

Member Enumeration Documentation

Status tells if texture creation parameters can be used to create a texture.

If status is not StatusValid, create info must not be passed to Texture::create().

Enumerator
StatusInvalidType 

Invalid texture type. See Texture::Type for valid texture types.

StatusTypeNotSupported 

Requested Texture type is not supported.

StatusInvalidRenderTargetMode 

Requested rendertarget mode is not valid.

StatusInvalidImageCount 

Wrong number of images. Two dimensional textures must have 0 or 1 image, cubemap textures must have 0 or 6 images.

StatusMissingImages 

Not all images were properly defined.

StatusImageMissingMipmaps 

Mipmaps are required, but the image is missing them.

StatusInvalidImageSize 

Sizes of images are inconsistent.

StatusInvalidMinimumSize 

Image size must be at least 1 x 1.

StatusInvalidMaximumSize 

Image size cannot exceed size supported by the GL device.

StatusInvalidMipmapSize 

Image mipmap size was not correctly derived from base image.

StatusUnsupportedGraphicsFormat 

Unsupported image format.

StatusUnsupportedTextureFilter 

Requested filtering mode is not supported for requested graphics format.

StatusInvalidFeatures 

Requested graphics format features are not valid for texture.

StatusUnsupportedMultisampleFilter 

Multisample textures do not support filtering.

StatusUnsupportedMultisampleMipmaps 

Multisample textures do not support mipmaps.

StatusUnsupportedMultisampleSamples 

Multisample textures must have a valid number of samples.

StatusUnsupportedInternalRenderTargetSampleCount 

Textures with rendertarget mode set to RenderTargetModeInternal do not support multisampling.

StatusUnsupportedSampleCount 

Requested number of multisample sample exceeds number of multisample samples supported by the graphics device.

StatusImageFormatMismatch 

Inconsistent image formats.

StatusImageIncompatibleWithDevice 

Image incompatible with target device.

StatusUnsupportedDepthComparisonMode 

Requested depth comparison mode is not supported by graphics device.

StatusValid 

CreateInfo is valid and can be used to create Texture.


The documentation for this struct was generated from the following file: