Click or drag to resize
AB4D logo

SimpleShaderBytecodeProvider Class

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.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXShaderBytecodeProvider
    Ab3d.DirectXSimpleShaderBytecodeProvider

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class SimpleShaderBytecodeProvider : ShaderBytecodeProvider

The SimpleShaderBytecodeProvider type exposes the following members.

Constructors
 NameDescription
Public methodSimpleShaderBytecodeProvider Constructor
Top
Properties
 NameDescription
Public propertyBytecode Gets the bytecode as a byte array.
Public propertyResourceName Gets the name of the shader resource
Top
Methods
 NameDescription
Public methodGetAllResourceNames Returns an array of strings that represents the resource names available in this ShaderBytecodeProvider.
(Overrides ShaderBytecodeProviderGetAllResourceNames)
Public methodGetShaderBytecode Gets bytes array of the compiled shader with resourceName or null if this class instance does not have this resource.
(Overrides ShaderBytecodeProviderGetShaderBytecode(String))
Top
See Also