#include <seadPrimitiveRenderer.h>
Inherits sead::IDisposer.
Classes | |
| class | CubeArg |
| class | QuadArg |
| class | UVArg |
Public Member Functions | |
| PrimitiveRenderer () | |
| virtual | ~PrimitiveRenderer () |
| void | prepareFromBinary (Heap *heap, const void *bin_data, u32 bin_size) |
| void | prepare (Heap *heap, const SafeString &path) |
| void | setCamera (const Camera &camera) |
| void | setProjection (const Projection &projection) |
| void | setModelMatrix (const Matrix34f &model_to_world_matrix) |
| void | begin () |
| void | end () |
| void | drawQuad (const Color4f &colorL, const Color4f &colorR) |
| void | drawQuad (const Color4f &color) |
| void | drawQuad (const Texture &texture, const Color4f &colorL, const Color4f &colorR, const Vector2f &uv_src=Vector2f::zero, const Vector2f &uv_size=Vector2f::ones) |
| void | drawQuad (const Texture &texture, const Color4f &color=Color4f::cWhite, const Vector2f &uv_src=Vector2f::zero, const Vector2f &uv_size=Vector2f::ones) |
| void | drawBox (const Color4f &colorL, const Color4f &colorR) |
| void | drawBox (const Color4f &color) |
| void | drawCube (const Color4f &c0, const Color4f &c1) |
| void | drawCube (const Color4f &color) |
| void | drawWireCube (const Color4f &c0, const Color4f &c1) |
| void | drawWireCube (const Color4f &color) |
| void | drawLine (const Color4f &c0, const Color4f &c1) |
| void | drawLine (const Color4f &color) |
| void | drawSphere4x8 (const Color4f &north, const Color4f &south) |
| void | drawSphere4x8 (const Color4f &color) |
| void | drawSphere8x16 (const Color4f &north, const Color4f &south) |
| void | drawSphere8x16 (const Color4f &color) |
| void | drawDisk16 (const Color4f ¢er, const Color4f &edge) |
| void | drawDisk16 (const Color4f &color) |
| void | drawDisk32 (const Color4f ¢er, const Color4f &edge) |
| void | drawDisk32 (const Color4f &color) |
| void | drawCircle16 (const Color4f &color) |
| void | drawCircle32 (const Color4f &color) |
| void | drawCylinder16 (const Color4f &top, const Color4f &btm) |
| void | drawCylinder16 (const Color4f &color) |
| void | drawCylinder32 (const Color4f &top, const Color4f &btm) |
| void | drawCylinder32 (const Color4f &color) |
| void | drawQuad (const QuadArg &arg) |
| void | drawQuad (const Texture &texture, const QuadArg &arg, const UVArg &uv_arg=UVArg()) |
| void | drawBox (const QuadArg &arg) |
| void | drawCube (const CubeArg &arg) |
| void | drawWireCube (const CubeArg &arg) |
| void | drawLine (const Vector3f &from, const Vector3f &to, const Color4f &c0, const Color4f &c1) |
| void | drawLine (const Vector3f &from, const Vector3f &to, const Color4f &color) |
| void | drawSphere4x8 (const Vector3f &pos, f32 radius, const Color4f &north, const Color4f &south) |
| void | drawSphere4x8 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawSphere8x16 (const Vector3f &pos, f32 radius, const Color4f &north, const Color4f &south) |
| void | drawSphere8x16 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawDisk16 (const Vector3f &pos, f32 radius, const Color4f ¢er, const Color4f &edge) |
| void | drawDisk32 (const Vector3f &pos, f32 radius, const Color4f ¢er, const Color4f &edge) |
| void | drawDisk16 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawDisk32 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawCircle16 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawCircle32 (const Vector3f &pos, f32 radius, const Color4f &color) |
| void | drawCylinder16 (const Vector3f &pos, f32 radius, f32 height, const Color4f &top_color, const Color4f &btm_color) |
| void | drawCylinder16 (const Vector3f &pos, f32 radius, f32 height, const Color4f &color) |
| void | drawCylinder32 (const Vector3f &pos, f32 radius, f32 height, const Color4f &top_color, const Color4f &btm_color) |
| void | drawCylinder32 (const Vector3f &pos, f32 radius, f32 height, const Color4f &color) |
| void | drawAxis (const Vector3f &pos, f32 scale) |
| Public Member Functions inherited from sead::IDisposer | |
| IDisposer () | |
| virtual | ~IDisposer () |
Private Member Functions | |
| void | doPrepare_ (Heap *heap) |
Private Attributes | |
| PrimitiveRendererBase * | mRendererImpl |
| Matrix34f | mModelMtx |
| sead::PrimitiveRenderer::PrimitiveRenderer | ( | ) |
|
virtual |
| void sead::PrimitiveRenderer::prepareFromBinary | ( | Heap * | heap, |
| const void * | bin_data, | ||
| u32 | bin_size ) |
| void sead::PrimitiveRenderer::prepare | ( | Heap * | heap, |
| const SafeString & | path ) |
| void sead::PrimitiveRenderer::setCamera | ( | const Camera & | camera | ) |
| void sead::PrimitiveRenderer::setProjection | ( | const Projection & | projection | ) |
| void sead::PrimitiveRenderer::setModelMatrix | ( | const Matrix34f & | model_to_world_matrix | ) |
| void sead::PrimitiveRenderer::begin | ( | ) |
| void sead::PrimitiveRenderer::end | ( | ) |
|
inline |
| void sead::PrimitiveRenderer::drawQuad | ( | const Texture & | texture, |
| const Color4f & | colorL, | ||
| const Color4f & | colorR, | ||
| const Vector2f & | uv_src = Vector2f::zero, | ||
| const Vector2f & | uv_size = Vector2f::ones ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void sead::PrimitiveRenderer::drawCircle16 | ( | const Color4f & | color | ) |
| void sead::PrimitiveRenderer::drawCircle32 | ( | const Color4f & | color | ) |
|
inline |
|
inline |
| void sead::PrimitiveRenderer::drawQuad | ( | const QuadArg & | arg | ) |
| void sead::PrimitiveRenderer::drawQuad | ( | const Texture & | texture, |
| const QuadArg & | arg, | ||
| const UVArg & | uv_arg = UVArg() ) |
| void sead::PrimitiveRenderer::drawBox | ( | const QuadArg & | arg | ) |
| void sead::PrimitiveRenderer::drawCube | ( | const CubeArg & | arg | ) |
| void sead::PrimitiveRenderer::drawWireCube | ( | const CubeArg & | arg | ) |
| void sead::PrimitiveRenderer::drawLine | ( | const Vector3f & | from, |
| const Vector3f & | to, | ||
| const Color4f & | c0, | ||
| const Color4f & | c1 ) |
| void sead::PrimitiveRenderer::drawLine | ( | const Vector3f & | from, |
| const Vector3f & | to, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawSphere4x8 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | north, | ||
| const Color4f & | south ) |
| void sead::PrimitiveRenderer::drawSphere4x8 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawSphere8x16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | north, | ||
| const Color4f & | south ) |
| void sead::PrimitiveRenderer::drawSphere8x16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawDisk16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | center, | ||
| const Color4f & | edge ) |
| void sead::PrimitiveRenderer::drawDisk32 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | center, | ||
| const Color4f & | edge ) |
| void sead::PrimitiveRenderer::drawDisk16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawDisk32 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawCircle16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawCircle32 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawCylinder16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| f32 | height, | ||
| const Color4f & | top_color, | ||
| const Color4f & | btm_color ) |
| void sead::PrimitiveRenderer::drawCylinder16 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| f32 | height, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawCylinder32 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| f32 | height, | ||
| const Color4f & | top_color, | ||
| const Color4f & | btm_color ) |
| void sead::PrimitiveRenderer::drawCylinder32 | ( | const Vector3f & | pos, |
| f32 | radius, | ||
| f32 | height, | ||
| const Color4f & | color ) |
| void sead::PrimitiveRenderer::drawAxis | ( | const Vector3f & | pos, |
| f32 | scale ) |
|
private |
|
private |
|
private |