Class GraphicsContext
A graphics command context. You should usually stick to one per rendering thread.
public class GraphicsContext
- Inheritance
-
GraphicsContext
- Extension Methods
Constructors
GraphicsContext(GraphicsDevice, GraphicsResourceAllocator, CommandList)
public GraphicsContext(GraphicsDevice graphicsDevice, GraphicsResourceAllocator allocator = null, CommandList commandList = null)
Parameters
graphicsDevice
GraphicsDeviceallocator
GraphicsResourceAllocatorcommandList
CommandList
Properties
Allocator
public GraphicsResourceAllocator Allocator { get; }
Property Value
CommandList
Gets the current command list.
public CommandList CommandList { get; set; }
Property Value
ResourceGroupAllocator
Gets the current resource group allocator.
public ResourceGroupAllocator ResourceGroupAllocator { get; }