Class TScissor
Unit
Declaration
type TScissor = class(TObject)
Description
Scissor to clip displayed things, in addition to the global scissor affected by TRenderContext.ScissorEnable / TRenderContext.ScissorDisable. Always disable an enabled scissor (destructor does it automatically).
Make sure to enable and disable the scissor when the same OpenGL context is current. In practice, the only reliable way to do this is to enable and then disable the scissor within the same OnRender event.
Source: base_rendering/castlerendercontext.pas (line 40).
Hierarchy
- TObject
- TScissor
Generated by PasDoc 0.17.0.snapshot.