#include <RenderTiny_Device.h>
Public Member Functions | |
void | AddSolidColorBox (float x1, float y1, float z1, float x2, float y2, float z2, Color c) |
void | AddTriangle (UInt16 a, UInt16 b, UInt16 c) |
UInt16 | AddVertex (const Vertex &v) |
UInt16 | GetNextVertexIndex () const |
PrimitiveType | GetPrimType () const |
virtual NodeType | GetType () const |
bool | IsVisible () const |
Model (PrimitiveType t=Prim_Triangles) | |
virtual void | Render (const Matrix4f <w, RenderDevice *ren) |
void | SetVisible (bool visible) |
~Model () | |
Public Attributes | |
Ptr< ShaderFill > | Fill |
Ptr< Buffer > | IndexBuffer |
Array< UInt16 > | Indices |
PrimitiveType | Type |
Ptr< Buffer > | VertexBuffer |
Array< Vertex > | Vertices |
bool | Visible |
Definition at line 407 of file RenderTiny_Device.h.
OVR::RenderTiny::Model::Model | ( | PrimitiveType | t = Prim_Triangles | ) | [inline] |
Definition at line 421 of file RenderTiny_Device.h.
OVR::RenderTiny::Model::~Model | ( | ) | [inline] |
Definition at line 422 of file RenderTiny_Device.h.
void OVR::RenderTiny::Model::AddSolidColorBox | ( | float | x1, |
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2, | ||
Color | c | ||
) |
Definition at line 81 of file RenderTiny_Device.cpp.
void OVR::RenderTiny::Model::AddTriangle | ( | UInt16 | a, |
UInt16 | b, | ||
UInt16 | c | ||
) | [inline] |
Definition at line 449 of file RenderTiny_Device.h.
UInt16 OVR::RenderTiny::Model::AddVertex | ( | const Vertex & | v | ) | [inline] |
Definition at line 441 of file RenderTiny_Device.h.
UInt16 OVR::RenderTiny::Model::GetNextVertexIndex | ( | ) | const [inline] |
Definition at line 436 of file RenderTiny_Device.h.
PrimitiveType OVR::RenderTiny::Model::GetPrimType | ( | ) | const [inline] |
Definition at line 424 of file RenderTiny_Device.h.
virtual NodeType OVR::RenderTiny::Model::GetType | ( | ) | const [inline, virtual] |
Reimplemented from OVR::RenderTiny::Node.
Definition at line 431 of file RenderTiny_Device.h.
bool OVR::RenderTiny::Model::IsVisible | ( | ) | const [inline] |
Definition at line 427 of file RenderTiny_Device.h.
void OVR::RenderTiny::Model::Render | ( | const Matrix4f & | ltw, |
RenderDevice * | ren | ||
) | [virtual] |
Reimplemented from OVR::RenderTiny::Node.
Definition at line 30 of file RenderTiny_Device.cpp.
void OVR::RenderTiny::Model::SetVisible | ( | bool | visible | ) | [inline] |
Definition at line 426 of file RenderTiny_Device.h.
Definition at line 413 of file RenderTiny_Device.h.
Definition at line 419 of file RenderTiny_Device.h.
Definition at line 411 of file RenderTiny_Device.h.
Definition at line 412 of file RenderTiny_Device.h.
Definition at line 418 of file RenderTiny_Device.h.
Definition at line 410 of file RenderTiny_Device.h.
Definition at line 414 of file RenderTiny_Device.h.