public class GLSliderUintUC extends SliderIntUC implements IGLUniformControl
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR
Constructor and Description |
---|
GLSliderUintUC(String name,
org.synthclipse.core.parser.Control control,
String typeString) |
Modifier and Type | Method and Description |
---|---|
void |
applyUniformValue() |
String |
getGLSLType() |
org.synthclipse.core.gl.GLSLProgram |
getProgram() |
String |
getProgramName() |
org.synthclipse.core.gl.GLSLUniform |
getUniform() |
boolean |
isActive() |
void |
setProgram(org.synthclipse.core.gl.GLSLProgram program) |
void |
setUniform(org.synthclipse.core.gl.GLSLUniform uniform) |
String |
toGLSLVariableDefinition()
Converts UniformControl to GLSL variable definition,
without "uniform" qualifier at the beginning.
|
String |
toString() |
getControlClass, getControlType, getDefaultMaxValue, getDefaultMinValue, getDefaultStepSize, getDefaultValue, getMaxPresetDefaultValue, getMaxPresetValue, getMaxValue, getMinPresetDefaultValue, getMinPresetValue, getMinValue, getPresetDefaultValue, getPresetValue, getStepSize, getStepSizeDefaultPresetValue, getStepSizePresetValue, getValue, isRangePresetSavable, isStepSizePresetSavable, loadAllDefaults, loadDefaultMaxValue, loadDefaultMinValue, loadDefaultStepSizeValue, loadDefaultValue, parsePresetValue, setDefaultMaxValue, setDefaultMinValue, setDefaultStepSize, setDefaultValue, setMaxPresetValue, setMaxValue, setMinPresetValue, setMinValue, setPresetValue, setStepSize, setStepSizePresetValue, setUniformValue, setValue
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getQualifiedName, getRepeatDirection, getRepeatMode, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChanged
getClass, hashCode, notify, notifyAll, wait, wait, wait
getControl, getControlClass, getControlType, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getQualifiedName, getRepeatDirection, getRepeatMode, isValid, loadAllDefaults, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, setUniformValue
valueChanged
public void applyUniformValue()
applyUniformValue
in interface IUniformControl
applyUniformValue
in class SliderIntUC
public String toGLSLVariableDefinition()
IGLUniformControl
toGLSLVariableDefinition
in interface IGLUniformControl
public org.synthclipse.core.gl.GLSLUniform getUniform()
getUniform
in interface IGLUniformControl
public void setUniform(org.synthclipse.core.gl.GLSLUniform uniform)
setUniform
in interface IGLUniformControl
public org.synthclipse.core.gl.GLSLProgram getProgram()
getProgram
in interface IGLUniformControl
public void setProgram(org.synthclipse.core.gl.GLSLProgram program)
setProgram
in interface IGLUniformControl
public String getProgramName()
getProgramName
in interface IUniformControl
getProgramName
in class AbstractUniformControl
public String getGLSLType()
getGLSLType
in interface IGLUniformControl
public boolean isActive()
isActive
in interface IUniformControl
isActive
in class AbstractUniformControl