#include <StreamBufferView.h>
Public Member Functions | |
StreamBufferView (const Buffer &buffer, uint32_t byteOffset, uint32_t byteCount, uint32_t byteStride) | |
DeviceStreamBufferView | GetDeviceStreamBufferView (int deviceIndex) const |
Returns the device-specific DeviceStreamBufferView for the given index. | |
HashValue64 | GetHash () const |
Returns the hash of the view. This hash is precomputed at creation time. | |
const Buffer * | GetBuffer () const |
Returns the buffer associated with the view. | |
uint32_t | GetByteOffset () const |
Returns the byte offset into the buffer. | |
uint32_t | GetByteCount () const |
Returns the number of bytes in the view. | |
uint32_t | GetByteStride () const |
Provides a view into a multi-device buffer, to be used as vertex stream. The content of the view is a contiguous list of input vertex data. Its device-specific buffer is provided to the RHI back-end at draw time for a given device.
uint32_t AZ::RHI::StreamBufferView::GetByteStride | ( | ) | const |
Returns the distance in bytes between consecutive vertex entries in the buffer. This must match the stride value in StreamBufferDescriptor.