#include <pandabase.h>
#include "shader.h"
#include <immediateTransition.h>
#include <pointerTo.h>
#include <nodeRelation.h>
#include "plist.h"
#include "pmap.h"
#include "pset.h"
#include "shaderTransition.I"
Go to the source code of this file.
Compounds | |
class | ShaderTransition |
A ShaderTransition holds the set of shaders that might be in effect to render a particular part of the subgraph. More... | |
Functions | |
bool | set_shader (NodeRelation *arc, Shader *shader) |
An external function, handy for setting shaders directly onto arcs. | |
bool | clear_shader (NodeRelation *arc, Shader *shader) |
An external function, handy for setting shaders directly onto arcs. | |
bool | has_shader (const NodeRelation *arc, Shader *shader) |
An external function, handy for setting shaders directly onto arcs. |
Definition in file shaderTransition.h.
|
An external function, handy for setting shaders directly onto arcs. This will remove the indicated shader from the existing ShaderTransition, if there is one. Definition at line 75 of file shaderTransition.I. References ShaderTransition::has_shader(). Referenced by event_d(), event_e(), event_h(), event_m(), event_o(), event_p(), event_r(), and event_s(). |
|
An external function, handy for setting shaders directly onto arcs. This returns true if there exists a ShaderTransition and it contains the indicated shader, false otherwise. Definition at line 97 of file shaderTransition.I. |
|
An external function, handy for setting shaders directly onto arcs. This will add the indicated shader to an existing ShaderTransition, or create a new ShaderTransition if necessary. Definition at line 49 of file shaderTransition.I. References ShaderTransition::clear_shader(), and INLINE. |