|
static void | Create () |
|
static void | Discard () |
|
static void | DrawText (const Math::vec3 &position, Util::String const &text, const float size=10.0f, const Math::vec4 color={ 1.0f, 0.0f, 0.0f, 1.0f }, uint32_t renderFlags=CheckDepth) |
|
static void | DrawPoint (const Math::vec3 &position, const float size=10.0f, const Math::vec4 color={ 1.0f, 0.0f, 0.0f, 1.0f }, uint32_t renderFlags=CheckDepth) |
|
static void | DrawLine (const Math::line &line, const float size=1.0f, const Math::vec4 color={1.0f, 0.0f, 0.0f, 1.0f}, uint32_t renderFlags=CheckDepth) |
|
static void | DrawBox (const Math::bbox &box, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
|
static void | DrawOrientedBox (const Math::mat4 &transform, const Math::bbox &box, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
|
static void | DrawBox (const Math::mat4 &modelTransform, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
|
static void | DrawSphere (const Math::mat4 &modelTransform, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
| draw a sphere
|
|
static void | DrawSphere (const Math::point &pos, float radius, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
| draw a sphere
|
|
static void | DrawCylinder (const Math::mat4 &modelTransform, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
| draw a cylinder
|
|
static void | DrawCone (const Math::mat4 &modelTransform, const Math::vec4 &color, uint32_t renderFlags=CheckDepth|Wireframe) |
| draw a cone
|
|
static void | OnPrepareView (const Ptr< Graphics::View > &view, const Graphics::FrameContext &ctx) |
| called before frame
|
|
static void | Render (const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex) |
| called when rendering a frame batch
|
|
static bool | HandleInput (const Input::InputEvent &event) |
| handle event
|
|
static void | SetGridStatus (bool enable) |
|
static void | SetGridSize (float cellSize, int cellCount) |
|
static void | SetGridColor (Math::vec4 const &color) |
|
static void | SetGridOffset (Math::vec2 const &offset) |
|
static void | SetGizmoSize (int size, int width) |
| configure size and thickness of gizmos
|
|