picogl.backend.gl.driver.depth ============================== .. py:module:: picogl.backend.gl.driver.depth Classes ------- .. autoapisummary:: picogl.backend.gl.driver.depth.GLDepthDriver Module Contents --------------- .. py:class:: GLDepthDriver(capabilities: picogl.backend.gl.driver.capability.GLCapabilityDriver) Bases: :py:obj:`picogl.backend.gl.driver.applyable.Applyable` Depth test, write mask, and depth-function operations. .. py:attribute:: capabilities .. py:attribute:: _current :type: DepthState | None :value: None .. py:method:: set_depth_test(enabled: bool) .. py:method:: get_depth_write_enabled() -> bool :staticmethod: .. py:method:: set_depth_write(enabled: bool) :staticmethod: .. py:method:: set_depth_func_gl_less() -> Any :staticmethod: .. py:method:: _do_apply(state: picogl.backend.state.DepthState, prev: DepthState | None) .. py:method:: _is_same(prev: picogl.backend.state.DepthState, state: picogl.backend.state.DepthState)