MaterialAssetKeys Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Defines keys associated with mesh used for compiling assets.
System.Object →
MaterialAssetKeys
Derived from MaterialAssetKeys:
public sealed class MaterialAssetKeys
Name | Description | |
---|---|---|
Fields | ||
GenerateShader | Allow material compilation without mesh. |
|
UseParameters | When compiling effect with an EffectLibraryAsset (sdfxlib), set it to true to allow permutation based on the parameters of all materials. |
Fields
GenerateShader
Allow material compilation without mesh.
public static readonly ValueParameterKey<bool> GenerateShader
Field Value
Type | Description |
---|---|
ValueParameterKey<System.Boolean> |
UseParameters
When compiling effect with an EffectLibraryAsset (sdfxlib), set it to true to allow permutation based on the parameters of all materials.
public static readonly ValueParameterKey<bool> UseParameters
Field Value
Type | Description |
---|---|
ValueParameterKey<System.Boolean> |