Module Graphv_gles2_native_impl.Gles2
include Stubs
type float_buffer= (float, Stdlib.Bigarray.float32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.ttype blending_factor= inttype texture_target= inttype pixel_format= inttype pixel_type= inttype tex_filter= inttype wrap_mode= inttype tex_param_filter= inttype tex_param_wrap= inttype tex_param_filter_param= inttype tex_param_wrap_param= inttype pixel_store_param= inttype enable_cap= inttype depth_function= inttype stencil_op= inttype begin_mode= inttype cull_face_mode= inttype 'a uniform_location= inttype front_face_dir= inttype uniform_type= inttype buffer_target= inttype buffer_usage= inttype error_code= inttype texture= inttype data_type= inttype buffer= inttype buffer_id= inttype shader_type= inttype shader= inttype shader_param= inttype program_param= inttype enum= int
val shader_type : shader_paramval delete_status : shader_paramval compile_status : shader_paramval info_log_length : shader_paramval shader_source_length : shader_paramval link_status : program_paramval prog_delete_status : program_paramval validate_status : program_paramval prog_info_log_length : program_paramval attached_shaders : program_paramval active_attributes : program_paramval active_attribute_max_length : program_paramval active_uniforms : program_paramval active_uniforms_max_length : program_paramval true_ : intval false_ : intval vertex_shader : shader_typeval invalid_enum : error_codeval fragment_shader : shader_typeval src_alpha : blending_factorval dst_alpha : blending_factorval no_error : enumval zero : blending_factorval rgba : pixel_formatval luminance : pixel_formatval unsigned_byte : pixel_typeval nearest_mipmap_nearest : tex_param_filter_paramval linear_mipmap_linear : tex_param_filter_paramval nearest : tex_param_filter_paramval linear : tex_param_filter_paramval zero_ : stencil_opval one : blending_factorval src_color : blending_factorval dst_color : blending_factorval one_minus_src_color : blending_factorval one_minus_dst_color : blending_factorval one_minus_src_alpha : blending_factorval one_minus_dst_alpha : blending_factorval src_alpha_saturate : blending_factorval src_alpha : blending_factorval dst_alpha : blending_factorval texture_2d : texture_targetval rgba : pixel_formatval luminance : pixel_formatval unsigned_byte : pixel_typeval nearest_mipmap_nearest : tex_param_filter_paramval linear_mipmap_linear : tex_param_filter_paramval nearest : tex_param_filter_paramval linear : tex_param_filter_paramval texture_min_filter : tex_param_filterval texture_mag_filter : tex_param_filterval clamp_to_edge : tex_param_wrap_paramval texture_wrap_s : tex_param_wrapval texture_wrap_t : tex_param_wrapval repeat : tex_param_wrap_paramval unpack_alignment : pixel_store_paramval stencil_test : enable_capval equal : depth_functionval keep : stencil_opval incr : stencil_opval triangle_strip : begin_modeval triangle_fan : begin_modeval always : depth_functionval notequal : depth_functionval cull_face_enum : enable_capval back : cull_face_modeval ccw : front_face_dirval blend : enable_capval depth_test : enable_capval front : cull_face_modeval incr_wrap : stencil_opval decr_wrap : stencil_opval scissor_test : enable_capval texture0 : enumval float : data_typeval array_buffer : buffer_targetval triangles : begin_modeval stream_draw : buffer_usageval invalid_enum : error_code
val cull_face : cull_face_mode -> unitval clear_color : float -> float -> float -> float -> unitval uniform4fv : [ `vec4 ] uniform_location -> float_buffer -> unitval uniform2fv : [ `vec2 ] uniform_location -> float_buffer -> unitval buffer_data : buffer_target -> float_buffer -> buffer_usage -> unitval enable : enable_cap -> unitval disable : enable_cap -> unitval finish : unit -> unitval draw_arrays : begin_mode -> int -> int -> unitval color_mask : bool -> bool -> bool -> bool -> unitval front_face : front_face_dir -> unitval active_texture : enum -> unitval stencil_mask : int -> unitval uniform1i : int uniform_location -> int -> unitval stencil_func : depth_function -> int -> int -> unitval stencil_op : stencil_op -> stencil_op -> stencil_op -> unitval stencil_op_separate : cull_face_mode -> stencil_op -> stencil_op -> stencil_op -> unitval blend_func_separate : blending_factor -> blending_factor -> blending_factor -> blending_factor -> unitval pixel_storei : pixel_store_param -> int -> unitval enable_vertex_attrib_array : int -> unitval disable_vertex_attrib_array : int -> unitval bind_buffer : buffer_target -> buffer_id -> unitval tex_parameteri_1 : texture_target -> tex_param_filter -> tex_param_filter_param -> unitval tex_parameteri_2 : texture_target -> tex_param_wrap -> tex_param_wrap_param -> unitval create_program : unit -> int
val get_uniform_location : program -> string -> 'a uniform_locationval use_program : program -> unitval generate_mipmap : texture_target -> unitval gen_textures : int array -> unitval delete_textures : int array -> unitval vertex_attrib_pointer : int -> int -> data_type -> bool -> int -> int -> unitval get_error : unit -> enumval create_shader : shader_type -> shaderval shader_source : shader -> string -> unitval compile_shader : shader -> unitval attach_shader : program -> shader -> unitval get_shaderiv : shader -> shader_param -> intval link_program : program -> unitval get_programiv : program -> program_param -> intval bind_attrib_location : program -> int -> string -> unitval delete_program : program -> unitval delete_shader : shader -> unitval get_shader_info_log : shader -> stringval get_program_info_log : program -> stringval gen_buffers : int array -> unitval bind_texture : texture_target -> texture -> unit
type locs={frag : [ `vec4 ] uniform_location;tex : int uniform_location;view_size : [ `vec2 ] uniform_location;vert_buf : buffer_id;}
module Buffer = Stubs.Bufferval tex_image2d : texture_target -> int -> pixel_format -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unitval tex_sub_image2d : texture_target -> int -> int -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unit
type locs={frag : [ `vec4 ] uniform_location;tex : int uniform_location;view_size : [ `vec2 ] uniform_location;vert_buf : buffer_id;}
module Dyn : sig ... endmodule VertexBuffer : sig ... endmodule Path : sig ... endval uniform2fv : t -> int -> float_buffer -> unitval uniform4fv : t -> int -> float_buffer -> unitval create_program : t -> (int * locs) optionval buffer_data : t -> buffer_target -> float_buffer -> buffer_usage -> unitval check_error : unit -> string -> unitval enable : t -> enable_cap -> unitval disable : t -> enable_cap -> unitval draw_arrays : t -> begin_mode -> int -> int -> unitval color_mask : t -> bool -> bool -> bool -> bool -> unitval active_texture : t -> enum -> unitval front_face : t -> front_face_dir -> unitval stencil_mask : t -> int -> unitval finish : t -> unitval cull_face : t -> cull_face_mode -> unitval uniform1i : t -> int -> int -> unitval stencil_op : t -> stencil_op -> stencil_op -> stencil_op -> unitval stencil_func : t -> depth_function -> int -> int -> unitval stencil_op_separate : t -> cull_face_mode -> stencil_op -> stencil_op -> stencil_op -> unitval blend_func_separate : t -> blending_factor -> blending_factor -> blending_factor -> blending_factor -> unitval pixel_storei : t -> pixel_store_param -> int -> unitval enable_vertex_attrib_array : t -> int -> unitval disable_vertex_attrib_array : t -> int -> unitval bind_buffer : t -> buffer_target -> buffer_id -> unitval use_program : t -> program -> unitval tex_parameteri_1 : t -> texture_target -> tex_param_filter -> tex_param_filter_param -> unitval tex_parameteri_2 : t -> texture_target -> tex_param_wrap -> tex_param_wrap_param -> unitval generate_mipmap : t -> texture_target -> unitval get_uniform_location : t -> program -> string -> intval gen_textures : int array -> unitval bind_texture : t -> texture_target -> texture option -> unitval gen_textures : t -> int -> int arrayval delete_textures : t -> int array -> unitval vertex_attrib_pointer : t -> int -> int -> data_type -> bool -> int -> int -> unitval tex_image2d : t -> texture_target -> int -> pixel_format -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unitval tex_sub_image2d : t -> texture_target -> int -> int -> int -> int -> int -> pixel_format -> pixel_type -> Buffer.UByte.t -> unit