Vertex buffer view structure for buffer array initialization.
More...
#include <BufferFlags.h>
|
| Buffer * | buffer = nullptr |
| | Specifies the buffer resource for this vertex buffer view.
|
| std::uint32_t | stride = 0 |
| | Specifies the stride (in bytes) between vertices.
|
| std::uint64_t | offset = 0 |
| | Specifies the base offset (in bytes) relative to the beginning of the buffer.
|
Vertex buffer view structure for buffer array initialization.
- See also
- RenderSystem::CreateBufferArray
-
CommandBuffer::SetVertexBuffers
◆ VertexBufferView() [1/2]
| LLGL::VertexBufferView::VertexBufferView |
( |
| ) |
|
|
default |
◆ VertexBufferView() [2/2]
| LLGL::VertexBufferView::VertexBufferView |
( |
Buffer * | buffer, |
|
|
std::uint32_t | stride = 0, |
|
|
std::uint64_t | offset = 0 ) |
|
inline |
Initializes all fields of this structure.
- Parameters
-
| [in] | buffer | Pointer to the vertex buffer resource. |
| [in] | stride | Optional stride (in bytes) between vertices. If this is 0, the buffer resource must have been created with a default stride. |
◆ buffer
| Buffer* LLGL::VertexBufferView::buffer = nullptr |
Specifies the buffer resource for this vertex buffer view.
◆ offset
| std::uint64_t LLGL::VertexBufferView::offset = 0 |
Specifies the base offset (in bytes) relative to the beginning of the buffer.
- See also
- SetVertexBuffer(Buffer&, std::uint32_t, std::uint64_t)
◆ stride
| std::uint32_t LLGL::VertexBufferView::stride = 0 |
The documentation for this struct was generated from the following file: