Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
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.SharpSL
Assembly: 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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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.

See Also