#include <lightAttrib.h>
Inheritance diagram for LightAttrib:
Public Member Functions | |
virtual void | issue (GraphicsStateGuardianBase *gsg) const |
virtual void | output (ostream &out) const |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
virtual int | complete_pointers (TypedWritable **plist, BamReader *manager) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
void | register_with_read_factory () |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual int | compare_to_impl (const RenderAttrib *other) const |
virtual | CPT (RenderAttrib) compose_impl(const RenderAttrib *other) const |
virtual | CPT (RenderAttrib) invert_compose_impl(const RenderAttrib *other) const |
virtual RenderAttrib * | make_default_impl () const |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
Private Types | |
typedef ov_set< PT(Light) | Lights ) |
Private Member Functions | |
INLINE | LightAttrib () |
INLINE Operation | get_operation () const |
INLINE int | get_num_lights () const |
INLINE Light * | get_light (int n) const |
bool | has_light (Light *light) const |
INLINE | CPT (RenderAttrib) add_light(Light *light) const |
INLINE | CPT (RenderAttrib) remove_light(Light *light) const |
INLINE bool | is_identity () const |
INLINE bool | is_all_off () const |
CPT (RenderAttrib) do_add(const LightAttrib *other | |
CPT (RenderAttrib) do_remove(const LightAttrib *other | |
Static Private Member Functions | |
CPT (RenderAttrib) make_all_off() | |
CPT (RenderAttrib) make(Operation op | |
CPT (RenderAttrib) make(Operation op | |
CPT (RenderAttrib) make(Operation op | |
CPT (RenderAttrib) make(Operation op | |
Private Attributes | |
PUBLISHED | __pad0__: enum Operation { O_set |
PUBLISHED | O_add |
PUBLISHED | O_remove |
Light * | light |
Light * | light1 |
Light Light * | light2 |
Light * | light1 |
Light Light * | light2 |
Light Light Light * | light3 |
Light * | light1 |
Light Light * | light2 |
Light Light Light * | light3 |
Light Light Light Light * | light4 |
Operation op | const |
Operation | _operation |
Lights | _lights |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 86 of file lightAttrib.h. |
|
|
|
Reimplemented from RenderAttrib. Definition at line 184 of file lightAttrib.cxx. References _lights, _operation, DCAST_INTO_R, and light. |
|
Reimplemented from TypedWritable. Definition at line 438 of file lightAttrib.cxx. References _lights, PandaNode::as_light(), TypedWritable::complete_pointers(), and DCAST_INTO_R. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. Definition at line 479 of file lightAttrib.cxx. References _lights, _operation, RenderAttrib::fillin(), DatagramIterator::get_int8(), DatagramIterator::get_uint16(), NULL, and BamReader::read_pointer(). Referenced by make_from_bam(). |
|
Reimplemented from RenderAttrib. Definition at line 110 of file lightAttrib.h. References RenderAttrib::get_class_type(), and RenderAttrib::init_type(). |
|
Reimplemented from RenderAttrib. Definition at line 99 of file lightAttrib.h. Referenced by register_with_read_factory(), and WindowFramework::set_lighting(). |
|
Referenced by GraphicsStateGuardian::issue_light(). |
|
Referenced by GraphicsStateGuardian::issue_light(). |
|
Referenced by GraphicsStateGuardian::issue_light(). |
|
Reimplemented from RenderAttrib. Definition at line 107 of file lightAttrib.h. References RenderAttrib::get_class_type(). Referenced by output(). |
|
Definition at line 119 of file lightAttrib.cxx. References _lights. Referenced by GraphicsStateGuardian::issue_light(). |
|
Reimplemented from RenderAttrib. Definition at line 102 of file lightAttrib.h. References RenderAttrib::get_class_type(), RenderAttrib::init_type(), and register_type(). Referenced by init_libpgraph(). |
|
|
|
|
|
Reimplemented from RenderAttrib. Definition at line 133 of file lightAttrib.cxx. References GraphicsStateGuardianBase::issue_light(). |
|
Implements RenderAttrib. Definition at line 293 of file lightAttrib.cxx. |
|
Definition at line 460 of file lightAttrib.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Definition at line 143 of file lightAttrib.cxx. References _lights, _operation, Light::get_type(), get_type(), light, O_add, and O_remove. |
|
Definition at line 404 of file lightAttrib.cxx. References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory(). Referenced by init_libpgraph(). |
|
Reimplemented from RenderAttrib. Definition at line 415 of file lightAttrib.cxx. References _lights, _operation, Datagram::add_int8(), Datagram::add_uint16(), Light::as_node(), light, PN_uint16, RenderAttrib::write_datagram(), and BamWriter::write_pointer(). |
|
Reimplemented from RenderAttrib. Definition at line 41 of file lightAttrib.h. |
|
Definition at line 87 of file lightAttrib.h. Referenced by compare_to_impl(), complete_pointers(), fillin(), has_light(), output(), and write_datagram(). |
|
Definition at line 85 of file lightAttrib.h. Referenced by compare_to_impl(), CPT(), fillin(), output(), and write_datagram(). |
|
Reimplemented from RenderAttrib. Definition at line 27 of file lightAttrib.cxx. |
|
Definition at line 82 of file lightAttrib.h. |
|
Definition at line 48 of file lightAttrib.h. Referenced by compare_to_impl(), output(), and write_datagram(). |
|
Definition at line 55 of file lightAttrib.h. |
|
Definition at line 52 of file lightAttrib.h. |
|
Definition at line 50 of file lightAttrib.h. |
|
Definition at line 55 of file lightAttrib.h. |
|
Definition at line 52 of file lightAttrib.h. |
|
Definition at line 50 of file lightAttrib.h. |
|
Definition at line 55 of file lightAttrib.h. |
|
Definition at line 52 of file lightAttrib.h. |
|
Definition at line 55 of file lightAttrib.h. |
|
Definition at line 41 of file lightAttrib.h. Referenced by output(), and WindowFramework::set_lighting(). |
|
Definition at line 41 of file lightAttrib.h. Referenced by GraphicsStateGuardian::issue_light(), and output(). |