13 #ifndef OGLPLUS_CONTEXT_PIXEL_OPS_1201040722_HPP
14 #define OGLPLUS_CONTEXT_PIXEL_OPS_1201040722_HPP
33 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_0
41 OGLPLUS_GLFUNC(PixelStoref)(GLenum(parameter), value);
56 OGLPLUS_GLFUNC(PixelStorei)(GLenum(parameter), value);
63 #endif // GL_VERSION_3_0
127 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_5 || GL_ARB_direct_state_access
148 OGLPLUS_GLFUNC(BlitNamedFramebuffer)(
163 BlitNamedFramebuffer,
176 #endif // include guard
OpenGL bitfield-related helpers.
static void BlitFramebuffer(FramebufferName read, FramebufferName draw, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Bitfield< oglplus::BufferSelectBit > mask, BlitFilter filter)
Transfers a rectangle of pixels from the read buffer the draw buffer.
Definition: pixel_ops.hpp:133
BlitFilter
Enumeration of blit operation filtering modes.
Definition: blit_filter.hpp:27
static void PixelStore(PixelStorageMode parameter, GLfloat value)
Sets the value of a pixel storage parameter.
Definition: pixel_ops.hpp:39
This template serves as a wrapper for OpenGL bitfields.
Definition: bitfield.hpp:56
GLuint GetGLName(ObjectName< ObjTag > named)
Returns the GLuint OpenGL name assigned to named object.
Definition: name.hpp:38
PixelDataType
OpenGL pixel data type enumeration.
Definition: pixel_data.hpp:29
PixelDataFormat
OpenGL pixel data format enumeration.
Definition: pixel_data.hpp:50
OpenGL pixel storage mode parameter names.
Helper macro for optional checking of availability of GL function.
static void ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, PixelDataFormat format, PixelDataType type, void *data)
Sets the value of a pixel storage parameter.
Definition: pixel_ops.hpp:70
Pixel data-related declarations.
Enumeration of Blit operation filtering modes.
static void PixelStore(PixelStorageMode parameter, GLint value)
Sets the value of a pixel storage parameter.
Definition: pixel_ops.hpp:54
Wrapper for the pixel storage and transfer operations.
Definition: pixel_ops.hpp:30
static void BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Bitfield< oglplus::BufferSelectBit > mask, BlitFilter filter)
Transfers a rectangle of pixels from the read buffer the draw buffer.
Definition: pixel_ops.hpp:99
Color, depth or stencil buffer selection bit enumeration.
Exception class for general OpenGL errors.
Definition: basic.hpp:43
PixelStorageMode
Pixel storage mode parameter enumeration.
Definition: pixel_storage_mode.hpp:28
A common template for "named" objects like textures, buffers, etc.
Definition: fwd.hpp:136