27#ifndef TAGSTATEMANAGER_H
28#define TAGSTATEMANAGER_H
39NotifyCategoryDecl(tagstatemgr, EXPORT_CLASS, EXPORT_TEMPL);
60 inline BitMask32
get_mask(
const std::string &container_name);
63 typedef std::vector<Camera*> CameraList;
64 typedef pmap<std::string, CPT(
RenderState)> TagStateList;
66 struct StateContainer {
68 TagStateList tag_states;
74 StateContainer(
const std::string &tag_name,
size_t mask,
bool write_color)
75 : tag_name(tag_name), mask(
BitMask32::bit(mask)), write_color(write_color) {};
79 const std::string& name,
int sort);
80 void cleanup_container_states(StateContainer& container);
84 typedef pmap<std::string, StateContainer> ContainerList;
85 ContainerList _containers;
91#include "tagStateManager.I"
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static BitMask< uint32_t, nbits > bit(int index)
A node that can be positioned around in the scene graph to represent a point of view for rendering a ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.