cgv
Loading...
Searching...
No Matches
cgv::render::context::DepthTestState Struct Reference

Represents a depth test state used to configure depth testing. More...

#include <context.h>

Public Attributes

bool enabled = false
 whether the depth test is enabled
 
CompareFunction test_func = CF_LESS
 the function used to compare depth values
 

Detailed Description

Represents a depth test state used to configure depth testing.

Definition at line 637 of file context.h.

Member Data Documentation

◆ enabled

bool cgv::render::context::DepthTestState::enabled = false

whether the depth test is enabled

Definition at line 639 of file context.h.

Referenced by cgv::render::gl::gl_context::set_depth_test_state().

◆ test_func

CompareFunction cgv::render::context::DepthTestState::test_func = CF_LESS

the function used to compare depth values

Definition at line 641 of file context.h.

Referenced by cgv::render::gl::gl_context::set_depth_test_state().


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