picogl.backend.gl.driver.depth

Classes

GLDepthDriver

Depth test, write mask, and depth-function operations.

Module Contents

class picogl.backend.gl.driver.depth.GLDepthDriver(capabilities: picogl.backend.gl.driver.capability.GLCapabilityDriver)[source]

Bases: picogl.backend.gl.driver.applyable.Applyable

Depth test, write mask, and depth-function operations.

capabilities[source]
_current: DepthState | None = None[source]
set_depth_test(enabled: bool)[source]
static get_depth_write_enabled() bool[source]
static set_depth_write(enabled: bool)[source]
static set_depth_func_gl_less() Any[source]
_do_apply(state: picogl.backend.state.DepthState, prev: DepthState | None)[source]
_is_same(prev: picogl.backend.state.DepthState, state: picogl.backend.state.DepthState)[source]