7 #ifndef __usd_DrawHydra_h__ 8 #define __usd_DrawHydra_h__ 28 void initialize(
void);
30 virtual void flush(
void);
33 using DrawOpenGL::drawPoints;
37 BWORD multicolor,
const Color *color,
40 using DrawOpenGL::drawTriangles;
44 const Vector2 *texture,U32 vertices,
55 using DrawCommon::drawTransformedPoints;
57 virtual void drawTransformedPoints(
62 BWORD multicolor,
const Color *color,
65 using DrawCommon::drawTransformedLines;
67 virtual void drawTransformedLines(
73 BWORD multicolor,
const Color *color,
74 BWORD multiradius,
const Real *radius,
75 const Vector3i *element,U32 elementCount,
78 using DrawCommon::drawTransformedTriangles;
80 virtual void drawTransformedTriangles(
86 U32 vertices,
StripMode strip,BWORD multicolor,
95 static GfMatrix4f convertToGfMatrix4f(
97 static GfMatrix4d convertToGfMatrix4d(
100 void createMaterial1(
void);
101 void createMaterial2(
void);
105 const Vector2 *texture,U32 vertices,
107 BWORD multicolor,
const Color *color,
108 BWORD multiradius,
const Real *radius,
109 const Vector3i *element,U32 elementCount,
112 virtual void drawPolys(U32 grain,
const SpatialVector *vertex,
116 BWORD multicolor,
const Color *color,
123 public DrawOpenGL::Buffer,
128 virtual ~Buffer(
void);
129 void releaseAll(
void);
143 void ensureDriver(
void);
144 void updateCameraAndLighting(
void);
146 void drawNodes(
void);
152 I32 m_shadowResolution;
155 std::map<String, sp<Buffer> > m_bufferMap;
kernel
Definition: namespace.dox:3
StripMode
Format of vertices for tri-stripping.
Definition: DrawI.h:26
Hydra-specific replacements for DrawI.
Definition: DrawHydra.h:21
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
A unit test driver that exercises the core engine.
Definition: HydraDriver.h:49
Special vector for color (RGBA)
Definition: Color.h:21
Automatically reference-counted string container.
Definition: String.h:128
OpenGL-specific implementations for DrawI.
Definition: DrawOpenGL.h:25
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192