#include <renderAttrib.h>
Inheritance diagram for RenderAttrib:
Public Types | |
enum | PandaCompareFunc { M_none = 0, M_never, M_less, M_equal, M_less_equal, M_greater, M_not_equal, M_greater_equal, M_always } |
Public Member Functions | |
virtual | ~RenderAttrib () |
INLINE | CPT (RenderAttrib) compose(const RenderAttrib *other) const |
INLINE | CPT (RenderAttrib) invert_compose(const RenderAttrib *other) const |
INLINE | CPT (RenderAttrib) make_default() const |
INLINE int | compare_to (const RenderAttrib &other) const |
virtual void | issue (GraphicsStateGuardianBase *gsg) const |
virtual void | write (ostream &out, int indent_level) const |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
virtual void | finalize () |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypedWritable * | change_this (TypedWritable *old_ptr, BamReader *manager) |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad0__: virtual void output(ostream &out) const |
Protected Member Functions | |
RenderAttrib () | |
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=0 |
void | output_comparefunc (ostream &out, PandaCompareFunc fn) const |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
CPT (RenderAttrib) return_new(RenderAttrib *attrib) | |
TypedWritable * | new_from_bam (RenderAttrib *attrib, BamReader *manager) |
Private Types | |
typedef pset< const RenderAttrib *, IndirectCompareTo< RenderAttrib > > | Attribs |
Private Member Functions | |
RenderAttrib (const RenderAttrib ©) | |
void | operator= (const RenderAttrib ©) |
Private Attributes | |
Attribs::iterator | _saved_entry |
Static Private Attributes | |
Attribs * | _attribs = NULL |
TypeHandle | _type_handle |
|
Definition at line 99 of file renderAttrib.h. Referenced by RenderAttrib(). |
|
Definition at line 78 of file renderAttrib.h. Referenced by GLGraphicsStateGuardian::issue_alpha_test(), DXGraphicsStateGuardian8::issue_alpha_test(), GLGraphicsStateGuardian::issue_depth_test(), DXGraphicsStateGuardian8::issue_depth_test(), DXGraphicsStateGuardian7::prepare_texture(), and NodePath::set_depth_test(). |
|
Definition at line 32 of file renderAttrib.cxx. References _attribs, _saved_entry, Attribs, and NULL. |
|
Definition at line 50 of file renderAttrib.cxx. |
|
Definition at line 71 of file renderAttrib.cxx. References _attribs, and _saved_entry. |
|
Definition at line 265 of file renderAttrib.cxx. References CPT(), DCAST, pointer, and BamReader::register_finalize(). Referenced by fillin(). |
|
|
|
Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 186 of file renderAttrib.cxx. |
|
|
|
Reimplemented in ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ColorAttrib, CullFaceAttrib, FogAttrib, LightAttrib, LightAttrib, LightAttrib, LightAttrib, LightAttrib, MaterialAttrib, and TextureAttrib. |
|
|
|
Reimplemented in ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ClipPlaneAttrib, ColorAttrib, ColorScaleAttrib, ColorScaleAttrib, CullFaceAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthOffsetAttrib, LightAttrib, LightAttrib, LightAttrib, LightAttrib, LightAttrib, LightAttrib, TexMatrixAttrib, and TexMatrixAttrib. Referenced by change_this(). |
|
|
Reimplemented from TypedWritable. Definition at line 292 of file renderAttrib.cxx. References ReferenceCount::unref(). |
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 125 of file renderAttrib.h. References ReferenceCount::get_class_type(), and TypedWritableReferenceCount::init_type(). |
|
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 122 of file renderAttrib.h. References ReferenceCount::get_class_type(). |
|
|
Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 102 of file renderAttrib.cxx. |
|
Implemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 238 of file renderAttrib.cxx. References NULL. |
|
|
|
Definition at line 60 of file renderAttrib.cxx. |
|
Definition at line 116 of file renderAttrib.cxx. References M_always. Referenced by DepthTestAttrib::output(), and AlphaTestAttrib::output(). |
|
Definition at line 127 of file renderAttrib.cxx. References indent(). |
|
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 75 of file renderAttrib.h. |
|
Definition at line 23 of file renderAttrib.cxx. Referenced by RenderAttrib(), and ~RenderAttrib(). |
|
Definition at line 102 of file renderAttrib.h. Referenced by CPT(), RenderAttrib(), and ~RenderAttrib(). |
|
Reimplemented from TypedWritableReferenceCount. Reimplemented in AlphaTestAttrib, ClipPlaneAttrib, ColorAttrib, ColorBlendAttrib, ColorScaleAttrib, ColorWriteAttrib, CullBinAttrib, CullFaceAttrib, DepthOffsetAttrib, DepthTestAttrib, DepthWriteAttrib, FogAttrib, LightAttrib, MaterialAttrib, RenderModeAttrib, TexMatrixAttrib, TextureApplyAttrib, TextureAttrib, and TransparencyAttrib. Definition at line 24 of file renderAttrib.cxx. |