HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bufferUtils.h File Reference
+ Include dependency graph for bufferUtils.h:

Go to the source code of this file.

Classes

class  HdStBufferRelocator
 

Functions

HDST_API VtValue HdStReadBuffer (HgiBufferHandle const &buffer, HdTupleType tupleType, int offset, int stride, int numElements, int elementStride, HdStResourceRegistry *resourceRegistry)
 

Function Documentation

HDST_API VtValue HdStReadBuffer ( HgiBufferHandle const &  buffer,
HdTupleType  tupleType,
int  offset,
int  stride,
int  numElements,
int  elementStride,
HdStResourceRegistry resourceRegistry 
)

Reads the content of buffer back to VtArray. The offset is expressed in bytes.