QueryManager Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
System.Object →
QueryManager
Derived from QueryManager:
public class QueryManager : IDisposable
| Name | Description | |
|---|---|---|
| Constructors | ||
| QueryManager(CommandList, GraphicsResourceAllocator) | ||
| Methods | ||
| BeginProfile(Color4, ProfilingKey) | Begins profile. |
|
| Dispose() | ||
| EndProfile(ProfilingKey) | Ends profile. |
|
| Flush() | ||
Constructors
QueryManager(CommandList, GraphicsResourceAllocator)
public QueryManager(CommandList commandList, GraphicsResourceAllocator allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandList | commandList | |
| GraphicsResourceAllocator | allocator |
Methods
BeginProfile(Color4, ProfilingKey)
Begins profile.
public QueryManager.Scope BeginProfile(Color4 profileColor, ProfilingKey profilingKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Color4 | profileColor | The profile event color. |
| ProfilingKey | profilingKey | The ProfilingKey |
Returns
| Type | Description |
|---|---|
| QueryManager.Scope |
Dispose()
public void Dispose()
EndProfile(ProfilingKey)
Ends profile.
public void EndProfile(ProfilingKey profilingKey)
Parameters
| Type | Name | Description |
|---|---|---|
| ProfilingKey | profilingKey |
Flush()
public void Flush()