package gles3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type shader = {
  1. name : string;
  2. ty : Gles3.shader_type;
  3. src : string;
}
val load_shader : Gles3.shader_type -> string -> shader
type 'a program
val compile : ?version:string -> ?precision:string -> (string * shader list) -> unit program
val draw_arrays : 'a program -> Gles3.shape -> ?first:int -> int -> 'a
val draw_ushort_elements : 'a program -> Gles3.shape -> Gles3.ushort_bigarray -> 'a
val draw_ubyte_elements : 'a program -> Gles3.shape -> Gles3.ubyte_bigarray -> 'a
val draw_uint_elements : 'a program -> Gles3.shape -> Gles3.uint_bigarray -> 'a
val draw_buffer_elements : 'a program -> Gles3.shape -> 'b Buffers.element_buffer -> 'a
val byte_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.byte_bigarray -> 'a) program
val ubyte_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.ubyte_bigarray -> 'a) program
val short_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.short_bigarray -> 'a) program
val ushort_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.ushort_bigarray -> 'a) program
val uint_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.uint_bigarray -> 'a) program
val float_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> (Gles3.float_bigarray -> 'a) program
val byte_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.byte_bigarray -> 'a program
val ubyte_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.ubyte_bigarray -> 'a program
val short_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.short_bigarray -> 'a program
val ushort_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.ushort_bigarray -> 'a program
val uint_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.uint_bigarray -> 'a program
val float_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> Gles3.float_bigarray -> 'a program
val buffer_cst_attr : 'a program -> ?norm:bool -> ?stride:int -> string -> 'b Buffers.array_buffer -> 'a program
val int1_uniform : 'a program -> string -> (int -> 'a) program
val bool1_uniform : 'a program -> string -> (bool -> 'a) program
val float1_uniform : 'a program -> string -> (float -> 'a) program
val int2_uniform : 'a program -> string -> (int -> int -> 'a) program
val bool2_uniform : 'a program -> string -> (bool -> bool -> 'a) program
val float2_uniform : 'a program -> string -> (float -> float -> 'a) program
val int3_uniform : 'a program -> string -> (int -> int -> int -> 'a) program
val bool3_uniform : 'a program -> string -> (bool -> bool -> bool -> 'a) program
val float3_uniform : 'a program -> string -> (float -> float -> float -> 'a) program
val int4_uniform : 'a program -> string -> (int -> int -> int -> int -> 'a) program
val bool4_uniform : 'a program -> string -> (bool -> bool -> bool -> bool -> 'a) program
val float4_uniform : 'a program -> string -> (float -> float -> float -> float -> 'a) program
val int1_cst_uniform : 'a program -> string -> int -> 'a program
val bool1_cst_uniform : 'a program -> string -> bool -> 'a program
val float1_cst_uniform : 'a program -> string -> float -> 'a program
val int2_cst_uniform : 'a program -> string -> int -> int -> 'a program
val bool2_cst_uniform : 'a program -> string -> bool -> bool -> 'a program
val float2_cst_uniform : 'a program -> string -> float -> float -> 'a program
val int3_cst_uniform : 'a program -> string -> int -> int -> int -> 'a program
val bool3_cst_uniform : 'a program -> string -> bool -> bool -> bool -> 'a program
val float3_cst_uniform : 'a program -> string -> float -> float -> float -> 'a program
val int4_cst_uniform : 'a program -> string -> int -> int -> int -> int -> 'a program
val bool4_cst_uniform : 'a program -> string -> bool -> bool -> bool -> bool -> 'a program
val float4_cst_uniform : 'a program -> string -> float -> float -> float -> float -> 'a program
val int1v_uniform : 'a program -> string -> (int array -> 'a) program
val int2v_uniform : 'a program -> string -> (int array -> 'a) program
val int3v_uniform : 'a program -> string -> (int array -> 'a) program
val int4v_uniform : 'a program -> string -> (int array -> 'a) program
val bool1v_uniform : 'a program -> string -> (bool array -> 'a) program
val bool2v_uniform : 'a program -> string -> (bool array -> 'a) program
val bool3v_uniform : 'a program -> string -> (bool array -> 'a) program
val bool4v_uniform : 'a program -> string -> (bool array -> 'a) program
val float1v_uniform : 'a program -> string -> (float array -> 'a) program
val float2v_uniform : 'a program -> string -> (float array -> 'a) program
val float3v_uniform : 'a program -> string -> (float array -> 'a) program
val float4v_uniform : 'a program -> string -> (float array -> 'a) program
val float_mat2_uniform : 'a program -> string -> (float array -> 'a) program
val float_mat3_uniform : 'a program -> string -> (float array -> 'a) program
val float_mat4_uniform : 'a program -> string -> (float array -> 'a) program
val texture_2d_uniform : 'a program -> string -> (Textures.gc_texture -> 'a) program
val int1v_cst_uniform : 'a program -> string -> int array -> 'a program
val int2v_cst_uniform : 'a program -> string -> int array -> 'a program
val int3v_cst_uniform : 'a program -> string -> int array -> 'a program
val int4v_cst_uniform : 'a program -> string -> int array -> 'a program
val bool1v_cst_uniform : 'a program -> string -> bool array -> 'a program
val bool2v_cst_uniform : 'a program -> string -> bool array -> 'a program
val bool3v_cst_uniform : 'a program -> string -> bool array -> 'a program
val bool4v_cst_uniform : 'a program -> string -> bool array -> 'a program
val float1v_cst_uniform : 'a program -> string -> float array -> 'a program
val float2v_cst_uniform : 'a program -> string -> float array -> 'a program
val float3v_cst_uniform : 'a program -> string -> float array -> 'a program
val float4v_cst_uniform : 'a program -> string -> float array -> 'a program
val float_mat2_cst_uniform : 'a program -> string -> float array -> 'a program
val float_mat3_cst_uniform : 'a program -> string -> float array -> 'a program
val float_mat4_cst_uniform : 'a program -> string -> float array -> 'a program
val texture_2d_cst_uniform : 'a program -> string -> Textures.gc_texture -> 'a program
OCaml

Innovation. Community. Security.