Class VertexBufferContent
This class represent an asset vertex buffer.
Inherited Members
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 vertex buffer size.
Declaration
public uint VertexCount
Field Value
Type | Description |
---|---|
uint |
VertexOffsetInBytes
The vertex offset of the buffer.
Declaration
public uint VertexOffsetInBytes
Field Value
Type | Description |
---|---|
uint |
Methods
Read(BinaryReader)
Read 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)
Write this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |