Status tells if texture creation parameters can be used to create a texture. More...
Public Member Functions | |
Status (int mValue) | |
Status (Status enum_) | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Static Public Member Functions | |
static Status | swigToEnum (int swigValue) |
static Status | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
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. More... | |
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. More... | |
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 sample exceeds number of multisample 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. | |
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().
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
StatusInvalidImageCount =(3) |
Wrong number of images.
Two dimensional textures must have 0 or 1 image, cubemap textures must have 0 or 6 images.
StatusInvalidType =(0) |
Invalid texture type.
See Texture::Type for valid texture types.