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