LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::PipelineCache Class Referenceabstract

Pipeline state cache interface. More...

#include <PipelineCache.h>

Inheritance diagram for LLGL::PipelineCache:
LLGL::RenderSystemChild LLGL::Interface LLGL::NonCopyable

Public Member Functions

virtual Blob GetBlob () const =0
 Returns the cached blob representing a pipeline state.
Public Member Functions inherited from LLGL::RenderSystemChild
virtual void SetDebugName (const char *name)
 Sets the name of this class instance for debugging purposes.
Public Member Functions inherited from LLGL::Interface
virtual bool IsInstanceOf (int id) const
 Returns true if this object is an instance of the specified interface.
Public Member Functions inherited from LLGL::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete
virtual ~NonCopyable ()=default

Additional Inherited Members

Protected Member Functions inherited from LLGL::NonCopyable
 NonCopyable ()=default

Detailed Description

Member Function Documentation

◆ GetBlob()

virtual Blob LLGL::PipelineCache::GetBlob ( ) const
pure virtual

Returns the cached blob representing a pipeline state.

Remarks
This blob can be saved to file and reused to speedup PSO creation on next application launch or reused during the same application run. If the backend does not support pipeline caching, the return value is an empty blob.

The documentation for this class was generated from the following file: