GraphicsContext Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
A graphics command context. You should usually stick to one per rendering thread.
                 System.Object →  
                GraphicsContext
              
              
                 Derived from GraphicsContext: 
              
              
              
public class GraphicsContext
              | Name | Description | |
|---|---|---|
| Constructors | ||
| GraphicsContext(GraphicsDevice, GraphicsResourceAllocator, CommandList) | ||
| Properties | ||
| Allocator | ||
| CommandList | Gets the current command list.  | 
                          |
| ResourceGroupAllocator | Gets the current resource group allocator.  | 
                          |
Constructors
GraphicsContext(GraphicsDevice, GraphicsResourceAllocator, CommandList)
public GraphicsContext(GraphicsDevice graphicsDevice, GraphicsResourceAllocator allocator = null, CommandList commandList = null)
              Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsDevice | graphicsDevice | |
| GraphicsResourceAllocator | allocator | |
| CommandList | commandList | 
Properties
Allocator
public GraphicsResourceAllocator Allocator { get; }
              Property Value
| Type | Description | 
|---|---|
| GraphicsResourceAllocator | 
CommandList
Gets the current command list.
public CommandList CommandList { get; set; }
              Property Value
| Type | Description | 
|---|---|
| CommandList | 
ResourceGroupAllocator
Gets the current resource group allocator.
public ResourceGroupAllocator ResourceGroupAllocator { get; }
              Property Value
| Type | Description | 
|---|---|
| ResourceGroupAllocator |