Click or drag to resize
Ab4d.SharpEngine logo

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.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public 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