27 #ifndef SHADOWMANAGER_H 28 #define SHADOWMANAGER_H 39 #include "tagStateManager.h" 40 #include "shadowSource.h" 41 #include "shadowAtlas.h" 43 NotifyCategoryDecl(shadowmanager, EXPORT_CLASS, EXPORT_TEMPL);
61 MAKE_PROPERTY(num_update_slots_left, get_num_update_slots_left);
64 MAKE_PROPERTY(atlas, get_atlas);
89 #include "shadowManager.I" 91 #endif // SHADOWMANAGER_H get_num_update_slots_left
Returns how many update slots are left.
void set_atlas_graphics_output(GraphicsOutput *graphics_output)
Sets the handle to the Shadow targets output.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_atlas_size
Returns the shadow atlas size.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void update()
Updates the ShadowManager.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_max_updates(size_t max_updates)
RenderPipeline.
void set_scene(NodePath scene_parent)
Sets the target scene.
This is our own Panda specialization on the default STL vector.
void set_tag_state_manager(TagStateManager *tag_mgr)
Sets the handle to the TagStageManager.
bool add_update(const ShadowSource *source)
Adds a new shadow update.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
~ShadowManager()
Destructs the ShadowManager.
get_atlas
Returns a handle to the shadow atlas.
This is a base class for the various different classes that represent the result of a frame of render...
Class which manages distributing shadow maps in an atlas.
A base class for all things that want to be reference-counted.
ShadowManager()
Constructs a new shadow atlas.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A rectangular subregion within a window for rendering into.
void init()
Initializes the ShadowManager.
A node that can be positioned around in the scene graph to represent a point of view for rendering a ...
set_atlas_size
Sets the shadow atlas size.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...