|
Diligent Engine API Reference
|
Buffer view description. More...
Public Member Functions | |
| BufferViewDesc () | |
| Initializes the structure members with default values. More... | |
| bool | operator== (const BufferViewDesc &RHS) const |
| Comparison operator tests if two structures are equivalent. More... | |
Public Member Functions inherited from Diligent::DeviceObjectAttribs | |
| DeviceObjectAttribs () | |
| Constructor intializes the structure members with default values. | |
Public Attributes | |
| BUFFER_VIEW_TYPE | ViewType |
| View type. See Diligent::BUFFER_VIEW_TYPE for details. | |
| Uint32 | ByteOffset |
| Offset in bytes from the beginnig of the buffer to the start of the buffer region referenced by the view. | |
| Uint32 | ByteWidth |
| Size in bytes of the referenced buffer region. | |
Public Attributes inherited from Diligent::DeviceObjectAttribs | |
| const Char * | Name |
| Object name. | |
Buffer view description.
|
inline |
Initializes the structure members with default values.
Default values:
| Member | Default value |
|---|---|
| ViewType | Diligent::BUFFER_VIEW_UNDEFINED |
| ByteOffset | 0 |
| ByteWidth | 0 |
|
inline |
Comparison operator tests if two structures are equivalent.
| [in] | RHS | - reference to the structure to perform comparison with |