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")) {
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
A single still image associated with a LwoClip chunk.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
IffId get_id() const
Returns the ID associated with this chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.