Program Constructor (Shader, 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 public Program(
Shader vertexShader,
Shader fragmentShader,
bool destroyShaders = false
)
Parameters
- vertexShader
- Type: Internal.SharpBgfxShader
The vertex shader. - fragmentShader
- Type: Internal.SharpBgfxShader
The fragment shader. - destroyShaders (Optional)
- Type: SystemBoolean
if set to true, the shaders will be released after creating the program.
See Also