15 #ifndef FLTLOCALVERTEXPOOL_H 16 #define FLTLOCALVERTEXPOOL_H 18 #include "pandatoolbase.h" 20 #include "fltRecord.h" 21 #include "fltHeader.h" 22 #include "fltVertex.h" 24 #include "pointerTo.h" 38 AM_has_position = 0x80000000,
39 AM_has_color_index = 0x40000000,
40 AM_has_packed_color = 0x20000000,
41 AM_has_normal = 0x10000000,
42 AM_has_base_uv = 0x08000000,
43 AM_has_uv_1 = 0x04000000,
44 AM_has_uv_2 = 0x02000000,
45 AM_has_uv_3 = 0x01000000,
46 AM_has_uv_4 = 0x00800000,
47 AM_has_uv_5 = 0x00400000,
48 AM_has_uv_6 = 0x00200000,
49 AM_has_uv_7 = 0x00100000
61 return get_class_type();
63 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 static void init_type() {
68 FltRecord::init_type();
69 register_type(_type_handle,
"FltLocalVertexPool",
70 FltRecord::get_class_type());
77 #include "fltLocalVertexPool.I" This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly...
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
A local vertex pool, as might appear in the middle of the hierarchy, for instance for a mesh...
virtual bool extract_record(FltRecordReader &reader)
Fills in the information in this bead based on the information given in the indicated datagram...
The base class for all kinds of records in a MultiGen OpenFlight file.
TypeHandle is the identifier used to differentiate C++ class types.
virtual bool build_record(FltRecordWriter &writer) const
Fills up the current record on the FltRecordWriter with data for this record, but does not advance th...