14 #ifndef FLTLOCALVERTEXPOOL_H 15 #define FLTLOCALVERTEXPOOL_H 36 AM_has_position = 0x80000000,
37 AM_has_color_index = 0x40000000,
38 AM_has_packed_color = 0x20000000,
39 AM_has_normal = 0x10000000,
40 AM_has_base_uv = 0x08000000,
41 AM_has_uv_1 = 0x04000000,
42 AM_has_uv_2 = 0x02000000,
43 AM_has_uv_3 = 0x01000000,
44 AM_has_uv_4 = 0x00800000,
45 AM_has_uv_5 = 0x00400000,
46 AM_has_uv_6 = 0x00200000,
47 AM_has_uv_7 = 0x00100000
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
65 static void init_type() {
66 FltRecord::init_type();
68 FltRecord::get_class_type());
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...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is our own Panda specialization on the default STL vector.
A local vertex pool, as might appear in the middle of the hierarchy, for instance for a mesh.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
Represents a single vertex in the vertex palette.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.