RenderTarget 是GPU渲染时的渲染目标,不一定可以回写到内存, TemporaryRT 是贴图,可以作为GPU渲染时的渲染目标,可以写回到内存,也可以读回到渲染目标 特殊的 RenderTargetHandle.CameraTarget // 文件:Packages/com.unity.render-pipelines.universal@10.9.0// /Runtime/RenderTargetHandle.cspublicstaticreadonlyRenderTarg...
boolSkSurface_Gpu::onGetRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) { GrRenderTarget* rt = prepare_rt_for_external_access(this, access);if(!rt) {returnfalse; } *obj = rt->getRenderTargetHandle();returntrue; } 开发者ID:android,项目名称:platform_external_skia,代码行...
voidGrVkGpuRTCommandBuffer::onClear(constGrFixedClip& clip,constSkPMColor4f& color) { GrVkRenderTarget* vkRT =static_cast<GrVkRenderTarget*>(fRenderTarget);// parent class should never let us get here with no RTSkASSERT(!clip.hasWindowRectangles()); CommandBufferInfo& cbInfo = fCommandBu...