Click or drag to resize
Ab4d.SharpEngine logo

Ab4d.SharpEngine.Effects Namespace

 
Classes
 ClassDescription
Public classAssemblyShaderBytecodeProvider AssemblyShaderBytecodeProvider class provides access to compiled shaders stored as embedded resources in an assembly. The class can be registered by EffectsManager with calling its RegisterShaderResource(String, Byte) or RegisterShaderResourceStatic(ShaderBytecodeProvider) methods. This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
Public classCustomEffectTechnique CustomEffectTechnique can be assigned to the OverrideEffectTechnique and is used to provide custom rendering of all RenderingItem that are rendered by the RenderObjectsRenderingStep.
Public classDictionaryShaderBytecodeProvider 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 RegisterShaderResource(String, Byte) or RegisterShaderResourceStatic(ShaderBytecodeProvider) methods. This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
Public classDirectoryShaderBytecodeProvider 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 RegisterShaderResource(String, Byte) or RegisterShaderResourceStatic(ShaderBytecodeProvider) methods. This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
Public classEffect 
Public classEffectTechnique EffectTechnique provides the Render(CommandBuffer, RenderingItem, RenderingContext) method that renders the RenderingItem.
Public classFileShaderBytecodeProvider 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).
Public classPixelEffect PixelEffect is used to render pixels as squares with specified size and color.
Public classShaderBytecodeProvider 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.
Public classSimpleShaderBytecodeProvider SimpleShaderBytecodeProvider class provides access to one shader bytecode with a specified resource name. The class can be registered by EffectsManager with calling its RegisterShaderResource(String, Byte) or RegisterShaderResourceStatic(ShaderBytecodeProvider) methods. This way the EffectsManager will be able to get shader resources (bytecode) from the resources provided by this class.
Public classSolidColorEffect 
Public classSpriteEffect SpriteEffect is used to render sprites that are defined by SpriteBatch objects.
Public classStandardEffect 
Public classStandardEffectTechnique 
Public classThickLineEffect 
Public classVertexColorEffect 
Public classWireframeRenderingEffectTechnique WireframeRenderingEffectTechnique can be used in OverrideEffectTechnique to render all objects as wireframe.