MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NRI / CmdReadbackTextureToBuffer

Function CmdReadbackTextureToBuffer

Source/Validation/ImplVal.cpp:395–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395static void NRI_CALL CmdReadbackTextureToBuffer(CommandBuffer& commandBuffer, Buffer& dstBuffer, const TextureDataLayoutDesc& dstDataLayoutDesc, const Texture& srcTexture, const TextureRegionDesc& srcRegionDesc) {
396 ((CommandBufferVal&)commandBuffer).ReadbackTextureToBuffer(dstBuffer, dstDataLayoutDesc, srcTexture, srcRegionDesc);
397}
398
399static void NRI_CALL CmdClearStorageBuffer(CommandBuffer& commandBuffer, const ClearStorageBufferDesc& clearDesc) {
400 ((CommandBufferVal&)commandBuffer).ClearStorageBuffer(clearDesc);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected