Struct librashader_reflect::back::cross::CrossGlslContext
source · pub struct CrossGlslContext {
pub sampler_bindings: Vec<(String, u32)>,
pub artifact: CompiledProgram<Target>,
}Expand description
The context for a GLSL compilation via spirv-cross.
Fields§
§sampler_bindings: Vec<(String, u32)>A map of bindings of sampler names to binding locations.
artifact: CompiledProgram<Target>The compiled program artifact after compilation.