Serialize the presented texture (presentedImage) as part of presentDrawable serialization.
Use the present texture resource ID in the action name ie. presentDrawable(Texture 23219)
Track the most recently presented image and use that in SystemChunk::CaptureEnd if the PresentedImage serialized data is an empty resource.
Track the CAMetalDrawable's created via the hooked CAMetalLayer::nextDrawable() method.
Implements TODO in WrappedMTLCommandBuffer::presentDrawableremove the (CA::MetalDrawable*) cast. Associate created texture and layer in hooked nextDrawable with MTL::Drawable*
Description
Serialize the presented texture (
presentedImage
) as part ofpresentDrawable
serialization. Use the present texture resource ID in the action name ie.presentDrawable(Texture 23219)
Track the most recently presented image and use that inSystemChunk::CaptureEnd
if the PresentedImage serialized data is an empty resource. Track theCAMetalDrawable
's created via the hookedCAMetalLayer::nextDrawable()
method.Implements
TODO
inWrappedMTLCommandBuffer::presentDrawable
remove the (CA::MetalDrawable*) cast. Associate created texture and layer in hooked nextDrawable with MTL::Drawable*