Euphoria
eu::render::State Struct Reference

A "cache" for the current open gl state. More...

Public Attributes

std::optional< bool > cull_face
std::optional< CullFacecull_face_mode
std::optional< bool > blending
std::optional< BlendModeblend_mode
std::optional< bool > depth_test
std::optional< bool > depth_mask
std::optional< Comparedepth_func
std::optional< bool > stencil_test
std::optional< u32stencil_mask
std::optional< RenderModerender_mode
std::optional< StencilFuncstencil_func
std::optional< StencilOpstencil_op
std::optional< int > active_texture
std::array< std::optional< unsigned int >, kk::max_textures_supportedtexture_bound

Detailed Description

A "cache" for the current open gl state.

Definition at line 118 of file state.h.

Member Data Documentation

◆ active_texture

std::optional<int> eu::render::State::active_texture

Definition at line 137 of file state.h.

◆ blend_mode

std::optional<BlendMode> eu::render::State::blend_mode

Definition at line 124 of file state.h.

◆ blending

std::optional<bool> eu::render::State::blending

Definition at line 123 of file state.h.

◆ cull_face

std::optional<bool> eu::render::State::cull_face

Definition at line 120 of file state.h.

◆ cull_face_mode

std::optional<CullFace> eu::render::State::cull_face_mode

Definition at line 121 of file state.h.

◆ depth_func

std::optional<Compare> eu::render::State::depth_func

Definition at line 128 of file state.h.

◆ depth_mask

std::optional<bool> eu::render::State::depth_mask

Definition at line 127 of file state.h.

◆ depth_test

std::optional<bool> eu::render::State::depth_test

Definition at line 126 of file state.h.

◆ render_mode

std::optional<RenderMode> eu::render::State::render_mode

Definition at line 133 of file state.h.

◆ stencil_func

std::optional<StencilFunc> eu::render::State::stencil_func

Definition at line 134 of file state.h.

◆ stencil_mask

std::optional<u32> eu::render::State::stencil_mask

Definition at line 131 of file state.h.

◆ stencil_op

std::optional<StencilOp> eu::render::State::stencil_op

Definition at line 135 of file state.h.

◆ stencil_test

std::optional<bool> eu::render::State::stencil_test

Definition at line 130 of file state.h.

◆ texture_bound

std::array<std::optional<unsigned int>, kk::max_textures_supported> eu::render::State::texture_bound

Definition at line 138 of file state.h.


The documentation for this struct was generated from the following file: