nn::gd::CTR::SamplerStateDescription

nn::gd::CTR::SamplerStateDescription Class

Syntax

class SamplerStateDescription

Description

The descriptor when creating sampler states.

Member Variables

m_MinFilter TextureStage::SamplerMinFilter The MIN filter.
m_MagFilter TextureStage::SamplerMagFilter The Mag filter.
m_WrapS TextureStage::SamplerWrapMode WrapS mode.
m_WrapT TextureStage::SamplerWrapMode WrapT mode.
m_BorderColor u8 The border color.
m_LodBias u32 The LOD bias.
m_MinLod u32 The minimum LOD level.
m_MaxLod u32 The maximum LOD level.

Member Functions

SetMinFilter Sets the Min filter for m_MinFilter.
SetMagFilter Sets the Mag filter for m_MagFilter.
SetWrapS Sets the WrapS mode for m_WrapS.
SetWrapT Sets the WrapT mode for m_WrapT.
SetBorderColor Sets a border color in m_BorderColor[4]. Specify values in the range from 0 to 255.
SetLodBias Sets the LOD bias in m_LodBias.
SetMinLod Sets the minimum LOD level (in m_MinLod.
SetMaxLod Sets the maximum LOD level in m_MaxLod.
ToDefault Sets to the default value.
SetShadow Set for shadow textures.
SetShadowCube Set for shadow cube textures.
SetGas Set for gas textures.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL