 |
DictionaryShaderBytecodeProviderAddShaderBytecode Method |
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.
Namespace: Ab4d.SharpEngine.EffectsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void AddShaderBytecode(
string resourceName,
byte[] bytecode
)
Parameters
- resourceName String
- shader name
- bytecode Byte
- byte array with compiled shader bytes
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Effects.DictionaryShaderBytecodeProvider.AddShaderBytecode(System.String,System.Byte[])"]
See Also