Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
W3DShroudMaterialPassClass Class Reference

#include <W3DShroud.h>

Inherits MaterialPassClass.

Public Member Functions

 W3DShroudMaterialPassClass (void)
 
virtual void Install_Materials (void) const
 Set render states required to draw shroud pass.
 
virtual void UnInstall_Materials (void) const
 Restore render states that W3D doesn't know about.
 
void enableTransparentObjectPass (Bool enable)
 
- Public Member Functions inherited from MaterialPassClass
 MaterialPassClass (void)
 
 ~MaterialPassClass (void)
 
void Set_Texture (TextureClass *Texture, int stage=0)
 reset/cleanup D3D states
 
void Set_Shader (ShaderClass shader)
 
void Set_Material (VertexMaterialClass *mat)
 
TextureClassGet_Texture (int stage=0) const
 
VertexMaterialClassGet_Material (void) const
 
TextureClassPeek_Texture (int stage=0) const
 
ShaderClass Peek_Shader (void) const
 
VertexMaterialClassPeek_Material (void) const
 
void Set_Cull_Volume (OBBoxClass *volume)
 
OBBoxClassGet_Cull_Volume (void) const
 
void Enable_On_Translucent_Meshes (bool onoff)
 
bool Is_Enabled_On_Translucent_Meshes (void)
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Protected Attributes

Bool m_isTransparentObjectPass
 
- Protected Attributes inherited from MaterialPassClass
TextureClassTexture [MAX_TEX_STAGES]
 
ShaderClass Shader
 
VertexMaterialClassMaterial
 
bool EnableOnTranslucentMeshes
 
OBBoxClassCullVolume
 

Additional Inherited Members

- Static Public Member Functions inherited from MaterialPassClass
static void Enable_Per_Polygon_Culling (bool onoff)
 
static bool Is_Per_Polygon_Culling_Enabled (void)
 
- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Types inherited from MaterialPassClass
enum  { MAX_TEX_STAGES = 8 }
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 
- Static Protected Attributes inherited from MaterialPassClass
static bool EnablePerPolygonCulling = true
 

Detailed Description

Custom W3D material pass which has been modified to apply a shroud texture projection.

Definition at line 46 of file W3DShroud.h.

Constructor & Destructor Documentation

◆ W3DShroudMaterialPassClass()

W3DShroudMaterialPassClass::W3DShroudMaterialPassClass ( void )
inline

Definition at line 49 of file W3DShroud.h.

Member Function Documentation

◆ enableTransparentObjectPass()

void W3DShroudMaterialPassClass::enableTransparentObjectPass ( Bool enable)
inline

Definition at line 52 of file W3DShroud.h.

◆ Install_Materials()

void W3DShroudMaterialPassClass::Install_Materials ( void ) const
virtual

Set render states required to draw shroud pass.

Reimplemented from MaterialPassClass.

Definition at line 787 of file W3DShroud.cpp.

◆ UnInstall_Materials()

void W3DShroudMaterialPassClass::UnInstall_Materials ( void ) const
virtual

Restore render states that W3D doesn't know about.

Reimplemented from MaterialPassClass.

Definition at line 798 of file W3DShroud.cpp.

Member Data Documentation

◆ m_isTransparentObjectPass

Bool W3DShroudMaterialPassClass::m_isTransparentObjectPass
protected

Definition at line 55 of file W3DShroud.h.


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