Class ShaderManager
Defined in: ShaderManager.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
ShaderManager.addShader(shader)
|
<static> |
ShaderManager.getFragmentShader(name)
|
<static> |
ShaderManager.getShader(name)
|
<static> |
ShaderManager.getShaderSource(name)
|
<static> |
ShaderManager.getVertexShader(name)
|
<static> |
ShaderManager.loadFragmentShader(name, source)
|
<static> |
ShaderManager.loadShader(shaderType, shaderSource)
|
<static> |
ShaderManager.loadVertexShader(name, source)
|
Method Detail
<static>
ShaderManager.addShader(shader)
- Parameters:
- shader
<static>
ShaderManager.getFragmentShader(name)
- Parameters:
- name
<static>
ShaderManager.getShader(name)
- Parameters:
- name
<static>
ShaderManager.getShaderSource(name)
- Parameters:
- name
<static>
ShaderManager.getVertexShader(name)
- Parameters:
- name
<static>
ShaderManager.loadFragmentShader(name, source)
- Parameters:
- name
- source
<static>
ShaderManager.loadShader(shaderType, shaderSource)
- Parameters:
- shaderType
- shaderSource
<static>
ShaderManager.loadVertexShader(name, source)
- Parameters:
- name
- source