Kanzi 3.9.10
TextureEnums.CreateInfo.Status Enum Reference

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

Inheritance diagram for TextureEnums.CreateInfo.Status:
[legend]

Public Member Functions

 Status (int value)
 Constructs a Status of an integer value.
 
 Status (Status enum_)
 Constructs a copy of a Status object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static Status swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static Status toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 StatusImageFormatMismatch =(18)
 Inconsistent image formats.
 
 StatusImageIncompatibleWithDevice =(19)
 Image incompatible with target device.
 
 StatusImageMissingMipmaps =(5)
 Mipmaps are required, but the image is missing them.
 
 StatusInvalidFeatures =(12)
 Requested graphics format features are not valid for texture.
 
 StatusInvalidImageCount =(3)
 Wrong number of images.
 
 StatusInvalidImageSize =(6)
 Sizes of images are inconsistent.
 
 StatusInvalidMaximumSize =(8)
 Image size cannot exceed size supported by the GL device.
 
 StatusInvalidMinimumSize =(7)
 Image size must be at least 1 x 1.
 
 StatusInvalidMipmapSize =(9)
 Image mipmap size was not correctly derived from base image.
 
 StatusInvalidRenderTargetMode =(2)
 Requested rendertarget mode is not valid.
 
 StatusInvalidType =(0)
 Invalid texture type.
 
 StatusMissingImages =(4)
 Not all images were properly defined.
 
 StatusTypeNotSupported =(1)
 Requested Texture type is not supported.
 
 StatusUnsupportedDepthComparisonMode =(20)
 Requested depth comparison mode is not supported by graphics device.
 
 StatusUnsupportedGraphicsFormat =(10)
 Unsupported image format.
 
 StatusUnsupportedInternalRenderTargetSampleCount =(16)
 Textures with rendertarget mode set to RenderTargetModeInternal do not support multisampling.
 
 StatusUnsupportedMultisampleFilter =(13)
 Multisample textures do not support filtering.
 
 StatusUnsupportedMultisampleMipmaps =(14)
 Multisample textures do not support mipmaps.
 
 StatusUnsupportedMultisampleSamples =(15)
 Multisample textures must have a valid number of samples.
 
 StatusUnsupportedSampleCount =(17)
 Requested number of multisample samples exceeds the number of samples supported by the graphics device.
 
 StatusUnsupportedTextureFilter =(11)
 Requested filtering mode is not supported for requested graphics format.
 
 StatusValid =(21)
 CreateInfo is valid and can be used to create Texture.
 

Detailed Description

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().

Constructor & Destructor Documentation

◆ Status() [1/2]

Status ( int value)

Constructs a Status of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ Status() [2/2]

Status ( Status enum_)

Constructs a copy of a Status object.

Parameters
enum_Status to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static Status swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static Status toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ StatusInvalidImageCount

StatusInvalidImageCount =(3)

Wrong number of images.

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

◆ StatusInvalidType

StatusInvalidType =(0)

Invalid texture type.

See Texture::Type for valid texture types.