|
Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine. GitHub | Vesper Updates | Creator |
A static class that provides an interface for issuing rendering commands. More...
#include <RenderCommand.h>
Static Public Member Functions | |
| static void | Init () |
| Initializes the rendering API. | |
| static void | SetViewport (uint32_t x, uint32_t y, uint32_t width, uint32_t height) |
| Sets the viewport dimensions for the renderer. | |
| static void | SetClearColor (const glm::vec4 &color) |
| Sets the clear color for the renderer. | |
| static void | Clear () |
| Clears the rendering buffers. | |
| static void | DrawIndexed (const Ref< VertexArray > &vertexArray, uint32_t indexCount=0) |
| Draws indexed geometry using the specified vertex array and index count. | |
Static Private Attributes | |
| static RendererAPI * | s_RendererAPI = new OpenGLRendererAPI() |
A static class that provides an interface for issuing rendering commands.
|
inlinestatic |
Clears the rendering buffers.
References Vesper::RendererAPI::Clear(), and s_RendererAPI.
Referenced by Vesper::EditorLayer::OnUpdate().
|
inlinestatic |
Draws indexed geometry using the specified vertex array and index count.
References s_RendererAPI.
|
inlinestatic |
Initializes the rendering API.
References Vesper::RendererAPI::Init(), and s_RendererAPI.
Referenced by Vesper::Renderer::Init().
|
inlinestatic |
Sets the clear color for the renderer.
References s_RendererAPI.
|
inlinestatic |
Sets the viewport dimensions for the renderer.
References s_RendererAPI, and Vesper::RendererAPI::SetViewport().
Referenced by Vesper::Renderer::OnWindowResize().
|
staticprivate |
Referenced by Clear(), DrawIndexed(), Init(), SetClearColor(), and SetViewport().