OROCHI
 
Loading...
Searching...
No Matches
GxRenderSamplerState Struct Reference

サンプラステート More...

#include <GxRender.h>

Inheritance diagram for GxRenderSamplerState:
Collaboration diagram for GxRenderSamplerState:

Public Member Functions

初期化
 GxRenderSamplerState (void)
 デフォルトコンストラクタ
 
 GxRenderSamplerState (RENDER_SAMPLER_ADDRESS_MODE addressU, RENDER_SAMPLER_ADDRESS_MODE addressV, RENDER_SAMPLER_ADDRESS_MODE addressW, RENDER_SAMPLER_BORDER_COLOR borderColor, RENDER_SAMPLER_FILTER magFilter, RENDER_SAMPLER_FILTER minFilter, RENDER_SAMPLER_FILTER mipmapFilter, u32 mipmapLodBias, u32 mipmapLevelMax, RENDER_SAMPLER_ANISOTROPY_MAX anisotropyMax)
 コンストラクタ
 
アクセサ
GX_FORCE_INLINE void getPropertyAddressU (void *const pValue)
 Uアドレスを取得
 
GX_FORCE_INLINE void setPropertyAddressU (const void *const pValue)
 Uアドレスを設定
 
GX_FORCE_INLINE void getPropertyAddressV (void *const pValue)
 Vアドレスを取得
 
GX_FORCE_INLINE void setPropertyAddressV (const void *const pValue)
 Vアドレスを設定
 
GX_FORCE_INLINE void getPropertyAddressW (void *const pValue)
 Wアドレスを取得
 
GX_FORCE_INLINE void setPropertyAddressW (const void *const pValue)
 Wアドレスを設定
 
GX_FORCE_INLINE void getPropertyBorderColor (void *const pValue)
 境界色を取得
 
GX_FORCE_INLINE void setPropertyBorderColor (const void *const pValue)
 境界色を設定
 
GX_FORCE_INLINE void getPropertyMagFilter (void *const pValue)
 Magフィルターを取得
 
GX_FORCE_INLINE void setPropertyMagFilter (const void *const pValue)
 Magフィルターを設定
 
GX_FORCE_INLINE void getPropertyMinFilter (void *const pValue)
 Minフィルターを取得
 
GX_FORCE_INLINE void setPropertyMinFilter (const void *const pValue)
 Minフィルターを設定
 
GX_FORCE_INLINE void getPropertyMipmapFilter (void *const pValue)
 ミップマップフィルターを取得
 
GX_FORCE_INLINE void setPropertyMipmapFilter (const void *const pValue)
 ミップマップフィルターを設定
 
GX_FORCE_INLINE void getPropertyMipmapLodBias (void *const pValue)
 ミップマップLODバイアスを取得
 
GX_FORCE_INLINE void setPropertyMipmapLodBias (const void *const pValue)
 ミップマップLODバイアスを設定
 
GX_FORCE_INLINE void getPropertyMipmapLevelMax (void *const pValue)
 ミップマップ最大レベルを取得
 
GX_FORCE_INLINE void setPropertyMipmapLevelMax (const void *const pValue)
 ミップマップ最大レベルを設定
 
GX_FORCE_INLINE void getPropertyAnisotropyMax (void *const pValue)
 最大Anisotropyを取得
 
GX_FORCE_INLINE void setPropertyAnisotropyMax (const void *const pValue)
 最大Anisotropyを設定
 
GX_FORCE_INLINE void getPropertyComparison (void *const pValue)
 Comparisonを取得
 
GX_FORCE_INLINE void setPropertyComparison (const void *const pValue)
 Comparisonを設定
 

Public Attributes

メンバ変数
union { 
 
   struct { 
 
      u32   _reserve:1 
 予備
 
      RENDER_SAMPLER_COMPARISON   _comparison:1 
 ComparisonState.
 
      RENDER_SAMPLER_ANISOTROPY_MAX   _anisotropyMax:3 
 異方性フィルタの最大
 
      u32   _mipmapLevelMax:4 
 使用するミップマップの最大インデックス(最大-最小(0-(n-1)))
 
      s32   _mipmapLodBias:10 
 ミップマップのLODバイアス(整数5bit,小数5bit)
 
      RENDER_SAMPLER_FILTER   _mipmapFilter:2 
 ミップマップフィルタ
 
      RENDER_SAMPLER_FILTER   _minFilter:2 
 縮小フィルタ
 
      RENDER_SAMPLER_FILTER   _magFilter:2 
 拡大フィルタ
 
      RENDER_SAMPLER_BORDER_COLOR   _borderColor:1 
 ボーダーカラー
 
      RENDER_SAMPLER_ADDRESS_MODE   _addressW:2 
 W座標のアドレッシングモード
 
      RENDER_SAMPLER_ADDRESS_MODE   _addressV:2 
 V座標のアドレッシングモード
 
      RENDER_SAMPLER_ADDRESS_MODE   _addressU:2 
 U座標のアドレッシングモード
 
   }  
 
   u32   _access32 
 データ
 
};  
 

Static Public Attributes

定義
static const GxRenderSamplerState DEFAULT
 デフォルト値
 
static const GX_CSTR TEXT_ADDRESS_U = "U座標のアドレッシングモード"
 
static const GX_CSTR TEXT_ADDRESS_V = "V座標のアドレッシングモード"
 
static const GX_CSTR TEXT_ADDRESS_W = "W座標のアドレッシングモード"
 
static const GX_CSTR TEXT_BORDER_COLOR = "ボーダーカラー"
 
static const GX_CSTR TEXT_MAG_FILTER = "拡大フィルタ"
 
static const GX_CSTR TEXT_MIN_FILTER = "縮小フィルタ"
 
static const GX_CSTR TEXT_MIPMAP_FILTER = "ミップマップフィルタ"
 
static const GX_CSTR TEXT_MIPMAP_LOD_BIAS = "ミップマップのLODバイアス"
 
static const GX_CSTR TEXT_MIPMAP_LEVEL_MAX = "ミップマップの最大インデックス"
 
static const GX_CSTR TEXT_ANISOTROPHY_MAX = "異方性フィルタの最大"
 

Additional Inherited Members

- Static Public Member Functions inherited from GxStructBase
static GxRtti__getStaticRtti (void)
 

Detailed Description

サンプラステート

Constructor & Destructor Documentation

◆ GxRenderSamplerState()

GxRenderSamplerState::GxRenderSamplerState ( RENDER_SAMPLER_ADDRESS_MODE addressU,
RENDER_SAMPLER_ADDRESS_MODE addressV,
RENDER_SAMPLER_ADDRESS_MODE addressW,
RENDER_SAMPLER_BORDER_COLOR borderColor,
RENDER_SAMPLER_FILTER magFilter,
RENDER_SAMPLER_FILTER minFilter,
RENDER_SAMPLER_FILTER mipmapFilter,
u32 mipmapLodBias,
u32 mipmapLevelMax,
RENDER_SAMPLER_ANISOTROPY_MAX anisotropyMax )

コンストラクタ

Parameters
addressU[in] U座標のアドレッシングモード
addressV[in] V座標のアドレッシングモード
addressW[in] W座標のアドレッシングモード
borderColor[in] ボーダーカラー
magFilter[in] 拡大フィルタ
minFilter[in] 縮小フィルタ
mipmapFilter[in] ミップマップフィルタ
mipmapLodBias[in] ミップマップのLODバイアス(整数5bit,小数5bit)
mipmapLevelMax[in] 使用するミップマップの最大インデックス(最大-最小(0-(n-1)))
anisotropyMax[in] 異方性フィルタの最大

The documentation for this struct was generated from the following files: