#include <IndirectBufferView.h>
Public Member Functions | |
IndirectBufferView (const Buffer &buffer, const IndirectBufferSignature &signature, uint32_t byteOffset, uint32_t byteCount, uint32_t byteStride) | |
IndirectBufferView (const IndirectBufferView &other) | |
The mutex stops the default generation. | |
IndirectBufferView & | operator= (const IndirectBufferView &other) |
const DeviceIndirectBufferView & | GetDeviceIndirectBufferView (int deviceIndex) const |
Returns the device-specific DeviceIndirectBufferView 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 |
const IndirectBufferSignature * | GetSignature () const |
Returns the signature of the indirect buffer that is associated with the view. | |
Provides a view into a multi-device buffer, to be used as an indirect buffer. The content of the view is a contiguous list of commands sequences. Its device-specific buffers are provided to the RHI back-end at draw time.
uint32_t AZ::RHI::IndirectBufferView::GetByteStride | ( | ) | const |
Returns the distance in bytes between consecutive commands sequences. This must be larger or equal than the stride specify by the signature.