7#ifndef PXR_IMAGING_HGI_BLIT_CMDS_OPS_H
8#define PXR_IMAGING_HGI_BLIT_CMDS_OPS_H
12#include "pxr/imaging/hgi/api.h"
13#include "pxr/imaging/hgi/buffer.h"
14#include "pxr/imaging/hgi/enums.h"
15#include "pxr/imaging/hgi/texture.h"
16#include "pxr/imaging/hgi/types.h"
20PXR_NAMESPACE_OPEN_SCOPE
56 , cpuDestinationBuffer(
nullptr)
57 , destinationByteOffset(0)
58 , destinationBufferByteSize(0)
64 void* cpuDestinationBuffer;
65 size_t destinationByteOffset;
66 size_t destinationBufferByteSize;
96 : cpuSourceBuffer(
nullptr)
98 , destinationTexelOffset(
GfVec3i(0))
100 , gpuDestinationTexture()
103 void const* cpuSourceBuffer;
104 size_t bufferByteSize;
105 GfVec3i destinationTexelOffset;
137 , sourceByteOffset(0)
139 , gpuDestinationBuffer()
140 , destinationByteOffset(0)
144 size_t sourceByteOffset;
147 size_t destinationByteOffset;
176 : cpuSourceBuffer(
nullptr)
177 , sourceByteOffset(0)
178 , gpuDestinationBuffer()
179 , destinationByteOffset(0)
183 void const* cpuSourceBuffer;
184 size_t sourceByteOffset;
186 size_t destinationByteOffset;
217 , sourceByteOffset(0)
219 , cpuDestinationBuffer()
220 , destinationByteOffset(0)
224 size_t sourceByteOffset;
226 void* cpuDestinationBuffer;
227 size_t destinationByteOffset;
257 , sourceTexelOffset(
GfVec3i(0))
259 , gpuDestinationBuffer()
260 , destinationByteOffset(0)
268 size_t destinationByteOffset;
301 , sourceByteOffset(0)
302 , gpuDestinationTexture()
303 , destinationTexelOffset(
GfVec3i(0))
309 size_t sourceByteOffset;
311 GfVec3i destinationTexelOffset;
317PXR_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.