|
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 |
Abstract class representing a framebuffer. More...
#include <Framebuffer.h>
Public Member Functions | |
| ~Framebuffer ()=default | |
| virtual void | Bind ()=0 |
| virtual void | Unbind ()=0 |
| virtual void | Resize (uint32_t width, uint32_t height)=0 |
| Resizes the framebuffer to the given width and height. | |
| virtual uint32_t | GetColorAttachmentRendererID () const =0 |
| Returns the renderer ID of the color attachment texture. | |
| virtual const FramebufferSpecification & | GetSpecification () const =0 |
| Returns the specification used to create the framebuffer. | |
Static Public Member Functions | |
| static Ref< Framebuffer > | Create (const FramebufferSpecification &spec) |
| Creates a framebuffer with the given specification. | |
Abstract class representing a framebuffer.
|
default |
|
pure virtual |
Implemented in Vesper::OpenGLFramebuffer.
|
static |
Creates a framebuffer with the given specification.
| spec | The specification for the framebuffer. |
References Vesper::Renderer::GetAPI(), Vesper::RendererAPI::None, and Vesper::RendererAPI::OpenGL.
|
pure virtual |
Returns the renderer ID of the color attachment texture.
Implemented in Vesper::OpenGLFramebuffer.
|
pure virtual |
Returns the specification used to create the framebuffer.
Implemented in Vesper::OpenGLFramebuffer.
|
pure virtual |
Resizes the framebuffer to the given width and height.
Implemented in Vesper::OpenGLFramebuffer.
|
pure virtual |
Implemented in Vesper::OpenGLFramebuffer.