Container class for an acquired complete GPU sampler state.
Constructor & Destructor Documentation
OpenMayaRender.MSamplerState.__init__
(
)
Initialize self. See help(type(self)) for accurate signature.
Member Function Documentation
OpenMayaRender.MSamplerState.__new__
(
)
static
Create and return a new object. See help(type) for accurate signature.
OpenMayaRender.MSamplerState.desc
(
)
desc() -> MSamplerStateDesc
Get the sampler state descriptor that was used to create the state object.
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.