Class VertexBufferContent
This class represents an asset vertex buffer.
Namespace: Evergine.Framework.Assets.AssetSources.Nodes
Assembly: Evergine.Framework.dll
Syntax
public class VertexBufferContent
Fields
BufferViewIndex
The buffer view index.
Declaration
public int BufferViewIndex
Field Value
Type | Description |
---|---|
int |
LayoutDescription
The layout description.
Declaration
public LayoutDescription LayoutDescription
Field Value
Type | Description |
---|---|
LayoutDescription |
VertexCount
The size of the vertex buffer.
Declaration
public uint VertexCount
Field Value
Type | Description |
---|---|
uint |
VertexOffsetInBytes
The vertex offset in the buffer.
Declaration
public uint VertexOffsetInBytes
Field Value
Type | Description |
---|---|
uint |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static VertexBufferContent Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
VertexBufferContent | The loaded asset part. |
Write(BinaryWriter)
Writes this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |