LiteFX::Rendering::ResourceAllocationInfo::BufferInfo::VertexBufferLayout¶
The layout of a vertex buffer.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
SharedPtr<IVertexBufferLayout const> VertexBufferLayout = { nullptr };
Description¶
If Type is BufferType::Vertex, setting this property creates a IVertexBuffer, otherwise a usual IBuffer is created. If Type is not BufferType::Vertex, this property is ignored.