13 #ifndef OGLPLUS_CONTEXT_SCISSOR_TEST_1201040722_HPP
14 #define OGLPLUS_CONTEXT_SCISSOR_TEST_1201040722_HPP
85 OGLPLUS_GLFUNC(
Scissor)(left, bottom, width, height);
89 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_1 || GL_ARB_viewport_array
106 OGLPLUS_GLFUNC(ScissorIndexed)(
126 static void Scissor(GLuint viewport, GLint* v)
128 OGLPLUS_GLFUNC(ScissorIndexedv)(viewport, v);
146 OGLPLUS_GLFUNC(ScissorArrayv)(first, count, v);
147 OGLPLUS_CHECK_SIMPLE(ScissorArrayv);
162 OGLPLUS_GLFUNC(GetIntegeri_v)(
180 #endif // include guard
GLint Bottom(void) const
The y-coordinate.
Definition: scissor_test.hpp:46
static void Scissor(GLuint viewport, GLint left, GLint bottom, GLsizei width, GLsizei height)
Defines the scissor rectangle for the specified viewport.
Definition: scissor_test.hpp:98
static void Scissor(GLint left, GLint bottom, GLsizei width, GLsizei height)
Defines the scissor rectangle for the first viewport.
Definition: scissor_test.hpp:78
Wrapper for the scissor-buffer-related operations.
Definition: scissor_test.hpp:68
GLint Height(void) const
The height of the viewport.
Definition: scissor_test.hpp:58
Helper macro for optional checking of availability of GL function.
static void Scissor(GLuint viewport, GLint *v)
Defines the scissor rectangle for the specified viewport.
Definition: scissor_test.hpp:126
GLint X(void) const
The x-coordinate.
Definition: scissor_test.hpp:28
GLint Left(void) const
The x-coordinate.
Definition: scissor_test.hpp:40
GLint Width(void) const
The width of the viewport.
Definition: scissor_test.hpp:52
GLint Y(void) const
The y-coordinate.
Definition: scissor_test.hpp:34
static ScissorRectangle ScissorBox(GLuint viewport)
Returns the extents of scissor box of the specified viewport.
Definition: scissor_test.hpp:159
Exception class for general OpenGL errors.
Definition: basic.hpp:43
Helper structure storing the extents of a 2D scissor rectangle.
Definition: scissor_test.hpp:22
static void ScissorArray(GLuint first, GLsizei count, GLint *v)
Defines scissor boxes for viewports specified by first count.
Definition: scissor_test.hpp:144