All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiBufferGpuToGpuOp Struct Reference

#include <blitCmdsOps.h>

Public Member Functions

 HgiBufferGpuToGpuOp ()

Public Attributes

HgiBufferHandle gpuSourceBuffer
size_t sourceByteOffset
size_t byteSize
HgiBufferHandle gpuDestinationBuffer
size_t destinationByteOffset

Detailed Description

Describes the properties needed to copy buffer data from GPU to GPU.

It is the responsibility of the caller to:

  • ensure the destination buffer is large enough to receive the data (keep in mind the destinationByteOffset).
  • ensure the source buffer and destination buffer are valid at the time the command is executed.
  • gpuSourceBuffer: The gpu buffer to copy data from.
  • sourceByteOffset: The byte offset in source buffer to start copying the data from.
  • byteSize: Size of the data (in bytes) to copy
  • gpuDestinationBuffer: The copy destination gpu buffer.
  • destinationByteOffset: The byte offset in destination buffer where to start copying the data to.

Definition at line 150 of file blitCmdsOps.h.

Constructor & Destructor Documentation

HgiBufferGpuToGpuOp::HgiBufferGpuToGpuOp ( )

Definition at line 152 of file blitCmdsOps.h.

Member Data Documentation

size_t HgiBufferGpuToGpuOp::byteSize

Definition at line 162 of file blitCmdsOps.h.

size_t HgiBufferGpuToGpuOp::destinationByteOffset

Definition at line 164 of file blitCmdsOps.h.

HgiBufferHandle HgiBufferGpuToGpuOp::gpuDestinationBuffer

Definition at line 163 of file blitCmdsOps.h.

HgiBufferHandle HgiBufferGpuToGpuOp::gpuSourceBuffer

Definition at line 160 of file blitCmdsOps.h.

size_t HgiBufferGpuToGpuOp::sourceByteOffset

Definition at line 161 of file blitCmdsOps.h.

The documentation for this struct was generated from the following file: