31 read_subchunks_iff(in, stop_at);
39 write(std::ostream &out,
int indent_level)
const {
42 indent(out, indent_level + 2)
43 <<
"index = " << _index <<
"\n";
44 write_chunks(out, indent_level + 2);
55 if (
id ==
IffId(
"STIL")) {
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
virtual IffChunk * make_new_chunk(IffInputFile *in, IffId id)
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the con...
IffId get_id() const
Returns the ID associated with this chunk.
A four-byte chunk ID appearing in an "IFF" file.
virtual IffChunk * make_new_chunk(IffInputFile *in, IffId id)
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the con...
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
A single still image associated with a LwoClip chunk.
TypeHandle is the identifier used to differentiate C++ class types.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.