package sfml

  1. Overview
  2. Docs
type factor =
  1. | Zero
  2. | One
  3. | SrcColor
  4. | OneMinusSrcColor
  5. | DstColor
  6. | OneMinusDstColor
  7. | SrcAlpha
  8. | OneMinusSrcAlpha
  9. | DstAlpha
  10. | OneMinusDstAlpha
type equation =
  1. | Add
  2. | Subtract
  3. | ReverseSubtract
type t = {
  1. color_src_factor : factor;
  2. color_dst_factor : factor;
  3. color_equation : equation;
  4. alpha_src_factor : factor;
  5. alpha_dst_factor : factor;
  6. alpha_equation : equation;
}
val make : ?equation:equation -> factor -> factor -> t
val alpha : t
val add : t
val multiply : t
val none : t
OCaml

Innovation. Community. Security.