![]() |
Gamedev Framework (gf)
0.19.0
A C++17 framework for 2D games
|
Renderers. More...
Classes | |
class | gf::Coordinates |
Helper to compute coordinates in HUD. More... | |
struct | gf::Region |
A region of a window. More... | |
class | gf::RenderPipeline |
A render pipeline. More... | |
struct | gf::RenderStates |
Define the states used for drawing to a RenderTarget. More... | |
struct | gf::RenderAttributeInfo |
Attribute info. More... | |
class | gf::RenderTarget |
Base class for all render targets (window, texture, ...) More... | |
class | gf::RenderTexture |
Target for off-screen 2D rendering into a texture. More... | |
class | gf::RenderWindow |
A window that can serve as a target for 2D drawing. More... | |
struct | gf::Vertex |
A point associated with a color and a texture coordinate. More... | |
Enumerations | |
enum | gf::PrimitiveType { gf::PrimitiveType::Points, gf::PrimitiveType::LineStrip, gf::PrimitiveType::LineLoop, gf::PrimitiveType::Lines, gf::PrimitiveType::TriangleStrip, gf::PrimitiveType::TriangleFan, gf::PrimitiveType::Triangles } |
Kind of primitives to render. More... | |
enum | gf::RenderAttributeType { gf::RenderAttributeType::Byte = 0x1400, gf::RenderAttributeType::UByte = 0x1401, gf::RenderAttributeType::Short = 0x1402, gf::RenderAttributeType::UShort = 0x1403, gf::RenderAttributeType::Float = 0x1406 } |
The type of an attribute. More... | |
Renderers.
|
strong |
Kind of primitives to render.
gf::PrimitiveType represents a kind of primitive to render. The primitives are mapped to their OpenGL equivalents, specified by glDrawArrays or glDrawElements.
|
strong |