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

Function CmdUploadBufferToTexture

Source/Validation/ImplVal.cpp:391–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391static void NRI_CALL CmdUploadBufferToTexture(CommandBuffer& commandBuffer, Texture& dstTexture, const TextureRegionDesc& dstRegionDesc, const Buffer& srcBuffer, const TextureDataLayoutDesc& srcDataLayoutDesc) {
392 ((CommandBufferVal&)commandBuffer).UploadBufferToTexture(dstTexture, dstRegionDesc, srcBuffer, srcDataLayoutDesc);
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);

Callers

nothing calls this directly

Calls 1

UploadBufferToTextureMethod · 0.45

Tested by

no test coverage detected