Kanzi 4.0.0-beta2
kanzi::RenderPassArchetypeCache Class Reference

Use a Render Pass Archetype cache to look up an archetype of compatible render passes. More...

#include <kanzi/core.ui/graphics/render_pass_archetype_cache.hpp>

Public Member Functions

RenderPassArchetypeSharedPtr find (const gfx::AttachmentDescriptionSet &fbads)
 Finds a Render Pass Archetype that is compatible with a given framebuffer description.
 
void invalidate ()
 Invalidates the cache.
 

Detailed Description

Use a Render Pass Archetype cache to look up an archetype of compatible render passes.

Since
Kanzi 4.0.0

Member Function Documentation

◆ find()

RenderPassArchetypeSharedPtr kanzi::RenderPassArchetypeCache::find ( const gfx::AttachmentDescriptionSet & fbads)

Finds a Render Pass Archetype that is compatible with a given framebuffer description.

Parameters
fbadsSet of framebuffer attachment descriptions.
Returns
A shared pointer to a Render Pass Archetype.

◆ invalidate()

void kanzi::RenderPassArchetypeCache::invalidate ( )

Invalidates the cache.


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