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

#include <shdcubemap.h>

Inherits ShdDefClass.

Public Member Functions

 DECLARE_EDITABLE (ShdCubeMapDefClass, ShdDefClass)
 
 ShdCubeMapDefClass ()
 
 ShdCubeMapDefClass (const ShdCubeMapDefClass &that)
 
virtual ~ShdCubeMapDefClass ()
 
virtual ShdDefClassClone () const
 
virtual void Init ()
 
virtual void Shutdown ()
 
virtual ShdInterfaceClassCreate () const
 
virtual bool Is_Valid_Config (StringClass &message)
 
virtual bool Requires_Normals () const
 
virtual bool Requires_Tangent_Space_Vectors () const
 
virtual bool Requires_Sorting () const
 
virtual int Static_Sort_Index () const
 
virtual bool Save (ChunkSaveClass &csave)
 Serialize this ShdDef into a chunk saver.
 
virtual bool Load (ChunkLoadClass &cload)
 Load this ShdDef from a chunk loader.
 
void Set_Texture_Name (const StringClass &name)
 
const StringClassGet_Texture_Name () const
 
void Set_Ambient (const Vector3 &ambient)
 
const Vector3Get_Ambient () const
 
void Set_Diffuse (const Vector3 &diffuse)
 
const Vector3Get_Diffuse () const
 
void Set_Specular (const Vector3 &specular)
 
const Vector3Get_Specular () const
 
- Public Member Functions inherited from ShdDefClass
 DECLARE_EDITABLE (ShdDefClass, EditableClass)
 
 ShdDefClass (uint32 class_id)
 
 ShdDefClass (const ShdDefClass &that)
 
virtual ~ShdDefClass (void)
 
virtual void Reset (void)
 
WWINLINE uint32 Get_Class_ID (void) const
 
const char * Get_Name (void) const
 
void Set_Name (const char *new_name)
 
int Get_Surface_Type (void) const
 
void Set_Surface_Type (int t)
 
virtual bool Uses_Vertex_Alpha (void) const
 
virtual bool Uses_UV_Channel (int i) const
 
virtual bool Uses_Vertex_Colors (void) const
 
- Public Member Functions inherited from EditableClass
virtual int Get_Parameter_Count (void) const
 
virtual ParameterClassLock_Parameter (int i)
 
virtual void Unlock_Parameter (int i)
 
- 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)
 

Additional Inherited Members

- 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 Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 50 of file shdcubemap.h.

Constructor & Destructor Documentation

◆ ShdCubeMapDefClass() [1/2]

ShdCubeMapDefClass::ShdCubeMapDefClass ( )

Definition at line 72 of file shdcubemap.cpp.

◆ ShdCubeMapDefClass() [2/2]

ShdCubeMapDefClass::ShdCubeMapDefClass ( const ShdCubeMapDefClass & that)

Definition at line 85 of file shdcubemap.cpp.

◆ ~ShdCubeMapDefClass()

ShdCubeMapDefClass::~ShdCubeMapDefClass ( )
virtual

Definition at line 94 of file shdcubemap.cpp.

Member Function Documentation

◆ Clone()

virtual ShdDefClass * ShdCubeMapDefClass::Clone ( void ) const
inlinevirtual

Implements ShdDefClass.

Definition at line 63 of file shdcubemap.h.

◆ Create()

ShdInterfaceClass * ShdCubeMapDefClass::Create ( void ) const
virtual

Implements ShdDefClass.

Definition at line 174 of file shdcubemap.cpp.

◆ DECLARE_EDITABLE()

ShdCubeMapDefClass::DECLARE_EDITABLE ( ShdCubeMapDefClass ,
ShdDefClass  )

◆ Get_Ambient()

const Vector3 & ShdCubeMapDefClass::Get_Ambient ( ) const
inline

Definition at line 87 of file shdcubemap.h.

◆ Get_Diffuse()

const Vector3 & ShdCubeMapDefClass::Get_Diffuse ( ) const
inline

Definition at line 90 of file shdcubemap.h.

◆ Get_Specular()

const Vector3 & ShdCubeMapDefClass::Get_Specular ( ) const
inline

Definition at line 93 of file shdcubemap.h.

◆ Get_Texture_Name()

const StringClass & ShdCubeMapDefClass::Get_Texture_Name ( ) const
inline

Definition at line 84 of file shdcubemap.h.

◆ Init()

void ShdCubeMapDefClass::Init ( )
virtual

Implements ShdDefClass.

Definition at line 164 of file shdcubemap.cpp.

◆ Is_Valid_Config()

bool ShdCubeMapDefClass::Is_Valid_Config ( StringClass & message)
virtual

Reimplemented from ShdDefClass.

Definition at line 98 of file shdcubemap.cpp.

◆ Load()

bool ShdCubeMapDefClass::Load ( ChunkLoadClass & cload)
virtual

Load this ShdDef from a chunk loader.

Parameters
cload- ChunkLoad object to read from

Reimplemented from ShdDefClass.

Definition at line 129 of file shdcubemap.cpp.

◆ Requires_Normals()

virtual bool ShdCubeMapDefClass::Requires_Normals ( void ) const
inlinevirtual

Reimplemented from ShdDefClass.

Definition at line 74 of file shdcubemap.h.

◆ Requires_Sorting()

virtual bool ShdCubeMapDefClass::Requires_Sorting ( void ) const
inlinevirtual

Reimplemented from ShdDefClass.

Definition at line 76 of file shdcubemap.h.

◆ Requires_Tangent_Space_Vectors()

virtual bool ShdCubeMapDefClass::Requires_Tangent_Space_Vectors ( void ) const
inlinevirtual

Reimplemented from ShdDefClass.

Definition at line 75 of file shdcubemap.h.

◆ Save()

bool ShdCubeMapDefClass::Save ( ChunkSaveClass & csave)
virtual

Serialize this ShdDef into a chunk saver.

Parameters
csave- ChunkSave object to write into

Reimplemented from ShdDefClass.

Definition at line 103 of file shdcubemap.cpp.

◆ Set_Ambient()

void ShdCubeMapDefClass::Set_Ambient ( const Vector3 & ambient)
inline

Definition at line 86 of file shdcubemap.h.

◆ Set_Diffuse()

void ShdCubeMapDefClass::Set_Diffuse ( const Vector3 & diffuse)
inline

Definition at line 89 of file shdcubemap.h.

◆ Set_Specular()

void ShdCubeMapDefClass::Set_Specular ( const Vector3 & specular)
inline

Definition at line 92 of file shdcubemap.h.

◆ Set_Texture_Name()

void ShdCubeMapDefClass::Set_Texture_Name ( const StringClass & name)
inline

Definition at line 83 of file shdcubemap.h.

◆ Shutdown()

void ShdCubeMapDefClass::Shutdown ( )
virtual

Implements ShdDefClass.

Definition at line 169 of file shdcubemap.cpp.

◆ Static_Sort_Index()

virtual int ShdCubeMapDefClass::Static_Sort_Index ( void ) const
inlinevirtual

Reimplemented from ShdDefClass.

Definition at line 77 of file shdcubemap.h.


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