HudShaderSourcesProvider
Provider of HUD shader sources.
Shader sources returned by implementations of this interface can use the following input variables:
attribute vec2 aPos
– vertex position in 2D space,attribute vec2 aTexCoords
– texture coordinates,uniform mat4 uMVPMat
– MVP matrix,uniform sampler2D uTex
– texture of the atom.
Types
Functions
Link copied to clipboard
abstract fun getShaderSource(shaderType: <Error class: unknown class>): String
Content copied to clipboard
Returns shader source for given shaderType.