Dictionary |
public class DictionaryShaderBytecodeProvider : ShaderBytecodeProvider
The DictionaryShaderBytecodeProvider type exposes the following members.
Name | Description | |
---|---|---|
DictionaryShaderBytecodeProvider | Constructor |
Name | Description | |
---|---|---|
AddShaderBytecode | AddShaderBytecode add the shader name (specified as resourceName) with its bytecode to the shaders dictionary defined in this DictionaryShaderBytecodeProvider. If you add resourceName that was already added before, the old resourceName bytecode is overwritten by the new bytecode. This method is thread safe and can be called from any thread. | |
GetAllResourceNames |
Returns an array of strings that represents the resource names available in this ShaderBytecodeProvider.
(Overrides ShaderBytecodeProviderGetAllResourceNames) | |
GetShaderBytecode |
Gets bytes array of the compiled shader with resourceName or null if this class instance does not have this resource.
(Overrides ShaderBytecodeProviderGetShaderBytecode(String)) |