OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for the scissor-buffer-related operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/context/scissor_test.hpp>

Inheritance diagram for oglplus::context::ScissorTest:

Static Public Member Functions

static void Scissor (GLint left, GLint bottom, GLsizei width, GLsizei height)
 Defines the scissor rectangle for the first viewport. More...
 
static void Scissor (GLuint viewport, GLint left, GLint bottom, GLsizei width, GLsizei height)
 Defines the scissor rectangle for the specified viewport. More...
 
static void Scissor (GLuint viewport, GLint *v)
 Defines the scissor rectangle for the specified viewport. More...
 
static void ScissorArray (GLuint first, GLsizei count, GLint *v)
 Defines scissor boxes for viewports specified by first count. More...
 
static ScissorRectangle ScissorBox (GLuint viewport)
 Returns the extents of scissor box of the specified viewport. More...
 

Detailed Description

Wrapper for the scissor-buffer-related operations.

Member Function Documentation

static void oglplus::context::ScissorTest::Scissor ( GLint  left,
GLint  bottom,
GLsizei  width,
GLsizei  height 
)
static

Defines the scissor rectangle for the first viewport.

Exceptions
Error
Related OpenGL symbols:
glScissor
static void oglplus::context::ScissorTest::Scissor ( GLuint  viewport,
GLint  left,
GLint  bottom,
GLsizei  width,
GLsizei  height 
)
static

Defines the scissor rectangle for the specified viewport.

Exceptions
ErrorRequires OpenGL 4.1 or the GL_ARB_viewport_array extension.
Related OpenGL symbols:
glScissorIndexed
static void oglplus::context::ScissorTest::Scissor ( GLuint  viewport,
GLint *  v 
)
static

Defines the scissor rectangle for the specified viewport.

Requires OpenGL 4.1 or the GL_ARB_viewport_array extension.

Related OpenGL symbols:
glScissorIndexedv
static void oglplus::context::ScissorTest::ScissorArray ( GLuint  first,
GLsizei  count,
GLint *  v 
)
static

Defines scissor boxes for viewports specified by first count.

Exceptions
ErrorRequires OpenGL 4.1 or the GL_ARB_viewport_array extension.
Related OpenGL symbols:
glScissorArrayv
static ScissorRectangle oglplus::context::ScissorTest::ScissorBox ( GLuint  viewport)
static

Returns the extents of scissor box of the specified viewport.

Exceptions
ErrorRequires OpenGL 4.1 or the GL_ARB_viewport_array extension.
Related OpenGL symbols:
glGet GL_SCISSOR_BOX

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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).