public interface TechniqueModel extends NamedModelElement
| Modifier and Type | Method and Description |
|---|---|
TechniqueParametersModel |
getAttributeParameters(java.lang.String attributeName)
Returns the
TechniqueParametersModel for the attribute
with the given name, or null if no such parameter
exists. |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns an unmodifiable map that maps attribute names to
parameter names
|
java.util.Map<java.lang.String,TechniqueParametersModel> |
getParameters()
Returns an unmodifiable map that maps parameter names to
TechniqueParametersModel instances |
ProgramModel |
getProgramModel()
Returns the
ProgramModel that is used for implementing this
technique |
TechniqueStatesModel |
getTechniqueStatesModel()
Returns the
TechniqueStatesModel, or null if the
default technique states should be used. |
TechniqueParametersModel |
getUniformParameters(java.lang.String uniformName)
Returns the
TechniqueParametersModel for the uniform
with the given name, or null if no such parameter
exists. |
java.util.Map<java.lang.String,java.lang.String> |
getUniforms()
Returns an unmodifiable map that maps uniform names to
parameter names
|
getNamegetExtensions, getExtrasProgramModel getProgramModel()
ProgramModel that is used for implementing this
techniqueProgramModeljava.util.Map<java.lang.String,TechniqueParametersModel> getParameters()
TechniqueParametersModel instancesjava.util.Map<java.lang.String,java.lang.String> getAttributes()
TechniqueParametersModel getAttributeParameters(java.lang.String attributeName)
TechniqueParametersModel for the attribute
with the given name, or null if no such parameter
exists. This is a convenience function and equivalent to
techniqueModel.getParameters().get(
techniqueModel.getAttributes().get(attributeName));
,
handling null-cases accordingly.attributeName - The attribute nameTechniqueParametersModeljava.util.Map<java.lang.String,java.lang.String> getUniforms()
TechniqueParametersModel getUniformParameters(java.lang.String uniformName)
TechniqueParametersModel for the uniform
with the given name, or null if no such parameter
exists. This is a convenience function and equivalent to
techniqueModel.getParameters().get(
techniqueModel.getUniforms().get(uniformName));
,
handling null-cases accordingly.uniformName - The uniform nameTechniqueParametersModelTechniqueStatesModel getTechniqueStatesModel()
TechniqueStatesModel, or null if the
default technique states should be used.TechniqueStatesModelCopyright © 2022. All Rights Reserved.