PrimitiveDrawer class
Public types
Constructors, destructors, conversion operators
- PrimitiveDrawer(DrawContext* context) explicit
- ~PrimitiveDrawer() virtual
Public functions
- void prepareMgrFromBinary(Heap* heap, const void* bin_data, u32 bin_size)
- void createDrawMgrInstance_(Heap* heap)
- void prepareMgr(Heap* heap, const SafeString& path)
- void prepareMgrFromBinary(Heap*, const void*, u32, u32, bool)
- void prepareMgr(Heap*, const SafeString&, u32, bool)
- void setCamera(const Camera* camera)
- void setCameraViewMatrix(const Matrix34f* cameraViewMtx)
- void setProjection(const Projection* projection)
- void setProjectionMatrix(const Matrix44f* projectionMtx)
- void setModelMatrix(const Matrix34f* modelMtx)
- void setDrawContext(DrawContext* context)
- void begin()
- auto getDrawMgr_() -> PrimitiveDrawMgrNvn*
- void end()
- void drawQuad(const Color4f&, const Color4f&)
- void drawQuad(const Texture&, const Color4f&, const Color4f&, const Vector2f&, const Vector2f&)
- void drawBox(const Color4f&, const Color4f&)
- void drawCube(const Color4f&, const Color4f&)
- void drawWireCube(const Color4f&, const Color4f&)
- void drawLine(const Color4f&, const Color4f&)
- void drawSphere4x8(const Color4f&, const Color4f&)
- void drawSphere8x16(const Color4f&, const Color4f&)
- void drawDisk16(const Color4f&, const Color4f&)
- void drawDisk32(const Color4f&, const Color4f&)
- void drawCircle16(const Color4f&)
- void drawCircle32(const Color4f&)
- void drawCylinder16(const Color4f&, const Color4f&)
- void drawCylinder32(const Color4f&, const Color4f&)
- void drawQuad(const QuadArg&)
- void drawQuad(const Texture&, const QuadArg&, const UVArg&)
- void drawBox(const QuadArg&)
- void drawCube(const CubeArg&)
- void drawWireCube(const CubeArg&)
- void drawLine(const Vector3f&, const Vector3f&, const Color4f&, const Color4f&)
- void drawLine(const Vector3f&, const Vector3f&, const Color4f&)
- void drawSphere4x8(const Vector3f&, float, const Color4f&, const Color4f&)
- void drawSphere4x8(const Vector3f&, float, const Color4f&)
- void drawSphere8x16(const Vector3f&, float, const Color4f&, const Color4f&)
- void drawSphere8x16(const Vector3f&, float, const Color4f&)
- void drawDisk16(const Vector3f&, float, const Color4f&, const Color4f&)
- void drawDisk16(const Vector3f&, float, const Color4f&)
- void drawDisk32(const Vector3f&, float, const Color4f&, const Color4f&)
- void drawDisk32(const Vector3f&, float, const Color4f&)
- void drawCircle16(const Vector3f&, float, const Color4f&)
- void drawCircle32(const Vector3f&, float, const Color4f&)
- void drawCylinder16(const Vector3f&, float, float, const Color4f&, const Color4f&)
- void drawCylinder16(const Vector3f&, float, float, const Color4f&)
- void drawCylinder32(const Vector3f&, float, float, const Color4f&, const Color4f&)
- void drawCylinder32(const Vector3f&, float, float, const Color4f&)
- void drawAxis(const Vector3f&, float)