package gles3
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type byte_bigarray =
(int, Bigarray.int8_signed_elt, Bigarray.c_layout) Bigarray.Array1.t
type ubyte_bigarray =
(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
type short_bigarray =
(int, Bigarray.int16_signed_elt, Bigarray.c_layout) Bigarray.Array1.t
type ushort_bigarray =
(int, Bigarray.int16_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
type uint_bigarray =
(int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t
type float_bigarray =
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t
val create_byte_bigarray : int -> byte_bigarray
val create_ubyte_bigarray : int -> ubyte_bigarray
val create_short_bigarray : int -> short_bigarray
val create_ushort_bigarray : int -> ushort_bigarray
val create_uint_bigarray : int -> uint_bigarray
val create_float_bigarray : int -> float_bigarray
val create_mmapped_byte_bigarray : int -> byte_bigarray
val create_mmapped_ubyte_bigarray : int -> ubyte_bigarray
val create_mmapped_short_bigarray : int -> short_bigarray
val create_mmapped_ushort_bigarray : int -> ushort_bigarray
val create_mmapped_uint_bigarray : int -> uint_bigarray
val create_mmapped_float_bigarray : int -> float_bigarray
val vertex_attrib_byte_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
byte_bigarray ->
unit
val vertex_attrib_ubyte_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
ubyte_bigarray ->
unit
val vertex_attrib_short_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
short_bigarray ->
unit
val vertex_attrib_ushort_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
ushort_bigarray ->
unit
val vertex_attrib_uint_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
uint_bigarray ->
unit
val vertex_attrib_float_pointer :
index:int ->
size:int ->
?norm:bool ->
?stride:int ->
float_bigarray ->
unit
val vertex_attrib_buffer_pointer :
index:int ->
size:int ->
typ:storage_type ->
?norm:bool ->
?stride:int ->
int ->
unit
val draw_arrays : shape -> ?first:int -> count:int -> unit
val draw_ubyte_elements : shape -> count:int -> ubyte_bigarray -> unit
val draw_ushort_elements : shape -> count:int -> ushort_bigarray -> unit
val draw_uint_elements : shape -> count:int -> uint_bigarray -> unit
val draw_buffer_elements :
shape ->
count:int ->
typ:storage_type ->
int ->
unit
val null_buffer : buffer
val int_of_buffer : buffer -> int
val buffer_of_int : int -> buffer
val is_buffer : buffer -> bool
val gen_buffer : unit -> buffer
val gen_buffers : int -> buffer array
val delete_buffer : buffer -> unit
val delete_buffers : buffer array -> unit
val bind_buffer : target:buffer_target -> buffer -> unit
val buffer_size :
target:buffer_target ->
size:int ->
usage:buffer_usage ->
unit
val buffer_data :
target:buffer_target ->
('a, 'b, Bigarray.c_layout) Bigarray.Array1.t ->
usage:buffer_usage ->
unit
val buffer_sub_data :
target:buffer_target ->
?offset:int ->
('a, 'b, Bigarray.c_layout) Bigarray.Array1.t ->
unit
val get_buffer_size : target:buffer_target -> int
val get_buffer_usage : target:buffer_target -> buffer_usage
val null_shader : shader
val int_of_shader : shader -> int
val shader_of_int : int -> shader
val is_shader : shader -> bool
val create_shader : shader_type -> shader
val delete_shader : shader -> unit
val shader_source : shader -> string array -> unit
val compile_shader : shader -> unit
val get_shader_type : shader -> shader_type
val get_shader_source : shader -> string
val get_shader_info_log : shader -> string
val get_shader_delete_status : shader -> bool
val get_shader_compile_status : shader -> bool
val null_program : program
val int_of_program : program -> int
val program_of_int : int -> program
val is_program : program -> bool
val create_program : unit -> program
val delete_program : program -> unit
val link_program : program -> unit
val use_program : program -> unit
val validate_program : program -> bool
val get_program_info_log : program -> string
val get_program_delete_status : program -> bool
val get_program_link_status : program -> bool
type attribute_type = float_type
val string_of_type : [< uniform_type ] -> string
val glsl_string_of_type : [< uniform_type ] -> string
val get_active_attribs : program -> (string * int * attribute_type * int) list
val get_attrib_location : program -> string -> int
val bind_attrib_location : program -> int -> string -> unit
val get_active_uniforms : program -> (string * int * uniform_type * int) list
val get_uniform_location : program -> string -> int
val enable : cap -> unit
val disable : cap -> unit
val is_enabled : cap -> bool
val cull_face : face:face -> unit
type texture_parameter = [
| `texture_compare_mode of compare_mode
| `texture_mag_filter of mag_filter
| `texture_min_filter of min_filter
| `texture_wrap_s of wrap_mode
| `texture_wrap_t of wrap_mode
]
val null_texture : texture
val int_of_texture : texture -> int
val texture_of_int : int -> texture
val is_texture : texture -> bool
val gen_texture : unit -> texture
val gen_textures : int -> texture array
val delete_texture : texture -> unit
val delete_textures : texture array -> unit
val active_texture : texture -> unit
val bind_texture : target:texture_target -> texture -> unit
val tex_parameter : target:texture_target -> texture_parameter -> unit
val generate_mipmap : target:texture_target -> unit
val tex_image_2d : target:texture_image_target -> ?level:int -> image -> unit
val tex_null_image_2d :
target:texture_image_target ->
?level:int ->
int ->
int ->
internal_image_format ->
unit
val tex_sub_image_2d :
target:texture_image_target ->
?level:int ->
?xoffset:int ->
?yoffset:int ->
image ->
unit
val copy_tex_image_2d :
target:texture_image_target ->
?level:int ->
format:image_format ->
rectangle ->
unit
val copy_tex_sub_image_2d :
target:texture_image_target ->
?level:int ->
?xoffset:int ->
?yoffset:int ->
rectangle ->
unit
val rgba : r:float -> g:float -> b:float -> a:float -> rgba
val stencil_func : func:cmp_func -> ref:int -> mask:int -> unit
val stencil_op :
sfail:stencil_op ->
dpfail:stencil_op ->
dppass:stencil_op ->
unit
val stencil_op_separate :
face:face ->
sfail:stencil_op ->
dpfail:stencil_op ->
dppass:stencil_op ->
unit
val depth_func : func:cmp_func -> unit
val blend_equation : blend_mode -> unit
val blend_equation_separate : rgb:blend_mode -> alpha:blend_mode -> unit
val blend_func : src:src_blend_func -> dst:dst_blend_func -> unit
val blend_func_separate :
src_rgb:src_blend_func ->
dst_rgb:dst_blend_func ->
src_alpha:src_blend_func ->
dst_alpha:dst_blend_func ->
unit
val blend_color : rgba -> unit
val stencil_mask_separate : face:face -> int -> unit
val clear : which_buffer list -> unit
val clear_color : rgba -> unit
val read_pixels : x:int -> y:int -> image -> unit
val null_renderbuffer : renderbuffer
val int_of_renderbuffer : renderbuffer -> int
val renderbuffer_of_int : int -> renderbuffer
val is_renderbuffer : renderbuffer -> bool
val gen_renderbuffer : unit -> renderbuffer
val gen_renderbuffers : int -> renderbuffer array
val delete_renderbuffer : renderbuffer -> unit
val delete_renderbuffers : renderbuffer array -> unit
val draw_buffers :
[ `back
| `color_attachment0
| `color_attachment1
| `color_attachment10
| `color_attachment11
| `color_attachment12
| `color_attachment13
| `color_attachment14
| `color_attachment15
| `color_attachment2
| `color_attachment3
| `color_attachment4
| `color_attachment5
| `color_attachment6
| `color_attachment7
| `color_attachment8
| `color_attachment9
| `none ]
array ->
unit
val bind_renderbuffer : target:renderbuffer_target -> renderbuffer -> unit
val renderbuffer_storage :
target:renderbuffer_target ->
format:renderbuffer_format ->
width:int ->
height:int ->
unit
val null_framebuffer : framebuffer
val int_of_framebuffer : framebuffer -> int
val framebuffer_of_int : int -> framebuffer
val is_framebuffer : framebuffer -> bool
val gen_framebuffer : unit -> framebuffer
val gen_framebuffers : int -> framebuffer array
val delete_framebuffer : framebuffer -> unit
val delete_framebuffers : framebuffer array -> unit
val bind_framebuffer : target:framebuffer_target -> framebuffer -> unit
val framebuffer_renderbuffer :
target:framebuffer_target ->
attach:framebuffer_attachment ->
target2:renderbuffer_target ->
renderbuffer ->
unit
val framebuffer_texture_2d :
target:framebuffer_target ->
attach:framebuffer_attachment ->
target2:texture_image_target ->
texture ->
level:int ->
unit
val check_framebuffer_status : target:framebuffer_target -> framebuffer_status
val error_to_string : error -> string
val get_error : unit -> error
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>