STexSamplerFX

C++
struct STexSamplerFX {
  string m_szName;
  string m_szTexture;
  union {
    struct SHRenderTarget * m_pTarget;
    IRenderTarget * m_pITarget;
  };
  int16 m_nTexState;
  byte m_eTexType;
  byte m_nSlotId;
  uint32 m_nTexFlags;
};
File

IShader.h

Description

FX shader texture sampler (description)

STexSamplerFX::m_eTexType Data Member
C++
byte m_eTexType;
Description

ETEX_Type e.g. eTT_2D or eTT_Cube

STexSamplerFX::m_nSlotId Data Member
C++
byte m_nSlotId;
Description

EFTT_ index if it references one of the material texture slots, EFTT_MAX otherwise

STexSamplerFX::m_nTexFlags Data Member
C++
uint32 m_nTexFlags;
STexSamplerFX::m_nTexState Data Member
C++
int16 m_nTexState;
STexSamplerFX::m_szName Data Member
C++
string m_szName;
STexSamplerFX::m_szTexture Data Member
C++
string m_szTexture;
STexSamplerFX::!= Operator
C++
_inline friend bool operator !=(const STexSamplerFX & m1, const STexSamplerFX & m2);
STexSamplerFX::~STexSamplerFX Destructor
C++
STexSamplerFX::= Operator
C++
NO_INLINE STexSamplerFX& operator =(const STexSamplerFX& src);
STexSamplerFX::== Operator
C++
_inline bool operator ==(const STexSamplerFX & m1);
STexSamplerFX::Export Method
C++
bool Export(SShaderSerializeContext& SC);
STexSamplerFX::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer * pSizer) const;
STexSamplerFX::GetTexFlags Method
C++
uint32 GetTexFlags();
STexSamplerFX::Import Method
C++
bool Import(SShaderSerializeContext& SC, SSTexSamplerFX * pTS);
STexSamplerFX::PostLoad Method
C++
void PostLoad();
STexSamplerFX::Size Method
C++
int Size();
STexSamplerFX::STexSamplerFX Constructor ()
C++
STexSamplerFX();
STexSamplerFX::STexSamplerFX Constructor (STexSamplerFX&)
C++
NO_INLINE STexSamplerFX(const STexSamplerFX& src);
STexSamplerFX::Update Method
C++
void Update();