Click or drag to resize
AB4D 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: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public void AddShaderBytecode(
	string resourceName,
	byte[] bytecode
)

Parameters

resourceName  String
shader name
bytecode  Byte
byte array with compiled shader bytes
See Also