tsdl

Thin bindings to SDL for OCaml
IN THIS PACKAGE
Module Tsdl . Sdl . Vulkan
val load_library : string option -> unit result
val unload_library : unit -> unit

Instances

type instance

The type for VkInstance.

val get_instance_extensions : window -> string list option
val unsafe_instance_of_ptr : nativeint -> instance
val unsafe_ptr_of_instance : instance -> nativeint

Surfaces

type surface

The type for VkSurfaceKHR.

val create_surface : window -> instance -> surface option
val get_drawable_size : window -> int * int
val unsafe_surface_of_uint64 : uint64 -> surface
val unsafe_uint64_of_surface : surface -> uint64