Module veloren_voxygen::render::renderer::pipeline_creation
source ยท Structsยง
- Pipelines that are needed to render 3D stuff in-game Use to decouple interface pipeline creation when initializing the renderer
- Pipelines neccesary to display the UI and take screenshots Use to decouple interface pipeline creation when initializing the renderer
- PipelineNeeds ๐Things needed to create a pipeline
- All the pipelines
- Progress ๐
- ShaderModules ๐Processed shaders ready for use in pipeline creation
- StartedTask ๐Represents in-progress task, drop when complete
- Task ๐Represents future task that has not been started Dropping this will mark the task as complete though
Functionsยง
- Create IngamePipelines and shadow pipelines in parallel
- Creates InterfacePipelines in parallel
- create_shader_module ๐
- Creates all the pipelines used to render. Use this for the initial creation. It blocks the main thread to create the interface pipelines while moving the creation of other pipelines into the background NOTE: this tries to use all the CPU cores to complete as soon as possible
- recreate_pipelines ๐Creates all the pipelines used to render. Use this to recreate all the pipelines in the background. TODO: report progress NOTE: this tries to use all the CPU cores to complete as soon as possible