![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Core/GL/FullscreenSquare.h>
Helper class to easily render a full-screen quad. More...
Inheritance diagram for FullscreenSquare:Helper class to easily render a full-screen quad.
The rectangle is created as a triangle strip with 4 vertices with the position ([-1..1], [-1..1], 0) and the texture coordinates ([0..1], [0..1], 0). Position attributes are always at location 0 and texture coordinate attributes at location 1 to be compatible with GL::FixedFunctionPipeline.
Public Member Functions | |
| void | draw (Primitive primitive) |
| void | drawOutline () |
| void | drawFilled () |
Additional Inherited Members | |
Static Public Member Functions inherited from InstanceManager< FullscreenSquare > | |
| static FullscreenSquare & | cachedInstance () |
| Returns the cached instance of type T for the currently active OpenGL context. | |