Class IndexBufferContent
This class represent an index buffer content.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetSources.Nodes
Assembly: Evergine.Framework.dll
Syntax
public class IndexBufferContent
Fields
BufferViewIndex
The buffer view index.
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 offset of the buffer.
Declaration
public uint Offset
Field Value
Type | Description |
---|---|
uint |
Properties
Size
Gets the buffer size.
Declaration
public int Size { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Read(BinaryReader)
Read 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)
Write this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |