Just™ Game Engine
|
Enumerations | |
enum class | PrimitiveType { Lines , Triangles } |
enum class | IndexType { U8 , U16 , U32 } |
Functions | |
void | setViewport (u32 x, u32 y, u32 width, u32 height) |
void | clear (const glm::vec3 &color) |
void | draw (u32 count, PrimitiveType primitiveType=PrimitiveType::Triangles) |
void | drawIndexed (u32 count, IndexType indexType, PrimitiveType primitiveType=PrimitiveType::Triangles) |
|
strong |
|
strong |
void jng::RendererAPI::clear | ( | const glm::vec3 & | color | ) |
void jng::RendererAPI::draw | ( | u32 | count, |
RendererAPI::PrimitiveType | primitiveType = PrimitiveType::Triangles |
||
) |
void jng::RendererAPI::drawIndexed | ( | u32 | count, |
IndexType | indexType, | ||
PrimitiveType | primitiveType = PrimitiveType::Triangles |
||
) |