The Scissor class inherits from the base class State, defining a scissor test that discards fragments that fall outside of a certain rectangular portion of the screen. More...
#include <state.h>
Public Member Functions | |
| Scissor (bool enabled=false, int x=0, int y=0, int width=0, int height=0) | |
Public Member Functions inherited from cil::State | |
| State () | |
| const std::string & | className () const |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| bool | enabled |
| int | x |
| int | y |
| int | width |
| int | height |
Additional Inherited Members | |
Protected Attributes inherited from cil::State | |
| std::string | m_className |
The Scissor class inherits from the base class State, defining a scissor test that discards fragments that fall outside of a certain rectangular portion of the screen.
| cil::Scissor::Scissor | ( | bool | enabled = false, |
| int | x = 0, | ||
| int | y = 0, | ||
| int | width = 0, | ||
| int | height = 0 ) |
| bool cil::Scissor::enabled |
| int cil::Scissor::height |
| int cil::Scissor::width |
| int cil::Scissor::x |
| int cil::Scissor::y |