Add scissor stack and allow user to query current scissor region
This commit is contained in:
parent
eb6dcab308
commit
faa8e7d7e9
1 changed files with 79 additions and 12 deletions
|
|
@ -1027,6 +1027,7 @@ RLAPI void EndShaderMode(void); // End custom
|
|||
RLAPI void BeginBlendMode(int mode); // Begin blending mode (alpha, additive, multiplied, subtract, custom)
|
||||
RLAPI void EndBlendMode(void); // End blending mode (reset to default: alpha blending)
|
||||
RLAPI void BeginScissorMode(int x, int y, int width, int height); // Begin scissor mode (define screen area for following drawing)
|
||||
RLAPI Rectangle GetScissorRect(void); // Get active scissor region (or entire render area, if scissor mode not enabled)
|
||||
RLAPI void EndScissorMode(void); // End scissor mode
|
||||
RLAPI void BeginVrStereoMode(VrStereoConfig config); // Begin stereo rendering (requires VR simulator)
|
||||
RLAPI void EndVrStereoMode(void); // End stereo rendering (requires VR simulator)
|
||||
|
|
|
|||
Loading…
Reference in a new issue