|
HDK
|
#include "pxr/pxr.h"#include "pxr/imaging/hdSt/api.h"#include "pxr/imaging/hd/types.h"#include "pxr/imaging/hgi/buffer.h"#include "pxr/base/vt/value.h"
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) |
| 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.