BufferPool Class
Namespace: Stride.Graphics
Assembly: Stride.Graphics.dll
System.Object →
BufferPool
Derived from BufferPool:
public class BufferPool : IDisposable
|
Improve this Doc
View Source
Fields
Data
Field Value
Type |
Description |
System.IntPtr |
|
Size
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Methods
Allocate(GraphicsDevice, Int32, BufferPoolAllocationType, ref BufferPoolAllocationResult)
public void Allocate(GraphicsDevice graphicsDevice, int size, BufferPoolAllocationType type, ref BufferPoolAllocationResult bufferPoolAllocationResult)
Parameters
CanAllocate(Int32)
public bool CanAllocate(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
Returns
Type |
Description |
System.Boolean |
|
Dispose()
Map(CommandList)
public void Map(CommandList commandList)
Parameters
New(GraphicsResourceAllocator, GraphicsDevice, Int32)
public static BufferPool New(GraphicsResourceAllocator allocator, GraphicsDevice graphicsDevice, int size)
Parameters
Returns
Reset()
Unmap()
Extension Methods