OpenMayaRender.MSamplerState Class Reference

OpenMayaRender.MSamplerState Class Reference
+ この参照ページは、次の概要トピックと関連付けられています。

Class Description

Container class for an acquired complete GPU sampler state.
+ Inheritance diagram for OpenMayaRender.MSamplerState:

Public Member Functions

__init__ ()
 
desc ()
 
resourceHandle ()
 

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
 

Constructor & Destructor Documentation

OpenMayaRender.MSamplerState.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

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.