Buffer view description.
More...
#include <BufferView.h>
◆ operator==()
bool Diligent::BufferViewDesc::operator== |
( |
const BufferViewDesc & | RHS | ) |
const |
|
inlineconstexpr |
Tests if two buffer view descriptions are equal.
- Parameters
-
[in] | RHS | - reference to the structure to compare with. |
- Returns
- true if all members of the two structures except for the Name are equal, and false otherwise.
- Note
- The operator ignores the Name field as it is used for debug purposes and doesn't affect the buffer view properties.
◆ ByteOffset
Uint64 Diligent::BufferViewDesc::ByteOffset = 0 |
Offset in bytes from the beginning of the buffer to the start of the buffer region referenced by the view.
◆ Format
Format of the view. This member is only used for formatted and raw buffers. To create raw view of a raw buffer, set Format.ValueType member to VT_UNDEFINED (default value).