From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/struct_material.html | 857 ++++++++++++++++++++++++++++++++++ 1 file changed, 857 insertions(+) create mode 100644 Doc/doxygen/html/struct_material.html (limited to 'Doc/doxygen/html/struct_material.html') diff --git a/Doc/doxygen/html/struct_material.html b/Doc/doxygen/html/struct_material.html new file mode 100644 index 0000000..7b60857 --- /dev/null +++ b/Doc/doxygen/html/struct_material.html @@ -0,0 +1,857 @@ + + + + + +Starshatter_Open: Material Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ +

#include <Polygon.h>

+ +

List of all members.

+ + + + +

+Public Types

enum  BLEND_TYPE { MTL_SOLID = 1, +MTL_TRANSLUCENT = 2, +MTL_ADDITIVE = 4 + }
enum  { NAMELEN = 32 + }
+ + + + + + + + + + + +

+Public Member Functions

 Material ()
 ~Material ()
int operator== (const Material &m) const
void Clear ()
bool IsSolid () const
bool IsTranslucent () const
bool IsGlowing () const
const char * GetShader (int n) const
void CreateThumbnail (int size=128)
DWORD GetThumbColor (int i, int j, int size)
+ + +

+Static Public Member Functions

static const char * TYPENAME ()
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

char name [NAMELEN]
char shader [NAMELEN]
ColorValue Ka
ColorValue Kd
ColorValue Ks
ColorValue Ke
float power
float brilliance
float bump
DWORD blend
bool shadow
bool luminous
Bitmaptex_diffuse
Bitmaptex_specular
Bitmaptex_bumpmap
Bitmaptex_emissive
Bitmaptex_alternate
Bitmaptex_detail
Color ambient_color
Color diffuse_color
Color specular_color
Color emissive_color
float ambient_value
float diffuse_value
float specular_value
float emissive_value
Bitmapthumbnail
+

Detailed Description

+
+

Definition at line 58 of file Polygon.h.

+

Member Enumeration Documentation

+ +
+
+ + + + +
anonymous enum
+
+
Enumerator:
+ +
NAMELEN  +
+
+
+ +

Definition at line 63 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
enum Material::BLEND_TYPE
+
+
Enumerator:
+ + + +
MTL_SOLID  +
MTL_TRANSLUCENT  +
MTL_ADDITIVE  +
+
+
+ +

Definition at line 62 of file Polygon.h.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
Material::Material ()
+
+ +

Definition at line 474 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + + + +
Material::~Material ()
+
+ +

Definition at line 491 of file Polygon.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
void Material::Clear ()
+
+ +

Definition at line 537 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Material::CreateThumbnail (int size = 128)
+
+ +

Definition at line 599 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const char * Material::GetShader (int n) const
+
+ +

Definition at line 562 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
DWORD Material::GetThumbColor (int i,
int j,
int size 
)
+
+ +

Definition at line 623 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Material::IsGlowing () const
+
+inline
+
+ +

Definition at line 95 of file Polygon.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Material::IsSolid () const
+
+inline
+
+ +

Definition at line 93 of file Polygon.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Material::IsTranslucent () const
+
+inline
+
+ +

Definition at line 94 of file Polygon.h.

+ +
+
+ +
+
+ + + + + + + + +
int Material::operator== (const Materialm) const
+
+ +

Definition at line 511 of file Polygon.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static const char* Material::TYPENAME ()
+
+inlinestatic
+
+ +

Definition at line 60 of file Polygon.h.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
Color Material::ambient_color
+
+ +

Definition at line 102 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::ambient_value
+
+ +

Definition at line 107 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
DWORD Material::blend
+
+ +

Definition at line 82 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::brilliance
+
+ +

Definition at line 80 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::bump
+
+ +

Definition at line 81 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Color Material::diffuse_color
+
+ +

Definition at line 103 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::diffuse_value
+
+ +

Definition at line 108 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Color Material::emissive_color
+
+ +

Definition at line 105 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::emissive_value
+
+ +

Definition at line 110 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
ColorValue Material::Ka
+
+ +

Definition at line 75 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
ColorValue Material::Kd
+
+ +

Definition at line 76 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
ColorValue Material::Ke
+
+ +

Definition at line 78 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
ColorValue Material::Ks
+
+ +

Definition at line 77 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
bool Material::luminous
+
+ +

Definition at line 84 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
char Material::name[NAMELEN]
+
+ +

Definition at line 72 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::power
+
+ +

Definition at line 79 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
char Material::shader[NAMELEN]
+
+ +

Definition at line 73 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
bool Material::shadow
+
+ +

Definition at line 83 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Color Material::specular_color
+
+ +

Definition at line 104 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
float Material::specular_value
+
+ +

Definition at line 109 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_alternate
+
+ +

Definition at line 90 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_bumpmap
+
+ +

Definition at line 88 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_detail
+
+ +

Definition at line 91 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_diffuse
+
+ +

Definition at line 86 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_emissive
+
+ +

Definition at line 89 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::tex_specular
+
+ +

Definition at line 87 of file Polygon.h.

+ +
+
+ +
+
+ + + + +
Bitmap* Material::thumbnail
+
+ +

Definition at line 112 of file Polygon.h.

+ +
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.1