MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / endCopyEncoder

Function endCopyEncoder

OgreMain/include/OgreRenderSystem.h:867–867  ·  view source on GitHub ↗

Required when caller will soon start analyzing barriers (e.g. use BarrierSolver) Ogre will flush any pending resource transitions. Otherwise BarrierSolver will see that a Resource is in a particular state or layout, then when calling executeResourceTransition, the pending resource layout will be flushed, and now the resource transition resolved by BarrierSolver will have the wrong 'old' layout

Source from the content-addressed store, hash-verified

865 /// will be flushed, and now the resource transition resolved by BarrierSolver
866 /// will have the wrong 'old' layout
867 virtual void endCopyEncoder() {}
868
869 virtual void executeResourceTransition( const ResourceTransitionArray &rstCollection ) {}
870

Callers 4

getGraphicsEncoderMethod · 0.85
getComputeEncoderMethod · 0.85
endAllEncodersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected