Kanzi  3.9.5
Java API
TextureCreateInfoStatus Enum Reference

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

Inheritance diagram for TextureCreateInfoStatus:
[legend]

Public Member Functions

 TextureCreateInfoStatus (int mValue)
 
 TextureCreateInfoStatus (TextureCreateInfoStatus enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

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

Public Attributes

 TextureCreateInfoStatusImageFormatMismatch =(18)
 Inconsistent image formats.
 
 TextureCreateInfoStatusImageIncompatibleWithDevice =(19)
 Image incompatible with target device.
 
 TextureCreateInfoStatusImageMissingMipmaps =(5)
 Mipmaps are required, but the image is missing them.
 
 TextureCreateInfoStatusInvalidFeatures =(12)
 Requested graphics format features are not valid for texture.
 
 TextureCreateInfoStatusInvalidImageCount =(3)
 Wrong number of images. More...
 
 TextureCreateInfoStatusInvalidImageSize =(6)
 Sizes of images are inconsistent.
 
 TextureCreateInfoStatusInvalidMaximumSize =(8)
 Image size cannot exceed size supported by the GL device.
 
 TextureCreateInfoStatusInvalidMinimumSize =(7)
 Image size must be at least 1 x 1.
 
 TextureCreateInfoStatusInvalidMipmapSize =(9)
 Image mipmap size was not correctly derived from base image.
 
 TextureCreateInfoStatusInvalidRenderTargetMode =(2)
 Requested rendertarget mode is not valid.
 
 TextureCreateInfoStatusInvalidType =(0)
 Invalid texture type. More...
 
 TextureCreateInfoStatusMissingImages =(4)
 Not all images were properly defined.
 
 TextureCreateInfoStatusNotSupported =(1)
 Requested Texture type is not supported.
 
 TextureCreateInfoStatusUnsupportedDepthComparisonmode =(20)
 Requested depth comparison mode is not supported by graphics device.
 
 TextureCreateInfoStatusUnsupportedGraphicsFormat =(10)
 Unsupported image format.
 
 TextureCreateInfoStatusUnsupportedInternalRenderTargetSampleCount =(16)
 Textures with rendertarget mode set to RenderTargetModeInternal do not support multisampling.
 
 TextureCreateInfoStatusUnsupportedMultisampleFilter =(13)
 Multisample textures do not support filtering.
 
 TextureCreateInfoStatusUnsupportedMultisampleMipmaps =(14)
 Multisample textures do not support mipmaps.
 
 TextureCreateInfoStatusUnsupportedMultisampleSamples =(15)
 Multisample textures must have a valid number of samples.
 
 TextureCreateInfoStatusUnsupportedSampleCount =(17)
 Requested number of multisample sample exceeds number of multisample samples supported by the graphics device.
 
 TextureCreateInfoStatusUnsupportedTextureFilter =(11)
 Requested filtering mode is not supported for requested graphics format.
 
 TextureCreateInfoStatusValid =(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().

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static TextureCreateInfoStatus 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

◆ TextureCreateInfoStatusInvalidImageCount

TextureCreateInfoStatusInvalidImageCount =(3)

Wrong number of images.

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

◆ TextureCreateInfoStatusInvalidType

TextureCreateInfoStatusInvalidType =(0)

Invalid texture type.

See Texture::Type for valid texture types.