MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / build_pipelines

Method build_pipelines

examples/runners/ash/src/main.rs:840–847  ·  view source on GitHub ↗
(
        &mut self,
        pipeline_cache: vk::PipelineCache,
        shader_set: Vec<(VertexShaderEntryPoint, FragmentShaderEntryPoint)>,
    )

Source from the content-addressed store, hash-verified

838 }
839
840 pub fn build_pipelines(
841 &mut self,
842 pipeline_cache: vk::PipelineCache,
843 shader_set: Vec<(VertexShaderEntryPoint, FragmentShaderEntryPoint)>,
844 ) {
845 self.shader_set = shader_set;
846 self.rebuild_pipelines(pipeline_cache);
847 }
848
849 /// Add a shader module to the hash map of shader modules. returns a handle to the module, and the
850 /// old shader module if there was one with the same name already. Does not rebuild pipelines

Callers 1

mainFunction · 0.80

Calls 1

rebuild_pipelinesMethod · 0.80

Tested by

no test coverage detected