14 #ifndef OGLPLUS_BOUND_FRAMEBUFFER_1107121519_HPP
15 #define OGLPLUS_BOUND_FRAMEBUFFER_1107121519_HPP
47 BoundObjOps(
Target init_tgt)
56 return ExplicitOps::Status(
67 return ExplicitOps::IsComplete(
80 ExplicitOps::HandleIncompleteError(
104 ExplicitOps::Property::Attachment attachment,
108 ExplicitOps::AttachRenderbuffer(
125 ExplicitOps::AttachColorRenderbuffer(
133 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_2
139 ExplicitOps::Property::Attachment attachment,
144 ExplicitOps::AttachTexture(
152 #endif // GL_VERSION_3_2
164 ExplicitOps::AttachColorTexture(
178 ExplicitOps::Property::Attachment attachment,
184 ExplicitOps::AttachTexture1D(
199 ExplicitOps::Property::Attachment attachment,
205 ExplicitOps::AttachTexture2D(
220 ExplicitOps::Property::Attachment attachment,
227 ExplicitOps::AttachTexture3D(
243 ExplicitOps::Property::Attachment attachment,
249 ExplicitOps::AttachTextureLayer(
259 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3 || GL_ARB_invalidate_subdata
265 const EnumArray< ExplicitOps::Property::Buffer > & buffers
268 ExplicitOps::Invalidate(
274 #endif // GL_VERSION_4_3 GL_ARB_invalidate_subdata
276 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3 || GL_ARB_invalidate_subdata
283 const ExplicitOps::Property::Buffer * buffers
286 ExplicitOps::Invalidate(
293 #endif // GL_VERSION_4_3 GL_ARB_invalidate_subdata
295 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3 || GL_ARB_invalidate_subdata
301 const EnumArray< ExplicitOps::Property::Buffer > & buffers,
308 ExplicitOps::Invalidate(
318 #endif // GL_VERSION_4_3 GL_ARB_invalidate_subdata
320 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3 || GL_ARB_invalidate_subdata
327 const ExplicitOps::Property::Buffer * buffers,
334 ExplicitOps::Invalidate(
345 #endif // GL_VERSION_4_3 GL_ARB_invalidate_subdata
352 #endif // include guard
FramebufferStatus
Framebuffer status enumeration.
Definition: framebuffer_status.hpp:24
const BoundObjOps & AttachColorRenderbuffer(FramebufferColorAttachmentNumber attachment_no, RenderbufferName renderbuffer) const
Definition: framebuffer.hpp:120
const BoundObjOps & Complete(void) const
Definition: framebuffer.hpp:91
Type for the framebuffer color attachment (implementation-dependent) number.
Definition: framebuffer_attachment.hpp:23
const BoundObjOps & AttachTextureLayer(ExplicitOps::Property::Attachment attachment, TextureName texture, GLint level, GLint layer) const
Definition: framebuffer.hpp:242
Class wrapping framebuffer functions with explicit target selector.
Definition: framebuffer.hpp:150
bool IsComplete(void) const
Definition: framebuffer.hpp:65
Framebuffer object wrappers.
TextureTarget
Texture bind and image specification targets.
Definition: texture_target.hpp:27
const BoundObjOps & Invalidate(GLsizei count, const ExplicitOps::Property::Buffer *buffers, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: framebuffer.hpp:325
const BoundObjOps & Invalidate(const EnumArray< ExplicitOps::Property::Buffer > &buffers, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: framebuffer.hpp:300
const BoundObjOps & AttachTexture2D(ExplicitOps::Property::Attachment attachment, TextureTarget textarget, TextureName texture, GLint level) const
Definition: framebuffer.hpp:198
Operations on currently bound objects.
FramebufferStatus Status(void) const
Definition: framebuffer.hpp:54
FramebufferTarget
Framebuffer bind target.
Definition: framebuffer_target.hpp:24
const BoundObjOps & AttachColorTexture(FramebufferColorAttachmentNumber attachment_no, TextureName texture, GLint level) const
Definition: framebuffer.hpp:158
const BoundObjOps & Invalidate(GLsizei count, const ExplicitOps::Property::Buffer *buffers) const
Definition: framebuffer.hpp:281
const BoundObjOps & AttachTexture1D(ExplicitOps::Property::Attachment attachment, TextureTarget textarget, TextureName texture, GLint level) const
Definition: framebuffer.hpp:177
Object< FramebufferOps > Framebuffer
An oglplus_object encapsulating the framebuffer object functionality.
Definition: framebuffer.hpp:733
A common template for "named" objects like textures, buffers, etc.
Definition: fwd.hpp:136
const BoundObjOps & HandleIncompleteError(FramebufferStatus status) const
Definition: framebuffer.hpp:76
const BoundObjOps & AttachRenderbuffer(ExplicitOps::Property::Attachment attachment, RenderbufferName renderbuffer) const
Definition: framebuffer.hpp:103
const BoundObjOps & AttachTexture3D(ExplicitOps::Property::Attachment attachment, TextureTarget textarget, TextureName texture, GLint level, GLint layer) const
Definition: framebuffer.hpp:219
const BoundObjOps & AttachTexture(ExplicitOps::Property::Attachment attachment, TextureName texture, GLint level) const
Definition: framebuffer.hpp:138
const BoundObjOps & Invalidate(const EnumArray< ExplicitOps::Property::Buffer > &buffers) const
Definition: framebuffer.hpp:264