Click or drag to resize

Program Constructor (Shader, Boolean)

Initializes a new instance of the Program struct.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Program(
	Shader computeShader,
	bool destroyShaders = false
)

Parameters

computeShader
Type: Internal.SharpBgfxShader
The compute shader.
destroyShaders (Optional)
Type: SystemBoolean
if set to true, the compute shader will be released after creating the program.
See Also