Class BufferPart
This class represent a Buffer Part.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class BufferPart : AssetPart
  Properties
BufferSize
Gets or sets the buffer size.
Declaration
public int BufferSize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
DataPtr
Gets or sets the Buffer data pointer.
Declaration
public IntPtr DataPtr { get; set; }
  Property Value
| Type | Description | 
|---|---|
| IntPtr | 
Methods
Free()
Free the buffer resources.
Declaration
public void Free()
  Read(BinaryReader)
Read the buffer data from the specified binary reader.
Declaration
public static BufferPart Read(BinaryReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryReader | reader | The binary reader.  | 
      
Returns
| Type | Description | 
|---|---|
| BufferPart | The buffer part.  | 
      
Write(BinaryWriter)
Writes the sub asset.
Declaration
public override void Write(BinaryWriter writer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryWriter | writer | The stream.  |