|
CeresEngine 0.2.0
A game development framework
|
A structure that represents a snapshot of the graphics context state. More...
#include <CeresEngine/Graphics/GraphicsCommandBuffer.hpp>
Public Attributes | |
| AffineTransform | transform |
| A 2D transformation matrix that transforms a point from the view coordinate space into the window coordinate space. | |
| Optional< GraphicsClipState > | clipState |
| Describes how and where the renderer should clip draw commands from views. | |
Friends | |
| bool | operator== (const GraphicsState &lhs, const GraphicsState &rhs) noexcept |
Compares the GraphicsState for equality. | |
| bool | operator!= (const GraphicsState &lhs, const GraphicsState &rhs) noexcept |
Compares the GraphicsState for inequality. | |
A structure that represents a snapshot of the graphics context state.
|
friend |
Compares the GraphicsState for inequality.
|
friend |
Compares the GraphicsState for equality.
Two states are considered equal if they both yield the same result when rendering.
| Optional<GraphicsClipState> CeresEngine::GraphicsState::clipState |
Describes how and where the renderer should clip draw commands from views.
If empty, no clipping should be performed.
| AffineTransform CeresEngine::GraphicsState::transform |
A 2D transformation matrix that transforms a point from the view coordinate space into the window coordinate space.
It might also include additional transforms added by the user.