OpenMayaRender.MTextureDescription Class Reference
Texture description. Provides sufficient information to describe how a block of data can be interpreted as a texture.
|
int | kCubeMap = 4 |
|
int | kDepthTexture = 6 |
|
int | kEnvCrossHoriz = 5 |
|
int | kEnvCrossVert = 4 |
|
int | kEnvCubemap = 6 |
|
int | kEnvHemiSphere = 2 |
|
int | kEnvLatLong = 3 |
|
int | kEnvNone = 0 |
|
int | kEnvSphere = 1 |
|
int | kImage1D = 0 |
|
int | kImage1DArray = 1 |
|
int | kImage2D = 2 |
|
int | kImage2DArray = 3 |
|
int | kNumberOfEnvMapTypes = 7 |
|
int | kNumberOfTextureTypes = 7 |
|
int | kVolumeTexture = 5 |
|
OpenMayaRender.MTextureDescription.__init__ |
( |
| ) |
|
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMayaRender.MTextureDescription.setToDefault2DTexture |
( |
| ) |
|
setToDefault2DTexture() -> self
Utility to set texture description to describe a 0 size 2-dimensional texture.
OpenMayaRender.MTextureDescription.fArraySlices |
|
static |
Number of array slices. e.g. 6 would be required for a cube-map
OpenMayaRender.MTextureDescription.fBytesPerRow |
|
static |
Number of bytes in a row of pixels
OpenMayaRender.MTextureDescription.fBytesPerSlice |
|
static |
Number of bytes in a slice (if an array)
OpenMayaRender.MTextureDescription.fDepth |
|
static |
Depth in pixels. A 2D texture has depth of 1.
OpenMayaRender.MTextureDescription.fEnvMapType |
|
static |
Type of environment mapping
OpenMayaRender.MTextureDescription.fFormat |
|
static |
OpenMayaRender.MTextureDescription.fHeight |
|
static |
OpenMayaRender.MTextureDescription.fMipmaps |
|
static |
Number of mipmap levels. 0 means the entire mipmap chain.
OpenMayaRender.MTextureDescription.fTextureType |
|
static |
OpenMayaRender.MTextureDescription.fWidth |
|
static |