Class PipelineManager
java.lang.Object
dev.engine.graphics.common.PipelineManager
Manages pipeline lifecycle with descriptor-based deduplication.
Identical PipelineDescriptors return the same cached handle.
Supports invalidation for shader hot-reload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(PipelineDescriptor descriptor) Creates a pipeline without caching (for unique/one-off pipelines).voiddestroy(PipelineDescriptor descriptor) Destroys a specific cached pipeline.getOrCreate(PipelineDescriptor descriptor) Gets or creates a pipeline for the given descriptor.voidInvalidates all cached pipelines (e.g., after shader hot-reload).
-
Constructor Details
-
PipelineManager
-
-
Method Details
-
getOrCreate
Gets or creates a pipeline for the given descriptor. -
create
Creates a pipeline without caching (for unique/one-off pipelines). -
destroy
Destroys a specific cached pipeline. -
invalidateAll
public void invalidateAll()Invalidates all cached pipelines (e.g., after shader hot-reload). -
close
public void close()
-