Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
def | desc () |
def | resourceHandle () |
Static Public Member Functions | |
def | __new__ () |
Container class for an acquired complete GPU sampler state.
def OpenMayaRender.MSamplerState.__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.MSamplerState.desc | ( | ) |
desc() -> MSamplerStateDesc Get the sampler state descriptor that was used to create the state object.
def OpenMayaRender.MSamplerState.resourceHandle | ( | ) |
resourceHandle() -> long Returns a long containing a C++ 'void' pointer which points to the draw API dependent handle for a sampler state. For OpenGL, such a handle does not exist and a NULL pointer will be returned. For DirectX, a pointer to a Direct3D state will be returned.