28using StencilOp = std::tuple<StencilAction, StencilAction, StencilAction>;
std::tuple< StencilAction, StencilAction, StencilAction > StencilOp
Stencil operation state consisting of the stencil fail, depth fail and the pass action.
std::tuple< Compare, i32, u32 > StencilFunc
Stencil function state consisiting of the compare function, the ref and the state.
std::tuple< Blend, Blend > BlendMode
Blend mode state consisting of src and dst blend functions.
constexpr std::size_t MAX_TEXTURES_SUPPORTED
A "cache" for the current open gl state.
std::optional< CullFace > cull_face_mode
std::array< std::optional< unsigned int >, MAX_TEXTURES_SUPPORTED > texture_bound
std::optional< BlendMode > blend_mode
std::optional< bool > depth_test
std::optional< bool > depth_mask
std::optional< StencilOp > stencil_op
std::optional< int > active_texture
std::optional< StencilFunc > stencil_func
std::optional< bool > blending
std::optional< Compare > depth_func
std::optional< RenderMode > render_mode
std::optional< bool > stencil_test
std::optional< u32 > stencil_mask
std::optional< bool > cull_face