#include <brush.h>
Public Member Functions | |
void | setPlane (const Brush &brush, const Plane3 &plane) |
void | render (RenderStateFlags state) const |
void | render (Renderer &renderer, const VolumeTest &volume, const Matrix4 &localToWorld) const |
Static Public Member Functions | |
static void | constructStatic () |
static void | destroyStatic () |
Private Attributes | |
Plane3 | m_plane |
Winding | m_winding |
Static Private Attributes | |
static Shader * | m_state |
Definition at line 2733 of file brush.h.
static void BrushClipPlane::constructStatic | ( | ) | [inline, static] |
static void BrushClipPlane::destroyStatic | ( | ) | [inline, static] |
void BrushClipPlane::render | ( | Renderer & | renderer, | |
const VolumeTest & | volume, | |||
const Matrix4 & | localToWorld | |||
) | const [inline] |
Definition at line 2775 of file brush.h.
References Renderer::addRenderable(), Renderer::eFullMaterials, Renderer::eWireframeOnly, m_state, and Renderer::SetState().
void BrushClipPlane::render | ( | RenderStateFlags | state | ) | const [inline] |
Definition at line 2758 of file brush.h.
References GLsizei, Brush::m_maxWorldCoord, m_plane, m_winding, Plane3::normal(), Winding_Draw(), and Winding_DrawWireframe().
Referenced by BrushInstance::renderClipPlane().
Definition at line 2748 of file brush.h.
References m_plane, m_winding, plane3_valid(), and Brush::windingForClipPlane().
Referenced by BrushInstance::setClipPlane().
Plane3 BrushClipPlane::m_plane [private] |
Definition at line 2735 of file brush.h.
Referenced by render(), and setPlane().
Shader* BrushClipPlane::m_state [static, private] |
Definition at line 2737 of file brush.h.
Referenced by constructStatic(), and render().
Winding BrushClipPlane::m_winding [private] |
Definition at line 2736 of file brush.h.
Referenced by render(), and setPlane().