Module sample_with

Source
Expand description

Contains extra image operands

Structs§

NoneTy
Helper struct that denotes that the type doesn’t exist, analog to Option::None
SampleParams
Helper struct that allows building image operands.
SomeTy
Helper struct that denotes that the type does exist and is of type T, analog to Option::Some(T)

Traits§

OptionTy
Helper trait to mimic Option<T>, but where the variant are types

Functions§

bias
Sets the ‘Bias’ image operand
grad
Sets the ‘Grad’ image operand
lod
Sets the ‘Lod’ image operand
sample_index
Sets the ‘Sample’ image operand