Click or drag to resize

VertexBuffer Constructor

Initializes a new instance of the VertexBuffer struct.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public VertexBuffer(
	MemoryBlock memory,
	VertexLayout layout,
	BufferFlags flags = BufferFlags.None
)

Parameters

memory
Type: Internal.SharpBgfxMemoryBlock
The vertex data with which to populate the buffer.
layout
Type: Internal.SharpBgfxVertexLayout
The layout of the vertex data.
flags (Optional)
Type: Internal.SharpBgfxBufferFlags
Flags used to control buffer behavior.
See Also