EffectSourceCodeKeys Class
Namespace: Stride.ShadersAssembly: Stride.Shaders.dll
Keys used for sourcecode generation.
System.Object →
EffectSourceCodeKeys
Derived from EffectSourceCodeKeys:
public static class EffectSourceCodeKeys
| Name | Description | |
|---|---|---|
| Fields | ||
| ClassDeclaration | The class modifier declaration (Default: "public partial") |
|
| ClassName | The classname used for the (Default: name of the effect). |
|
| Enable | When compiling a sdsl, this will generate a source code file |
|
| FieldDeclaration | The field declaration (default: "private") |
|
| FieldName | The field name (default: "binaryBytecode") |
|
| Namespace | The namespace used for the declaration. |
|
Fields
ClassDeclaration
The class modifier declaration (Default: "public partial")
public static readonly ObjectParameterKey<string> ClassDeclaration
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.String> |
ClassName
The classname used for the (Default: name of the effect).
public static readonly ObjectParameterKey<string> ClassName
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.String> |
Enable
When compiling a sdsl, this will generate a source code file
public static readonly ObjectParameterKey<bool> Enable
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.Boolean> |
FieldDeclaration
The field declaration (default: "private")
public static readonly ObjectParameterKey<string> FieldDeclaration
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.String> |
FieldName
The field name (default: "binaryBytecode")
public static readonly ObjectParameterKey<string> FieldName
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.String> |
Namespace
The namespace used for the declaration.
public static readonly ObjectParameterKey<string> Namespace
Field Value
| Type | Description |
|---|---|
| ObjectParameterKey<System.String> |