Module Shader_module.Compilation_message

Compilation messages.

module Type : sig ... end

Message types.

type t

The type for GPUCompilationMessage objects.

val message : t -> Jstr.t

message m is the message of m.

val type' : t -> Type.t

type' m is the type of m.

val linenum : t -> int

linenum m is the source line number of m.

val linepos : t -> int

linepos m is the source position on the line of m.

val offset : t -> int

linepos m is the source offset of m.

val length : t -> int

length m is the source length of m.