Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the configuration of the scissor test clipping pipeline. More...
#include <omGraphicsScissorTest.h>
Public Member Functions | |
ScissorTest () | |
Create a default stencil test with an empty viewport and disabled status. More... | |
ScissorTest (const Viewport &newViewport, Bool newIsEnabled=true) | |
Create a new scissor test with the specified viewport and enable status. More... | |
const Viewport & | getViewport () const |
Return a reference to the viewport which this scissor test is clipping geometry to. More... | |
void | setViewport (const Viewport &newViewport) |
Set the viewport which this scissor test is clipping geometry to. More... | |
Bool | getIsEnabled () const |
Return whether or not the scissor test is enabled. More... | |
void | setIsEnabled (Bool newIsEnabled) |
SEt whether or not the scissor test is enabled. More... | |
A class that specifies the configuration of the scissor test clipping pipeline.
A scissor test is defined by a rectangular region of the screen where rendering should occur, excluding all other areas. Incoming primitives are clipped to the region.
|
inline |
Create a default stencil test with an empty viewport and disabled status.
|
inline |
Create a new scissor test with the specified viewport and enable status.
|
inline |
Return a reference to the viewport which this scissor test is clipping geometry to.
|
inline |
Set the viewport which this scissor test is clipping geometry to.
|
inline |
Return whether or not the scissor test is enabled.
|
inline |
SEt whether or not the scissor test is enabled.