Nugget
|
A compounded Scissor primitive. More...
#include <psyqo/primitives/control.hh>
Public Attributes | |
DrawingAreaStart | start = DrawingAreaStart(Vertex{{.x = 0, .y = 0}}) |
DrawingAreaEnd | end = DrawingAreaEnd(Vertex{{.x = 1024, .y = 512}}) |
DrawingOffset | offset = DrawingOffset(Vertex{{.x = 0, .y = 0}}) |
A compounded Scissor primitive.
This compounds the necessary primitives to alter the drawing area for all drawing commands. It's meant to be used by the GPU
class, but can be used sometimes to clip a different area within the vram.
The default constructor will create a Scissor which will clip over the entire VRAM, effectively disabling scissoring.
DrawingAreaEnd psyqo::Prim::Scissor::end = DrawingAreaEnd(Vertex{{.x = 1024, .y = 512}}) |
DrawingOffset psyqo::Prim::Scissor::offset = DrawingOffset(Vertex{{.x = 0, .y = 0}}) |
DrawingAreaStart psyqo::Prim::Scissor::start = DrawingAreaStart(Vertex{{.x = 0, .y = 0}}) |