15 #ifndef EGGRENDERSTATE_H 16 #define EGGRENDERSTATE_H 18 #include "pandabase.h" 20 #include "eggUserData.h" 21 #include "eggLoader.h" 22 #include "renderState.h" 23 #include "renderAttrib.h" 24 #include "internalName.h" 25 #include "geomPrimitive.h" 27 #include "pointerTo.h" 49 int compare_to(
const EggRenderState &other)
const;
54 static TexGenAttrib::Mode get_tex_gen(
const EggTexture *egg_tex);
64 Geom::PrimitiveType _primitive_type;
67 typedef EggLoader::TextureDef TextureDef;
70 BakeInUVs _bake_in_uvs;
80 #include "eggRenderState.I" A base class for any of a number of kinds of geometry primitives: polygons, point lights...
This is our own Panda specialization on the default STL map.
This is the base class for a number of render attributes (other than transform) that may be set on sc...
Defines a texture map that may be applied to geometry.
void fill_state(EggPrimitive *egg_prim)
Sets up the state as appropriate for the indicated primitive.
This is our own Panda specialization on the default STL vector.
This class is used within this package only to record the render state that should be assigned to eac...
void add_attrib(const RenderAttrib *attrib)
A convenience function to add the indicated render attribute to the aggregate state.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
Defines the properties of a named stage of the multitexture pipeline.
This is a base class for a user-defined data type to extend egg structures in processing code...
Converts an egg data structure, possibly read from an egg file but not necessarily, into a scene graph suitable for rendering.
int compare_to(const EggRenderState &other) const
Provides a unique ordering for different EggRenderState objects, so that primitives of similar state ...