XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALPipelineCache Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <PipelineStateCache.h>

Static Public Member Functions

static bool IsSubsystemInitialized ()
static bool IsInitialized ()
static xiiSharedPtr< xiiGALGraphicsPipelineState > GetPipeline (const xiiGALGraphicsPipelineStateCreationDescription &description)
 Creates a pipeline or retrieves it from the cache.
static xiiSharedPtr< xiiGALComputePipelineState > GetPipeline (const xiiGALComputePipelineStateCreationDescription &description)
 Creates a pipeline or retrieves it from the cache.
static xiiSharedPtr< xiiGALRayTracingPipelineState > GetPipeline (const xiiGALRayTracingPipelineStateCreationDescription &description)
 Creates a ray-tracing pipeline or retrieves it from the cache.

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

A cache from pipeline descriptor to handle which holds a reference to each pipeline that is never freed until shutdown. Concurrent requests share one creation. Callers must finish all requests before subsystem shutdown.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/PipelineStateCache.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/Implementation/PipelineStateCache.cpp