Click or drag to resize
Ab4d.SharpEngine logo

SimpleShaderBytecodeProviderGetShaderBytecode Method

Gets bytes array of the compiled shader with resourceName or null if this class instance does not have this resource.

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public override byte[]? GetShaderBytecode(
	string resourceName
)

Parameters

resourceName  String
name of the resource

Return Value

Byte
bytes array of the compiled shader or null if this instance does not have this resource
See Also