struct STexState { struct { signed char m_nMinFilter : 8; signed char m_nMagFilter : 8; signed char m_nMipFilter : 8; signed char m_nAddressU : 8; signed char m_nAddressV : 8; signed char m_nAddressW : 8; signed char m_nAnisotropy : 8; signed char padding : 8; }; DWORD m_dwBorderColor; void * m_pDeviceState; bool m_bActive; bool m_bComparison; bool m_bSRGBLookup; byte m_bPAD; };
IShader.h
bool m_bActive;
bool m_bComparison;
byte m_bPAD;
bool m_bSRGBLookup;
DWORD m_dwBorderColor;
void * m_pDeviceState;
~STexState();
void PostCreate();
void Release();
void SetBorderColor(DWORD dwColor);
bool SetClampMode(int nAddressU, int nAddressV, int nAddressW);
void SetComparisonFilter(bool bEnable);
bool SetFilterMode(int nFilter);
STexState();
STexState(const STexState& src);
STexState(int nFilter, bool bClamp);
STexState(int nFilter, int nAddressU, int nAddressV, int nAddressW, unsigned int borderColor);