Euphoria
Public Attributes | List of all members
eu::render::OpenglStates 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 31 of file opengl_states.h.

Member Data Documentation

◆ active_texture

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

Definition at line 50 of file opengl_states.h.

◆ blend_mode

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

Definition at line 37 of file opengl_states.h.

◆ blending

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

Definition at line 36 of file opengl_states.h.

◆ cull_face

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

Definition at line 33 of file opengl_states.h.

◆ cull_face_mode

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

Definition at line 34 of file opengl_states.h.

◆ depth_func

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

Definition at line 41 of file opengl_states.h.

◆ depth_mask

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

Definition at line 40 of file opengl_states.h.

◆ depth_test

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

Definition at line 39 of file opengl_states.h.

◆ render_mode

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

Definition at line 46 of file opengl_states.h.

◆ stencil_func

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

Definition at line 47 of file opengl_states.h.

◆ stencil_mask

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

Definition at line 44 of file opengl_states.h.

◆ stencil_op

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

Definition at line 48 of file opengl_states.h.

◆ stencil_test

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

Definition at line 43 of file opengl_states.h.

◆ texture_bound

std::array<std::optional<unsigned int>, MAX_TEXTURES_SUPPORTED> eu::render::OpenglStates::texture_bound

Definition at line 51 of file opengl_states.h.


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