Python API 2.0 Reference
OpenMayaRender.MSamplerState Class Reference
+ Inheritance diagram for OpenMayaRender.MSamplerState:

Public Member Functions

def __init__ ()
 
def desc ()
 
def resourceHandle ()
 

Static Public Member Functions

def __new__ ()
 

Static Public Attributes

int kAnisotropic = 85
 
int kMinLinear_MagMipPoint = 16
 
int kMinLinear_MagPoint_MipLinear = 17
 
int kMinMagLinear_MipPoint = 20
 
int kMinMagMipLinear = 21
 
int kMinMagMipPoint = 0
 
int kMinMagPoint_MipLinear = 1
 
int kMinPoint_MagLinear_MipPoint = 4
 
int kMinPoint_MagMipLinear = 5
 
int kTexBorder = 4
 
int kTexClamp = 3
 
int kTexMirror = 2
 
int kTexWrap = 1
 

Detailed Description

Container class for an acquired complete GPU sampler state.

Constructor & Destructor Documentation

def OpenMayaRender.MSamplerState.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaRender.MSamplerState.__new__ ( )
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.