24#ifndef PXR_IMAGING_HGI_BLIT_CMDS_OPS_H
25#define PXR_IMAGING_HGI_BLIT_CMDS_OPS_H
29#include "pxr/imaging/hgi/api.h"
30#include "pxr/imaging/hgi/buffer.h"
31#include "pxr/imaging/hgi/enums.h"
32#include "pxr/imaging/hgi/texture.h"
33#include "pxr/imaging/hgi/types.h"
37PXR_NAMESPACE_OPEN_SCOPE
73 , cpuDestinationBuffer(
nullptr)
74 , destinationByteOffset(0)
75 , destinationBufferByteSize(0)
81 void* cpuDestinationBuffer;
82 size_t destinationByteOffset;
83 size_t destinationBufferByteSize;
113 : cpuSourceBuffer(
nullptr)
115 , destinationTexelOffset(
GfVec3i(0))
117 , gpuDestinationTexture()
120 void const* cpuSourceBuffer;
121 size_t bufferByteSize;
122 GfVec3i destinationTexelOffset;
154 , sourceByteOffset(0)
156 , gpuDestinationBuffer()
157 , destinationByteOffset(0)
161 size_t sourceByteOffset;
164 size_t destinationByteOffset;
193 : cpuSourceBuffer(
nullptr)
194 , sourceByteOffset(0)
195 , gpuDestinationBuffer()
196 , destinationByteOffset(0)
200 void const* cpuSourceBuffer;
201 size_t sourceByteOffset;
203 size_t destinationByteOffset;
234 , sourceByteOffset(0)
236 , cpuDestinationBuffer()
237 , destinationByteOffset(0)
241 size_t sourceByteOffset;
243 void* cpuDestinationBuffer;
244 size_t destinationByteOffset;
274 , sourceTexelOffset(
GfVec3i(0))
276 , gpuDestinationBuffer()
277 , destinationByteOffset(0)
285 size_t destinationByteOffset;
318 , sourceByteOffset(0)
319 , gpuDestinationTexture()
320 , destinationTexelOffset(
GfVec3i(0))
326 size_t sourceByteOffset;
328 GfVec3i destinationTexelOffset;
334PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 3 int components.
Describes the properties needed to copy buffer data from CPU to GPU.
Describes the properties needed to copy buffer data from GPU to CPU.
Describes the properties needed to copy buffer data from GPU to GPU.
Describes the properties needed to copy GPU buffer data into a GPU texture.
Describes the properties needed to copy texture data from CPU to GPU.
Describes the properties needed to copy texture data from GPU to CPU.
Describes the properties needed to copy GPU texture data into a GPU buffer.