MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / setLayoutState

Method setLayoutState

source/RenderGraph/LayerLayoutStatesHandler.cpp:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 void LayerLayoutStatesHandler::setLayoutState( ImageId image
27 , ImageViewType viewType
28 , ImageSubresourceRange const & subresourceRange
29 , LayoutState const & layoutState )
30 {
31 auto range = getVirtualRange( image
32 , viewType
33 , subresourceRange );
34 auto [it, _] = images.try_emplace( image.id );
35 addSubresourceRangeLayout( it->second
36 , range
37 , layoutState );
38 }
39
40 void LayerLayoutStatesHandler::setLayoutState( crg::ImageViewId view
41 , LayoutState const & layoutState )

Callers

nothing calls this directly

Calls 1

getVirtualRangeFunction · 0.85

Tested by

no test coverage detected