|
bool | auto_gloss_on () const |
|
bool | auto_glow_on () const |
|
bool | auto_normal_on () const |
|
bool | auto_ramp_on () const |
|
bool | auto_shader () const |
| If true, then this ShaderAttrib does not contain an explicit shader - instead, it requests the automatic generation of a shader. More...
|
|
bool | auto_shadow_on () const |
|
CPT(RenderAttrib) clear_shader_input(const std | CPT (RenderAttrib) clear_all_shader_inputs() const |
|
| CPT (RenderAttrib) clear_flag(int flag) const |
|
| CPT (RenderAttrib) clear_shader() const |
|
| CPT (RenderAttrib) clear_shader_input(const InternalName *id) const |
|
| CPT (RenderAttrib) set_flag(int flag |
|
| CPT (RenderAttrib) set_instance_count(int instance_count) const |
|
| CPT (RenderAttrib) set_shader(const Shader *s |
|
| CPT (RenderAttrib) set_shader_auto(BitMask32 shader_switch |
|
| CPT (RenderAttrib) set_shader_auto(int priority=0) const |
|
| CPT (RenderAttrib) set_shader_input(const ShaderInput &input) const |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(CPT_InternalName id |
|
| CPT (RenderAttrib) set_shader_input(ShaderInput &&input) const |
|
| CPT (RenderAttrib) set_shader_off(int priority=0) const |
|
virtual TypeHandle | force_init_type () |
|
bool | get_flag (int flag) const |
|
int | get_instance_count () const |
|
const Shader * | get_shader () const |
|
const ShaderInput & | get_shader_input (const InternalName *id) const |
|
const ShaderInput & | get_shader_input (const std::string &id) const |
|
ShaderBuffer * | get_shader_input_buffer (const InternalName *id) const |
|
const LMatrix4 & | get_shader_input_matrix (const InternalName *id, LMatrix4 &matrix) const |
|
const NodePath & | get_shader_input_nodepath (const InternalName *id) const |
|
const Shader::ShaderPtrData * | get_shader_input_ptr (const InternalName *id) const |
|
Texture * | get_shader_input_texture (const InternalName *id, SamplerState *sampler=nullptr) const |
|
LVecBase4 | get_shader_input_vector (InternalName *id) const |
|
int | get_shader_priority () const |
|
virtual int | get_slot () const |
|
virtual TypeHandle | get_type () const |
|
bool | has_shader () const |
| If true, the shader field of this attribute overrides the shader field of the parent attribute. More...
|
|
bool | has_shader_input (CPT_InternalName id) const |
| Returns true if there is a ShaderInput of the given name. More...
|
|
virtual void | output (std::ostream &out) const |
|
| RenderAttrib (const RenderAttrib ©)=delete |
|
virtual | ~RenderAttrib () |
| The destructor is responsible for removing the RenderAttrib from the global set if it is there. More...
|
|
int | compare_to (const RenderAttrib &other) const |
|
| CPT (RenderAttrib) compose(const RenderAttrib *other) const |
|
| CPT (RenderAttrib) get_unique() const |
|
| CPT (RenderAttrib) invert_compose(const RenderAttrib *other) const |
|
virtual bool | cull_callback (CullTraverser *trav, const CullTraverserData &data) const |
| If has_cull_callback() returns true, this function will be called during the cull traversal to perform any additional operations that should be performed at cull time. More...
|
|
virtual void | finalize (BamReader *manager) |
| Called by the BamReader to perform any final actions needed for setting up the object after all objects have been read and all pointers have been completed. More...
|
|
virtual TypeHandle | force_init_type () |
|
size_t | get_hash () const |
|
virtual int | get_slot () const =0 |
|
virtual TypeHandle | get_type () const |
|
virtual bool | has_cull_callback () const |
| Should be overridden by derived classes to return true if cull_callback() has been defined. More...
|
|
virtual bool | lower_attrib_can_override () const |
| Intended to be overridden by derived RenderAttrib types to specify how two consecutive RenderAttrib objects of the same type interact. More...
|
|
RenderAttrib & | operator= (const RenderAttrib ©)=delete |
|
virtual void | output (std::ostream &out) const |
|
virtual bool | unref () const final |
| This method overrides ReferenceCount::unref() to clear the pointer from the global object pool when its reference count goes to zero. More...
|
|
virtual void | write (std::ostream &out, int indent_level) const |
|
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
| Writes the contents of this object to the datagram for shipping out to a Bam file. More...
|
|
| TypedWritableReferenceCount (const TypedWritableReferenceCount ©) |
|
virtual ReferenceCount * | as_reference_count () |
| Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type. More...
|
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
|
void | operator= (const TypedWritableReferenceCount ©) |
|
| TypedWritable (const TypedWritable ©) |
|
virtual ReferenceCount * | as_reference_count () |
| Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type. More...
|
|
virtual int | complete_pointers (TypedWritable **p_list, BamReader *manager) |
| Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). More...
|
|
vector_uchar | encode_to_bam_stream () const |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and returns that data as a bytes object. More...
|
|
bool | encode_to_bam_stream (vector_uchar &data, BamWriter *writer=nullptr) const |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and stores that data in the indicated string. More...
|
|
virtual void | fillin (DatagramIterator &scan, BamReader *manager) |
| This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object. More...
|
|
virtual void | finalize (BamReader *manager) |
| Called by the BamReader to perform any final actions needed for setting up the object after all objects have been read and all pointers have been completed. More...
|
|
virtual TypeHandle | force_init_type () |
|
UpdateSeq | get_bam_modified () const |
| Returns the current bam_modified counter. More...
|
|
virtual TypeHandle | get_type () const |
|
void | mark_bam_modified () |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams. More...
|
|
void | operator= (const TypedWritable ©) |
|
virtual bool | require_fully_complete () const |
| Some objects require all of their nested pointers to have been completed before the objects themselves can be completed. More...
|
|
virtual void | update_bam_nested (BamWriter *manager) |
| Called by the BamWriter when this object has not itself been modified recently, but it should check its nested objects for updates. More...
|
|
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
| Writes the contents of this object to the datagram for shipping out to a Bam file. More...
|
|
| TypedObject (const TypedObject ©)=default |
|
TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
virtual TypeHandle | force_init_type ()=0 |
|
int | get_best_parent_from_Set (const std::set< int > &) const |
|
virtual TypeHandle | get_type () const =0 |
|
int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
|
|
bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly. More...
|
|
bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type. More...
|
|
TypedObject & | operator= (const TypedObject ©)=default |
|
void | operator delete (void *, void *) |
|
void | operator delete (void *ptr) |
|
void | operator delete[] (void *, void *) |
|
void | operator delete[] (void *ptr) |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t size, void *ptr) |
|
void * | operator new[] (size_t size) |
|
void * | operator new[] (size_t size, void *ptr) |
|
int | get_ref_count () const |
|
WeakReferenceList * | get_weak_list () const |
| Returns the WeakReferenceList associated with this ReferenceCount object. More...
|
|
bool | has_weak_list () const |
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. More...
|
|
void | local_object () |
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. More...
|
|
void | ref () const |
| Explicitly increments the reference count. More...
|
|
bool | ref_if_nonzero () const |
| Atomically increases the reference count of this object if it is not zero. More...
|
|
bool | test_ref_count_integrity () const |
| Does some easy checks to make sure that the reference count isn't completely bogus. More...
|
|
bool | test_ref_count_nonzero () const |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
|
|
virtual bool | unref () const |
| Explicitly decrements the reference count. More...
|
|
bool | unref_if_one () const |
| Atomically decreases the reference count of this object if it is one. More...
|
|
WeakReferenceList * | weak_ref () |
| Adds the indicated PointerToVoid as a weak reference to this object. More...
|
|
void | weak_unref () |
| Removes the indicated PointerToVoid as a weak reference to this object. More...
|
|