picogl.backend.gl.fog

Provides constants for working with fog-related properties in OpenGL.

This module defines the GLFog class, which encapsulates fog-related constants from the OpenGL 1.0 version. These constants can be used to configure fog parameters, including fog color, start and end distances, and fog mode.

Classes

GLFog

gl Fog

Functions

set_fog_state(→ None)

set_fog_state

Module Contents

class picogl.backend.gl.fog.GLFog[source]

gl Fog

FOG[source]
FOG_COLOR[source]
FOG_END[source]
FOG_MODE[source]
FOG_START[source]
FOG_INDEX[source]
picogl.backend.gl.fog.set_fog_state(fog_state: bool, fog_density_value: float, fog_start_value: float, fog_end_value: float) None[source]

set_fog_state

Parameters:
  • fog_density_value – float

  • fog_end_value – float

  • fog_start_value – float

  • fog_state – bool

Returns:

None