Class IndexBufferContent
This class represents an index buffer content.
Namespace: Evergine.Framework.Assets.AssetSources.Nodes
Assembly: Evergine.Framework.dll
Syntax
public class IndexBufferContent
Fields
BufferViewIndex
The index of the buffer view.
Declaration
public int BufferViewIndex
Field Value
| Type | Description |
|---|---|
| int |
IndexFormat
The layout description.
Declaration
public IndexFormat IndexFormat
Field Value
| Type | Description |
|---|---|
| IndexFormat |
IndicesCount
The number of indices.
Declaration
public uint IndicesCount
Field Value
| Type | Description |
|---|---|
| uint |
Offset
The buffer's offset.
Declaration
public uint Offset
Field Value
| Type | Description |
|---|---|
| uint |
Properties
Size
Gets the size of the buffer.
Declaration
public int Size { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static IndexBufferContent Read(BinaryReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | The binary reader. |
Returns
| Type | Description |
|---|---|
| IndexBufferContent | The loaded asset part. |
Write(BinaryWriter)
Writes this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The binary writer. |