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