Euphoria
Public Attributes | List of all members
eu::render::State Struct Reference

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

Public Attributes

std::optional< boolcull_face
 
std::optional< CullFacecull_face_mode
 
std::optional< boolblending
 
std::optional< BlendModeblend_mode
 
std::optional< booldepth_test
 
std::optional< booldepth_mask
 
std::optional< Comparedepth_func
 
std::optional< boolstencil_test
 
std::optional< u32stencil_mask
 
std::optional< RenderModerender_mode
 
std::optional< StencilFuncstencil_func
 
std::optional< StencilOpstencil_op
 
std::optional< intactive_texture
 
std::array< std::optional< unsigned int >, 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>, 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: