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

Public Member Functions

def __init__ ()
 
def setDefaults ()
 

Static Public Member Functions

def __new__ ()
 

Properties

 addressU = property(...)
 
 addressV = property(...)
 
 addressW = property(...)
 
 borderColor = property(...)
 
 comparisonFn = property(...)
 
 coordCount = property(...)
 
 elementIndex = property(...)
 
 filter = property(...)
 
 maxAnisotropy = property(...)
 
 maxLOD = property(...)
 
 minLOD = property(...)
 
 mipLODBias = property(...)
 

Detailed Description

Descriptor for a complete sampler state.

Constructor & Destructor Documentation

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

Member Function Documentation

def OpenMayaRender.MSamplerStateDesc.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMayaRender.MSamplerStateDesc.setDefaults ( )
setDefaults() -> self

Set all values for the target blend state to their default values.

Property Documentation

OpenMayaRender.MSamplerStateDesc.addressU = property(...)
static
 Select the u coordinate addressing mode, default kTexWrap
OpenMayaRender.MSamplerStateDesc.addressV = property(...)
static
 Select the v coordinate addressing mode, default kTexWrap
OpenMayaRender.MSamplerStateDesc.addressW = property(...)
static
 Select the w coordinate addressing mode, default kTexWrap
OpenMayaRender.MSamplerStateDesc.borderColor = property(...)
static
 Set border color used for accesses beyond texture 0..1, default(0,0,0,0)
OpenMayaRender.MSamplerStateDesc.comparisonFn = property(...)
static
 Selects the filter comparison function, default kCompareAlways
OpenMayaRender.MSamplerStateDesc.coordCount = property(...)
static
 Set the number of texture coordinates, default 2
OpenMayaRender.MSamplerStateDesc.elementIndex = property(...)
static
 When using texture arrays, selects array element, default 0
OpenMayaRender.MSamplerStateDesc.filter = property(...)
static
 Selects how to filter a texture sample, default kMinMagMipPoint
OpenMayaRender.MSamplerStateDesc.maxAnisotropy = property(...)
static
 Set the maximum anisotropy permitted for anisotropic filters. The range is 1..16, default 1
OpenMayaRender.MSamplerStateDesc.maxLOD = property(...)
static
 Set maximum mip LOD level accessed, default 16
OpenMayaRender.MSamplerStateDesc.minLOD = property(...)
static
 Set minimum mip LOD level accessed, default 0
OpenMayaRender.MSamplerStateDesc.mipLODBias = property(...)
static
 Set a float bias to be added to the computed mip LOD level, default 0