nn::gd::CTR::SamplerStateDescription::ToDefault Member Function

Syntax

void ToDefault();

Parameters

None.

Return Values

None.

Description

Sets to the default value.

The settings values for each member variable are as follows.

  m_MinFilter = TextureStage::SAMPLER_MIN_FILTER_NEAREST;
  m_MagFilter = TextureStage::SAMPLER_MAG_FILTER_NEAREST;
  m_WrapS     = TextureStage::SAMPLER_WRAP_REPEAT;
  m_WrapT     = TextureStage::SAMPLER_WRAP_REPEAT;
  m_BorderColor[0] = m_BorderColor[1] = m_BorderColor[2] = m_BorderColor[3] = 0;
  m_LodBias = 0;
  m_MinLod  = 0;
  m_MaxLod = UINT_MAX;

Revision History

2011/02/17
Initial version.

CONFIDENTIAL