package glMLite

  1. Overview
  2. Docs
type tex_param_target =
  1. | GL_TEXTURE_1D
  2. | GL_TEXTURE_2D
  3. | GL_TEXTURE_3D
  4. | GL_TEXTURE_CUBE_MAP
type texture_compare_mode =
  1. | GL_NONE
type depth_texture_mode =
  1. | GL_LUMINANCE
  2. | GL_INTENSITY
  3. | GL_ALPHA
type tex_param =
  1. | GL_TEXTURE_MIN_FILTER of Min.min_filter
  2. | GL_TEXTURE_MAG_FILTER of Mag.mag_filter
  3. | GL_TEXTURE_MIN_LOD of float
  4. | GL_TEXTURE_MAX_LOD of float
  5. | GL_TEXTURE_BASE_LEVEL of int
  6. | GL_TEXTURE_MAX_LEVEL of int
  7. | GL_TEXTURE_WRAP_S of wrap_param
  8. | GL_TEXTURE_WRAP_T of wrap_param
  9. | GL_TEXTURE_WRAP_R of wrap_param
  10. | GL_TEXTURE_BORDER_COLOR of float * float * float * float
  11. | GL_TEXTURE_PRIORITY of float
  12. | GL_TEXTURE_COMPARE_MODE of texture_compare_mode
  13. | GL_TEXTURE_COMPARE_FUNC of gl_func
  14. | GL_DEPTH_TEXTURE_MODE of depth_texture_mode
  15. | GL_GENERATE_MIPMAP of bool
OCaml

Innovation. Community. Security.