Class BufferContent
The buffer content.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class BufferContent : DisposableObject
Constructors
BufferContent(Guid, IntPtr, uint)
Initializes a new instance of the BufferContent class.
Declaration
public BufferContent(Guid id, IntPtr data, uint size)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | The buffer id. |
| IntPtr | data | The data pointer. |
| uint | size | The size of the buffer. |
Properties
Data
Gets the Data pointer.
Declaration
public IntPtr Data { get; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
Id
Gets the Buffer Id.
Declaration
public Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Size
Gets the buffer size.
Declaration
public uint Size { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
Destroy()
Destroy all resources of this instance.
Declaration
protected override void Destroy()