package graphv_gles2_native_impl

  1. Overview
  2. Docs

Module Graphv_gles2_native_impl.Gles2Source

include module type of struct include Stubs end
Sourcetype blending_factor = int
Sourcetype texture_target = int
Sourcetype pixel_format = int
Sourcetype pixel_type = int
Sourcetype tex_filter = int
Sourcetype wrap_mode = int
Sourcetype tex_param_filter = int
Sourcetype tex_param_wrap = int
Sourcetype tex_param_filter_param = int
Sourcetype tex_param_wrap_param = int
Sourcetype pixel_store_param = int
Sourcetype enable_cap = int
Sourcetype depth_function = int
Sourcetype stencil_op = int
Sourcetype begin_mode = int
Sourcetype cull_face_mode = int
Sourcetype 'a uniform_location = int
Sourcetype front_face_dir = int
Sourcetype uniform_type = int
Sourcetype buffer_target = int
Sourcetype buffer_usage = int
Sourcetype error_code = int
Sourcetype texture = int
Sourcetype data_type = int
Sourcetype buffer = int
Sourcetype buffer_id = int
Sourcetype shader_type = int
Sourcetype shader = int
Sourcetype shader_param = int
Sourcetype program_param = int
Sourcetype enum = int
Sourceval shader_type : shader_param
Sourceval delete_status : shader_param
Sourceval compile_status : shader_param
Sourceval info_log_length : shader_param
Sourceval shader_source_length : shader_param
Sourceval prog_delete_status : program_param
Sourceval validate_status : program_param
Sourceval prog_info_log_length : program_param
Sourceval attached_shaders : program_param
Sourceval active_attributes : program_param
Sourceval active_attribute_max_length : program_param
Sourceval active_uniforms : program_param
Sourceval active_uniforms_max_length : program_param
Sourceval true_ : int
Sourceval false_ : int
Sourceval vertex_shader : shader_type
Sourceval fragment_shader : shader_type
Sourceval no_error : enum
Sourceval zero_ : stencil_op
Sourceval src_color : blending_factor
Sourceval dst_color : blending_factor
Sourceval one_minus_src_color : blending_factor
Sourceval one_minus_dst_color : blending_factor
Sourceval one_minus_src_alpha : blending_factor
Sourceval one_minus_dst_alpha : blending_factor
Sourceval src_alpha_saturate : blending_factor
Sourceval src_alpha : blending_factor
Sourceval dst_alpha : blending_factor
Sourceval texture_2d : texture_target
Sourceval luminance : pixel_format
Sourceval unsigned_byte : pixel_type
Sourceval nearest_mipmap_nearest : tex_param_filter_param
Sourceval linear_mipmap_linear : tex_param_filter_param
Sourceval texture_min_filter : tex_param_filter
Sourceval texture_mag_filter : tex_param_filter
Sourceval clamp_to_edge : tex_param_wrap_param
Sourceval texture_wrap_s : tex_param_wrap
Sourceval texture_wrap_t : tex_param_wrap
Sourceval unpack_alignment : pixel_store_param
Sourceval stencil_test : enable_cap
Sourceval keep : stencil_op
Sourceval incr : stencil_op
Sourceval triangle_strip : begin_mode
Sourceval triangle_fan : begin_mode
Sourceval notequal : depth_function
Sourceval cull_face_enum : enable_cap
Sourceval blend : enable_cap
Sourceval depth_test : enable_cap
Sourceval incr_wrap : stencil_op
Sourceval decr_wrap : stencil_op
Sourceval scissor_test : enable_cap
Sourceval texture0 : enum
Sourceval float : data_type
Sourceval array_buffer : buffer_target
Sourceval triangles : begin_mode
Sourceval stream_draw : buffer_usage
Sourceval invalid_enum : error_code
Sourceval clear_color : float -> float -> float -> float -> unit
Sourcetype program = int
Sourceval get_error : unit -> enum
Sourceval create_shader : shader_type -> shader
Sourceval shader_source : shader -> string -> unit
Sourceval compile_shader : shader -> unit
Sourceval attach_shader : program -> shader -> unit
Sourceval get_shaderiv : shader -> shader_param -> int
Sourceval get_programiv : program -> program_param -> int
Sourceval bind_attrib_location : program -> int -> string -> unit
Sourceval delete_program : program -> unit
Sourceval delete_shader : shader -> unit
Sourceval get_shader_info_log : shader -> string
Sourceval get_program_info_log : program -> string
Sourceval gen_buffers : int array -> unit
Sourcemodule Buffer = Stubs.Buffer
Sourcetype arg = unit
Sourcetype t = unit
Sourceval create : t -> t
Sourcetype locs = {
  1. frag : [ `vec4 ] uniform_location;
  2. tex : int uniform_location;
  3. view_size : [ `vec2 ] uniform_location;
  4. vert_buf : buffer_id;
}
Sourceval null_program : int
Sourceval texture_equal : t -> texture option -> texture option -> bool
Sourcemodule Dyn : sig ... end
Sourceval max : int -> int -> int
Sourcemodule VertexBuffer : sig ... end
Sourcemodule Path : sig ... end
Sourceval uniform2fv : t -> int -> float_buffer -> unit
Sourceval uniform4fv : t -> int -> float_buffer -> unit
Sourceval create_program : t -> (int * locs) option
Sourceval buffer_data : t -> buffer_target -> float_buffer -> buffer_usage -> unit
Sourceval check_error : unit -> string -> unit
Sourceval enable : t -> enable_cap -> unit
Sourceval disable : t -> enable_cap -> unit
Sourceval draw_arrays : t -> begin_mode -> int -> int -> unit
Sourceval color_mask : t -> bool -> bool -> bool -> bool -> unit
Sourceval active_texture : t -> enum -> unit
Sourceval front_face : t -> front_face_dir -> unit
Sourceval stencil_mask : t -> int -> unit
Sourceval finish : t -> unit
Sourceval cull_face : t -> cull_face_mode -> unit
Sourceval uniform1i : t -> int -> int -> unit
Sourceval stencil_op : t -> stencil_op -> stencil_op -> stencil_op -> unit
Sourceval stencil_func : t -> depth_function -> int -> int -> unit
Sourceval stencil_op_separate : t -> cull_face_mode -> stencil_op -> stencil_op -> stencil_op -> unit
Sourceval blend_func_separate : t -> blending_factor -> blending_factor -> blending_factor -> blending_factor -> unit
Sourceval pixel_storei : t -> pixel_store_param -> int -> unit
Sourceval enable_vertex_attrib_array : t -> int -> unit
Sourceval disable_vertex_attrib_array : t -> int -> unit
Sourceval bind_buffer : t -> buffer_target -> buffer_id -> unit
Sourceval use_program : t -> program -> unit
Sourceval tex_parameteri_1 : t -> texture_target -> tex_param_filter -> tex_param_filter_param -> unit
Sourceval tex_parameteri_2 : t -> texture_target -> tex_param_wrap -> tex_param_wrap_param -> unit
Sourceval generate_mipmap : t -> texture_target -> unit
Sourceval get_uniform_location : t -> program -> string -> int
Sourceval bind_texture : t -> texture_target -> texture option -> unit
Sourceval gen_textures : t -> int -> int array
Sourceval delete_textures : t -> int array -> unit
Sourceval vertex_attrib_pointer : t -> int -> int -> data_type -> bool -> int -> int -> unit
Sourceval tex_image2d : t -> texture_target -> int -> pixel_format -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unit
Sourceval tex_sub_image2d : t -> texture_target -> int -> int -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unit
OCaml

Innovation. Community. Security.