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
- Things needed to create a pipeline
- All the pipelines
- Progress 🔒
- Processed shaders ready for use in pipeline creation
- 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
- 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
- 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