Package mindustry.graphics
Class Shaders.SurfaceShader
java.lang.Object
arc.graphics.gl.Shader
mindustry.graphics.Shaders.SurfaceShader
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
Shaders.SpaceShader
- Enclosing class:
- Shaders
-
Field Summary
Fields inherited from class arc.graphics.gl.Shader
colorAttribute, mixColorAttribute, normalAttribute, pedantic, positionAttribute, prependFragmentCode, prependVertexCode, texcoordAttribute
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
Applies all relevant uniforms, if applicable.void
Methods inherited from class arc.graphics.gl.Shader
bind, copyTransform, copyTransform, createProgram, disableVertexAttribute, dispose, fetchUniformLocation, getAttributeLocation, getAttributes, getAttributeSize, getAttributeType, getFragmentShaderSource, getLog, getUniformLocation, getUniforms, getUniformSize, getUniformType, getVertexShaderSource, hasAttribute, hasUniform, isCompiled, isDisposed, preprocess, setUniform1fv, setUniform1fv, setUniform2fv, setUniform2fv, setUniform3fv, setUniform3fv, setUniform4fv, setUniform4fv, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformf, setUniformi, setUniformi, setUniformi, setUniformi, setUniformi, setUniformi, setUniformi, setUniformi, setUniformMatrix, setUniformMatrix, setUniformMatrix, setUniformMatrix, setUniformMatrix3fv, setUniformMatrix4, setUniformMatrix4, setUniformMatrix4, setUniformMatrix4fv, setUniformMatrix4fv, setUniformMatrix4fv