Class PixelShaderSingleton
Represents the compute kernel cache for backends that use GPU pixel shaders.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
public sealed class PixelShaderSingleton
Fields
Name | Description |
---|---|
EnableDebug | Whether kernel usage tracking is enabled. |
Properties
Name | Description |
---|---|
Instance | Initializes or returns the instance of |
Methods
Name | Description |
---|---|
GetUsedShaders() | Returns used pixel shaders as a list. |
WarmupKernels(List<string>) | Loads and compiles given pixel shaders without running them. |