package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gsk/Ocgtk_gsk/Gsk/Gl_shader/class-gl_shader/index.html

Class Gl_shader.gl_shader

method compile : Ocgtk_gsk__.GRenderer.renderer_t -> (bool, GError.t) result
method find_uniform_by_name : string -> int
method get_arg_bool : Glib_bytes.t -> int -> bool
method get_arg_float : Glib_bytes.t -> int -> float
method get_arg_int : Glib_bytes.t -> int -> Int32.t
method get_arg_uint : Glib_bytes.t -> int -> UInt32.t
method get_arg_vec2 : Glib_bytes.t -> int -> Ocgtk_graphene.Graphene.Vec2.vec2_t -> unit
method get_arg_vec3 : Glib_bytes.t -> int -> Ocgtk_graphene.Graphene.Vec3.vec3_t -> unit
method get_arg_vec4 : Glib_bytes.t -> int -> Ocgtk_graphene.Graphene.Vec4.vec4_t -> unit
method get_args_size : unit -> Gsize.t
method get_n_textures : unit -> int
method get_n_uniforms : unit -> int
method get_resource : unit -> string option
method get_source : unit -> Glib_bytes.t
method get_uniform_name : int -> string
method get_uniform_offset : int -> int
method get_uniform_type : int -> Ocgtk_gsk__.Gsk_enums.gluniformtype
method as_gl_shader : Ocgtk_gsk__.Gl_shader.t