unsigned int GLenum
Definition GLLoader.hpp:723
unsigned int GLuint
Definition GLLoader.hpp:733
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition OpenGL.hpp:117
Definition GLRenderTarget.hpp:21
Vector< GLenum > mColorAttachments
Definition GLRenderTarget.hpp:34
void activate() const
Activates the framebuffer for rendering in OpenGL.
const Vector< GLImagePtr > & attachments() const
Definition GLRenderTarget.hpp:51
TExtent2< UInt32 > mResolution
Definition GLRenderTarget.hpp:32
GLenum mBlitMask
Definition GLRenderTarget.hpp:35
GLObjectHandle<&glad_glGenFramebuffers, &glad_glDeleteFramebuffers > framebufferID
The OpenGL framebuffer object.
Definition GLRenderTarget.hpp:27
GLuint handle() const
Definition GLRenderTarget.hpp:48
GLRenderTarget(GLDevicePtr device, const GPURenderTargetDescriptor &descriptor)
Vector< GLImagePtr > mAttachments
A reference to the images attached to the render target.
Definition GLRenderTarget.hpp:30
const GPURenderTargetDescriptor descriptorGL
The descriptor used to create the render target.
Definition GLRenderTarget.hpp:24
GLRenderTarget(GLDevicePtr device, GLuint existingFramebufferID)
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPURenderTarget.hpp:105
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition Application.hpp:19
std::vector< T, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > Vector
Vector is a sequence container that encapsulates dynamic size arrays.
Definition Vector.hpp:17
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition OpenGL.hpp:130
Definition GPURenderTarget.hpp:78