14 #ifndef PIPEOCCLUSIONCULLTRAVERSER_H 15 #define PIPEOCCLUSIONCULLTRAVERSER_H 49 bool dr_incomplete_render);
55 INLINE
void set_occlusion_mask(
const DrawMask &occlusion_mask);
56 INLINE
const DrawMask &get_occlusion_mask()
const;
67 static LVertex compute_sphere_point(PN_stdfloat latitude, PN_stdfloat longitude);
70 void make_solid_test_state();
78 perform_occlusion_test(
const Geom *geom,
82 void show_results(
int num_fragments,
const Geom *geom,
107 PT(
Geom) _sphere_geom;
111 class PendingObject {
114 INLINE ~PendingObject();
136 static void init_type() {
137 CullTraverser::init_type();
139 CullTraverser::get_class_type());
142 return get_class_type();
144 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void traverse_below(CullTraverserData &data)
Traverses all the children of the indicated node, with the given data, which has been converted into ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This specialization of CullTraverser uses the graphics pipe itself to perform occlusion culling.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
A lightweight class that represents a single element that may be timed and/or counted via stats.
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
virtual void end_traverse()
This callback function is intended to be overridden by a derived class.
The smallest atom of cull.
virtual void record_object(CullableObject *object, const CullTraverser *traverser)
This callback function is intended to be overridden by a derived class.
An object to create GraphicsOutputs that share a particular 3-D API.
A container for geometry primitives.
This is a base class for the various different classes that represent the result of a frame of render...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates all the communication with a particular instance of a given rendering backend.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A rectangular subregion within a window for rendering into.
Returned from a GSG in response to begin_occlusion_query() .
This class is the main interface to controlling the render process.
TypeHandle is the identifier used to differentiate C++ class types.
This object holds the camera position, etc., and other general setup information for rendering a part...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
virtual void set_scene(SceneSetup *scene_setup, GraphicsStateGuardianBase *gsg, bool dr_incomplete_render)
Sets the SceneSetup object that indicates the initial camera position, etc.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.