Class Shader
java.lang.Object
org.openpatch.scratch.extensions.shader.Shader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the nameprocessing.opengl.PShader
Returns the shadervoid
void
void
void
void
void
void
void
void
void
void
Sets the name
-
Constructor Details
-
Shader
Constructor- Parameters:
name
- unique namepath
- path to the shader file
-
Shader
Copy constructor- Parameters:
shader
- shader
-
-
Method Details
-
getName
Returns the name- Returns:
- the name
-
setName
Sets the name- Parameters:
name
- unique name
-
getPShader
public processing.opengl.PShader getPShader()Returns the shader- Returns:
- the shader
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-