Public Types |
| enum | Flags { F_materials_used = 0x80000000
} |
Public Member Functions |
|
| FltMaterial (FltHeader *header) |
| bool | build_14_record (Datagram &datagram) |
| | Fills up the current record on the FltRecordWriter with data for this record, formatted as a part of a v14 material palette.
|
| bool | extract_14_record (int index, DatagramIterator &di) |
| | Fills in the information in this record based on the information from the current position within the v14 material palette.
|
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Public Attributes |
|
PN_stdfloat | _alpha |
|
LRGBColor | _ambient |
|
LRGBColor | _diffuse |
|
LRGBColor | _emissive |
|
unsigned int | _flags |
|
int | _material_index |
|
string | _material_name |
|
PN_stdfloat | _shininess |
|
LRGBColor | _specular |
Protected Member Functions |
| virtual bool | build_record (FltRecordWriter &writer) const |
| | Fills up the current record on the FltRecordWriter with data for this record, but does not advance the writer.
|
| virtual bool | extract_record (FltRecordReader &reader) |
| | Fills in the information in this record based on the information given in the indicated datagram, whose opcode has already been read.
|
Friends |
|
class | FltHeader |
Represents a single material in the material palette.
Definition at line 30 of file fltMaterial.h.