Parameter Make.1-Gl
module Buffer : Graphv_core_lib.Buffer.Smodule Dyn : sig ... endmodule VertexBuffer : sig ... endmodule Path : sig ... endtype blending_factortype texture_targettype pixel_formattype pixel_typetype tex_filtertype wrap_modetype tex_param_filtertype tex_param_wraptype tex_param_filter_paramtype tex_param_wrap_paramtype pixel_store_paramtype enable_captype depth_functiontype stencil_optype begin_modetype cull_face_modetype 'a uniform_locationtype front_face_dirtype uniform_typetype buffer_targettype buffer_usagetype error_codetype texturetype data_typetype buffertype buffer_idtype enum
val zero : blending_factorval 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_codeval cull_face : t -> cull_face_mode -> unitval front_face : t -> front_face_dir -> unitval texture_equal : t -> texture option -> texture option -> boolval bind_texture : t -> texture_target -> texture option -> unitval active_texture : t -> enum -> unitval stencil_mask : t -> int -> unitval stencil_func : t -> depth_function -> int -> int -> unitval stencil_op : t -> stencil_op -> stencil_op -> stencil_op -> 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 gen_textures : t -> int -> texture arrayval pixel_storei : t -> pixel_store_param -> int -> unitval enable_vertex_attrib_array : t -> int -> unitval disable_vertex_attrib_array : t -> int -> unitval vertex_attrib_pointer : t -> int -> int -> data_type -> bool -> int -> int -> unit
val use_program : t -> program -> unitval uniform1i : t -> int uniform_location -> int -> unitval uniform2fv : t -> [ `vec2 ] uniform_location -> Buffer.Float.t -> 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 -> 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 delete_textures : t -> texture array -> unitval uniform4fv : t -> [ `vec4 ] uniform_location -> Buffer.Float.t -> unitval buffer_data : t -> buffer_target -> Buffer.Float.t -> buffer_usage -> unitval bind_buffer : t -> buffer_target -> buffer_id -> unitval draw_arrays : t -> begin_mode -> int -> int -> unitval color_mask : t -> bool -> bool -> bool -> bool -> unitval enable : t -> enable_cap -> unitval disable : t -> enable_cap -> unitval finish : t -> unitval get_uniform_location : t -> program -> string -> 'a uniform_locationval check_error : t -> string -> unit
type locs={frag : [ `vec4 ] uniform_location;tex : int uniform_location;view_size : [ `vec2 ] uniform_location;vert_buf : buffer_id;}