Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvRendering::Buffers::Framebuffer Class Reference

#include <Framebuffer.h>

Public Member Functions

 Framebuffer (uint16_t p_width=0, uint16_t p_height=0)
 ~Framebuffer ()
void Bind ()
void Unbind ()
void Resize (uint16_t p_width, uint16_t p_height)
uint32_t GetID ()
uint32_t GetTextureID ()
uint32_t GetRenderBufferID ()

Detailed Description

Wraps OpenGL EBO

Constructor & Destructor Documentation

◆ Framebuffer()

OvRendering::Buffers::Framebuffer::Framebuffer ( uint16_t  p_width = 0,
uint16_t  p_height = 0 

Create the framebuffer

p_height@project: Overload
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ ~Framebuffer()

OvRendering::Buffers::Framebuffer::~Framebuffer ( )


Member Function Documentation

◆ Bind()

void OvRendering::Buffers::Framebuffer::Bind ( )

Bind the framebuffer

◆ GetID()

uint32_t OvRendering::Buffers::Framebuffer::GetID ( )

Returns the ID of the OpenGL framebuffer

◆ GetRenderBufferID()

uint32_t OvRendering::Buffers::Framebuffer::GetRenderBufferID ( )

Returns the ID of the OpenGL render buffer

◆ GetTextureID()

uint32_t OvRendering::Buffers::Framebuffer::GetTextureID ( )

Returns the ID of the OpenGL render texture

◆ Resize()

void OvRendering::Buffers::Framebuffer::Resize ( uint16_t  p_width,
uint16_t  p_height 

Defines a new size for the framebuffer


◆ Unbind()

void OvRendering::Buffers::Framebuffer::Unbind ( )

Unbind the framebuffer

The documentation for this class was generated from the following files: