| Class | Description |
---|
| AssemblyShaderBytecodeProvider |
AssemblyShaderBytecodeProvider class provides access to compiled shaders stored as embedded resources in an assembly.
The class can be registered by EffectsManager with calling its [!:EffectsManager.RegisterShaderResource(string,byte[])] or [!:EffectsManager.RegisterShaderResourceStatic(ShaderBytecodeProvider)] methods.
This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
|
| DictionaryShaderBytecodeProvider |
DictionaryShaderBytecodeProvider class provides access to shaders stored in a simple dictionary with shader name as key and its bytecode (byte array of compiled shader) as values.
The class can be registered by EffectsManager with calling its [!:EffectsManager.RegisterShaderResource(string,byte[])] or [!:EffectsManager.RegisterShaderResourceStatic(ShaderBytecodeProvider)] methods.
This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
|
| DirectoryShaderBytecodeProvider |
DirectoryShaderBytecodeProvider class provides access to shaders stored as files in the specified directory on disk.
Resources registered by this DirectoryShaderBytecodeProvider are available by file name with extension but without directory path.
The class can be registered by EffectsManager with calling its [!:EffectsManager.RegisterShaderResource(string,byte[])] or [!:EffectsManager.RegisterShaderResourceStatic(ShaderBytecodeProvider)] methods.
This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
|
| Effect | |
| EffectTechnique | |
| FileShaderBytecodeProvider |
FileShaderBytecodeProvider class provides access to shaders stored as files in file system.
The class can be registered by EffectsManager and can be used to generate shaders from the files registered by this class.
Before the files can be accessed, the files must be registered by AddResourceFile(String, String), AddResourceFile(String) or AddResourceFiles(IEnumerableString).
|
| ShaderBytecodeProvider |
ShaderBytecodeProvider is an abstract class that is a base class for all classes that represent the source of shader byte code.
The EffectsManager uses the GetShaderBytecode(String) to get the requested shader resource by its name.
|
| SimpleShaderBytecodeProvider |
SimpleShaderBytecodeProvider class provides access to one shader bytecode with a specified resource name.
The class can be registered by EffectsManager with calling its [!:EffectsManager.RegisterShaderResource(string,byte[])] or [!:EffectsManager.RegisterShaderResourceStatic(ShaderBytecodeProvider)] methods.
This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
|
| SolidColorEffect | |
| SpriteEffect |
SpriteEffect is used to render sprites that are defined by SpriteBatch objects.
|
| StandardEffect | |
| StandardEffectTechnique | |
| ThickLineEffect | |
| VertexColorEffect | |