- java.lang.Object
-
- be.yildizgames.module.graphic.shader.Shader
-
public abstract class Shader extends Object
A shader data, can be fragment, vertex or geometry shader.- Author:
- Grégory Van den Borre
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShader.FragmentDxDirectX fragment profiles.static classShader.FragmentGLOpenGL fragment profiles.static classShader.FragmentProfileListContains the profile to use for a fragment shader.static classShader.ShaderProfileBase class for shader profiles list.static classShader.ShaderTypePossible shader types.static classShader.ShaderTypeExceptionException to throw in case of the shader type not being the one expected.static classShader.VertexDxDirectX vertex profiles.static classShader.VertexGLOpenGL vertex profiles.static classShader.VertexProfileListContains the profile to use for a vertex shader.
-
Constructor Summary
Constructors Modifier Constructor Description protectedShader(String name, Shader.ShaderType type)
-
-
-
Constructor Detail
-
Shader
protected Shader(String name, Shader.ShaderType type)
-
-
Method Detail
-
getName
public String getName()
-
getType
public Shader.ShaderType getType()
-
-