Click or drag to resize

Program(Shader, Boolean) Constructor

Initializes a new instance of the Program struct.

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

Parameters

computeShader  Shader
The compute shader.
destroyShaders  Boolean  (Optional)
if set to true, the compute shader will be released after creating the program.
See Also