Method FindActiveModules
FindActiveModules(ModularShader, Dictionary<String, Int32>)
Find all active modules inside a specified shader.
Declaration
public static List<ShaderModule> FindActiveModules(ModularShader shader, Dictionary<string, int> activeEnablers)
Parameters
| Type | Name | Description |
|---|---|---|
| ModularShader | shader | Modular shader to check |
| Dictionary<String, Int32> | activeEnablers | Dictionary of active Property Enablers |
Returns
| Type | Description |
|---|---|
| List<ShaderModule> | A list of active ShaderModule inside this shader |