Skip to main content

Module builtins

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 πŸ”’