SDeferredDecal

C++
struct SDeferredDecal {
  Matrix34 projMatrix;
  IMaterial * pMaterial;
  float fAlpha;
  float fGrowAlphaRef;
  RectF rectTexture;
  uint32 nFlags;
  uint8 nSortOrder;
};
File

IShader.h

SDeferredDecal::fAlpha Data Member
C++
float fAlpha;
Description

transparency of decal, used mostly for distance fading

SDeferredDecal::fGrowAlphaRef Data Member
C++
float fGrowAlphaRef;
SDeferredDecal::nFlags Data Member
C++
uint32 nFlags;
SDeferredDecal::nSortOrder Data Member
C++
uint8 nSortOrder;
Description

user defined sort order

SDeferredDecal::pMaterial Data Member
C++
IMaterial * pMaterial;
Description

decal material

SDeferredDecal::projMatrix Data Member
C++
Matrix34 projMatrix;
Description

defines where projection should be applied in the world

SDeferredDecal::rectTexture Data Member
C++
RectF rectTexture;
Description

subset of texture to render

SDeferredDecal::SDeferredDecal Constructor
C++
SDeferredDecal();