Modules

MojoShader

moduleSource

Available on macOS, Linux, Windows, Wasm

#import "MojoShader";

Procedures#

Types#

:: union
:: struct
type: MOJOSHADER_uniformType
index: s32
value: union { f: [4] float32; i: [4] s32; b: s32; }
:: struct
error_count: s32
profile: *u8
output: *u8
output_len: s32
instruction_count: s32
shader_type: MOJOSHADER_shaderType
major_ver: s32
minor_ver: s32
mainfn: *u8
uniform_count: s32
constant_count: s32
sampler_count: s32
attribute_count: s32
output_count: s32
swizzle_count: s32
symbol_count: s32
malloc_data: *void
:: struct
type: MOJOSHADER_uniformType
index: s32
array_count: s32
constant: s32
name: *u8