package graphv_gles2_native_impl

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

Innovation. Community. Security.