Class EffectProfile
Effect profile class.
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class EffectProfile : AssetProfile
Fields
Compile
If the asset should pre-compile the effect.
Declaration
public EffectProfileCompile Compile
Field Value
Type | Description |
---|---|
EffectProfileCompile |
GraphicsBackend
The graphics backend.
Declaration
public EffectProfileGraphicsBackend GraphicsBackend
Field Value
Type | Description |
---|---|
EffectProfileGraphicsBackend |
MandatoryCombinations
Specify mandatory combinations that must be compiled. Example1: All Example2: A-B,B-C,...
Declaration
public string MandatoryCombinations
Field Value
Type | Description |
---|---|
string |
Properties
CompileAllCombinations
Gets a value indicating whether mandatory combinations contains tag All.
Declaration
public bool CompileAllCombinations { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetCompileParameter(ProjectProfile)
Gets a value indicating whether the effect must be compiled. If the proterty value is ByPlatform the value comes from the specified project profile.
Declaration
public bool GetCompileParameter(ProjectProfile projectProfile)
Parameters
Type | Name | Description |
---|---|---|
ProjectProfile | projectProfile | The project profile. |
Returns
Type | Description |
---|---|
bool | A value indicating whether the effect must be compiled. |
GetGraphicsBackend(ProjectProfile)
Gets the graphics backend of the profile. If the proterty value is ByPlatform the value comes from the specified project profile.
Declaration
public GraphicsBackend GetGraphicsBackend(ProjectProfile projectProfile)
Parameters
Type | Name | Description |
---|---|---|
ProjectProfile | projectProfile | The project profile. |
Returns
Type | Description |
---|---|
GraphicsBackend | The graphics backend of the profile. |
GetMandatoryCombinations(string[][])
Gets string array list of mandatory combinations.
Declaration
public List<string[]> GetMandatoryCombinations(string[][] projectProfileCombinations)
Parameters
Type | Name | Description |
---|---|---|
string[][] | projectProfileCombinations | Project profile directive combinations. |
Returns
Type | Description |
---|---|
List<string[]> | mandatory combinations. |