|
Python API 2.0 Reference
|
Inheritance diagram for OpenMayaRender.MTextureDescription:Public Member Functions | |
| def | __init__ () |
| def | setToDefault2DTexture () |
Static Public Member Functions | |
| def | __new__ () |
Properties | |
| fArraySlices = property(...) | |
| fBytesPerRow = property(...) | |
| fBytesPerSlice = property(...) | |
| fDepth = property(...) | |
| fEnvMapType = property(...) | |
| fFormat = property(...) | |
| fHeight = property(...) | |
| fMipmaps = property(...) | |
| fTextureType = property(...) | |
| fWidth = property(...) | |
Texture description. Provides sufficient information to describe how a block of data can be interpreted as a texture.
| def OpenMayaRender.MTextureDescription.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
| def OpenMayaRender.MTextureDescription.setToDefault2DTexture | ( | ) |
setToDefault2DTexture() -> self Utility to set texture description to describe a 0 size 2-dimensional texture.
|
static |
Number of array slices. e.g. 6 would be required for a cube-map
|
static |
Number of bytes in a row of pixels
|
static |
Number of bytes in a slice (if an array)
|
static |
Depth in pixels. A 2D texture has depth of 1.
|
static |
Type of environment mapping
|
static |
Pixel / raster format
|
static |
Height in pixels
|
static |
Number of mipmap levels. 0 means the entire mipmap chain.
|
static |
Type of texture
|
static |
Width in pixels