|
virtual bool | begin_draw_primitives (const GeomPipelineReader *geom_reader, const GeomVertexDataPipelineReader *data_reader, bool force)=0 |
|
virtual void | bind_light (DirectionalLight *light_obj, const NodePath &light, int light_id) |
|
virtual void | bind_light (PointLight *light_obj, const NodePath &light, int light_id) |
|
virtual void | bind_light (Spotlight *light_obj, const NodePath &light, int light_id) |
|
virtual void | clear_before_callback ()=0 |
|
virtual void | clear_state_and_transform ()=0 |
|
virtual PN_stdfloat | compute_distance_to (const LPoint3 &point) const =0 |
|
virtual | CPT (RenderState) begin_decal_base_first()=0 |
|
virtual | CPT (RenderState) begin_decal_base_second()=0 |
|
virtual | CPT (RenderState) begin_decal_nested()=0 |
|
virtual bool | depth_offset_decals ()=0 |
|
virtual void | dispatch_compute (int size_x, int size_y, int size_z)=0 |
|
virtual bool | draw_lines (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_lines_adj (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_linestrips (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_linestrips_adj (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_patches (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_points (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_triangles (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_triangles_adj (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_trifans (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_tristrips (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual bool | draw_tristrips_adj (const GeomPrimitivePipelineReader *reader, bool force)=0 |
|
virtual void | end_draw_primitives ()=0 |
|
virtual void | ensure_generated_shader (const RenderState *state)=0 |
|
virtual bool | extract_texture_data (Texture *tex)=0 |
|
virtual void | finish_decal ()=0 |
|
virtual TypeHandle | force_init_type () |
|
virtual bool | framebuffer_copy_to_ram (Texture *tex, int view, int z, const DisplayRegion *dr, const RenderBuffer &rb)=0 |
|
virtual bool | framebuffer_copy_to_texture (Texture *tex, int view, int z, const DisplayRegion *dr, const RenderBuffer &rb)=0 |
|
virtual bool | get_effective_incomplete_render () const =0 |
|
virtual bool | get_incomplete_render () const =0 |
|
virtual CoordinateSystem | get_internal_coordinate_system () const =0 |
|
virtual int | get_max_texture_dimension () const =0 |
|
virtual int | get_max_vertices_per_array () const =0 |
|
virtual int | get_max_vertices_per_primitive () const =0 |
|
virtual PreparedGraphicsObjects * | get_prepared_objects ()=0 |
|
virtual SceneSetup * | get_scene () const =0 |
|
virtual int | get_supported_geom_rendering () const =0 |
|
virtual bool | get_supports_compressed_texture_format (int compression_mode) const =0 |
|
virtual bool | get_supports_hlsl () const =0 |
|
virtual bool | get_supports_multisample () const =0 |
|
virtual bool | get_supports_shadow_filter () const =0 |
|
virtual bool | get_supports_texture_srgb () const =0 |
|
virtual TypeHandle | get_type () const |
|
virtual void | pop_group_marker () |
|
virtual bool | prefers_triangle_strips () const =0 |
|
virtual GeomContext * | prepare_geom (Geom *geom)=0 |
|
virtual IndexBufferContext * | prepare_index_buffer (GeomPrimitive *data)=0 |
|
virtual SamplerContext * | prepare_sampler (const SamplerState &sampler)=0 |
|
virtual ShaderContext * | prepare_shader (Shader *shader)=0 |
|
virtual BufferContext * | prepare_shader_buffer (ShaderBuffer *data)=0 |
|
virtual TextureContext * | prepare_texture (Texture *tex, int view)=0 |
|
virtual VertexBufferContext * | prepare_vertex_buffer (GeomVertexArrayData *data)=0 |
|
virtual | PT (GeomMunger) get_geom_munger(const RenderState *state |
|
virtual void | push_group_marker (const std::string &marker) |
|
virtual void | release_geom (GeomContext *gc)=0 |
|
virtual void | release_index_buffer (IndexBufferContext *ibc)=0 |
|
virtual void | release_sampler (SamplerContext *sc)=0 |
|
virtual void | release_shader (ShaderContext *sc)=0 |
|
virtual void | release_shader_buffer (BufferContext *ibc)=0 |
|
virtual void | release_texture (TextureContext *tc)=0 |
|
virtual void | release_vertex_buffer (VertexBufferContext *vbc)=0 |
|
virtual void | remove_window (GraphicsOutputBase *window)=0 |
|
virtual void | set_state_and_transform (const RenderState *state, const TransformState *transform)=0 |
|
virtual bool | update_texture (TextureContext *tc, bool force)=0 |
|
| TypedWritableReferenceCount (const TypedWritableReferenceCount ©) |
|
virtual ReferenceCount * | as_reference_count () |
| Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type.
|
|
void | operator= (const TypedWritableReferenceCount ©) |
|
| TypedWritable (const TypedWritable ©) |
|
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().
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
UpdateSeq | get_bam_modified () const |
| Returns the current bam_modified counter.
|
|
void | mark_bam_modified () |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams.
|
|
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.
|
|
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.
|
|
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
| Writes the contents of this object to the datagram for shipping out to a Bam file.
|
|
| TypedObject (const TypedObject ©)=default |
|
TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer.
|
|
const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer.
|
|
int | get_best_parent_from_Set (const std::set< int > &) const |
|
int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
|
bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly.
|
|
bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type.
|
|
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.
|
|
bool | has_weak_list () const |
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.
|
|
void | local_object () |
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.
|
|
void | ref () const |
| Explicitly increments the reference count.
|
|
bool | ref_if_nonzero () const |
| Atomically increases the reference count of this object if it is not zero.
|
|
bool | test_ref_count_integrity () const |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
bool | test_ref_count_nonzero () const |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
|
virtual bool | unref () const |
| Explicitly decrements the reference count.
|
|
bool | unref_if_one () const |
| Atomically decreases the reference count of this object if it is one.
|
|
WeakReferenceList * | weak_ref () |
| Adds the indicated PointerToVoid as a weak reference to this object.
|
|
void | weak_unref () |
| Removes the indicated PointerToVoid as a weak reference to this object.
|
|
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the various GSG's for different platforms.
This class contains all the function prototypes to support the double-dispatch of GSG to geoms, transitions, etc. It lives in a separate class in its own package so we can avoid circular build dependency problems.
GraphicsStateGuardians are not actually writable to bam files, of course, but they may be passed as event parameters, so they inherit from TypedWritableReferenceCount instead of TypedReferenceCount for that convenience.
Definition at line 110 of file graphicsStateGuardianBase.h.