Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Declares a #SL shader with precompilation support.
Implement in your shader class to allow Architect to detect
your shader and precompile it.
Namespace: Visual3D.Graphics3D.Shaders.SharpSLAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public interface IShaderSupportPrecompilation
Public Interface IShaderSupportPrecompilation
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| GetPermutations(ShaderPermutations) | When implemented, fills the ShaderPermutations with all possible values using
AddBool, AddInt etc. methods of ShaderPermutations instance. Used for precompilation
of all possible permutations of this Shader. Default implementation does nothing. | |
| SkipPrecompilation | Returns true if precompilation of this shader is not required.
Use in base shader classes and shader extensions. |