Module pipeline_creation

Source

Structsยง

IngameAndShadowPipelines
IngamePipelines
Pipelines that are needed to render 3D stuff in-game Use to decouple interface pipeline creation when initializing the renderer
InterfacePipelines
Pipelines neccesary to display the UI and take screenshots Use to decouple interface pipeline creation when initializing the renderer
PipelineCreation
PipelineNeeds ๐Ÿ”’
Things needed to create a pipeline
Pipelines
All the pipelines
Progress ๐Ÿ”’
RainOcclusionPipelines
ShaderModules ๐Ÿ”’
Processed shaders ready for use in pipeline creation
ShadowPipelines
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_ingame_and_shadow_pipelines ๐Ÿ”’
Create IngamePipelines and shadow pipelines in parallel
create_interface_pipelines ๐Ÿ”’
Creates InterfacePipelines in parallel
create_shader_module ๐Ÿ”’
initial_create_pipelines ๐Ÿ”’
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