Go to the documentation of this file.
14 #ifndef AUXBITPLANEATTRIB_H
15 #define AUXBITPLANEATTRIB_H
54 enum AuxBitplaneOutput {
64 INLINE
int get_outputs()
const;
67 MAKE_PROPERTY(outputs, get_outputs);
70 virtual void output(std::ostream &out)
const;
73 virtual int compare_to_impl(
const RenderAttrib *other)
const;
74 virtual size_t get_hash_impl()
const;
82 static int get_class_slot() {
85 virtual int get_slot()
const {
86 return get_class_slot();
88 MAKE_PROPERTY(class_slot, get_class_slot);
91 static void register_with_read_factory();
102 static void init_type() {
103 RenderAttrib::init_type();
105 RenderAttrib::get_class_type());
109 return get_class_type();
111 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
115 static int _attrib_slot;
Modern frame buffers can have 'aux' bitplanes, which are additional bitplanes above and beyond the st...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
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 the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class for a number of render attributes (other than transform) that may be set on sc...
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
TypeHandle is the identifier used to differentiate C++ class types.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
static int register_slot(TypeHandle type_handle, int sort, RenderAttrib *default_attrib)
Adds the indicated TypeHandle to the registry, if it is not there already, and returns a unique slot ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.