Module builtins

Source

Structs§

CoordComponents 🔒
Helper struct for texture calls with the separate components from the vector argument
TextureArgsOptions 🔒
Influences the operation texture_args_generator

Enums§

MacroCall
A compiler defined builtin function
TextureLevelType

Functions§

image_dims_to_coords_size 🔒
Helper functions used to convert from a image dimension into a integer representing the number of components needed for the coordinates vector (1 means scalar instead of vector)
inject_builtin
Inject builtins into the declaration
inject_common_builtin 🔒
Injects the builtins into declaration that can used either float or doubles
inject_double_builtin 🔒
Injects the builtins into declaration that need doubles
inject_standard_builtins 🔒
Injects the builtins into declaration that don’t need any special variations
make_coords_arg 🔒
sampled_to_depth
Helper function to cast a expression holding a sampled image to a depth image.
texture_args_generator 🔒
Helper function to generate the image components for texture/image builtins
texture_call 🔒