Click or drag to resize

ProgramAttachShaders Method

Attaches a vertex shader and fragment shader in a single call.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void AttachShaders(
	Shader vertexShader,
	Shader fragmentShader
)

Parameters

vertexShader
Type: OooglesShader
The vertex shader to attach.
fragmentShader
Type: OooglesShader
The fragment shader to attach.
Remarks
This method is just a shortcut for calling AttachShader(Shader) twice.
See Also