public class Program extends GlTFChildOfRootProperty
| Constructor and Description |
|---|
Program() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(java.lang.String element)
Add the given attributes.
|
java.util.List<java.lang.String> |
defaultAttributes()
Returns the default value of the attributes
|
java.util.List<java.lang.String> |
getAttributes()
Names of GLSL vertex shader attributes.
|
java.lang.Integer |
getFragmentShader()
The index of the fragment shader.
|
java.lang.Integer |
getVertexShader()
The index of the vertex shader.
|
void |
removeAttributes(java.lang.String element)
Remove the given attributes.
|
void |
setAttributes(java.util.List<java.lang.String> attributes)
Names of GLSL vertex shader attributes.
|
void |
setFragmentShader(java.lang.Integer fragmentShader)
The index of the fragment shader.
|
void |
setVertexShader(java.lang.Integer vertexShader)
The index of the vertex shader.
|
getName, setNameaddExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setAttributes(java.util.List<java.lang.String> attributes)
attributes - The attributes to setpublic java.util.List<java.lang.String> getAttributes()
public void addAttributes(java.lang.String element)
element - The elementjava.lang.NullPointerException - If the given element is nullpublic void removeAttributes(java.lang.String element)
null.element - The elementjava.lang.NullPointerException - If the given element is nullpublic java.util.List<java.lang.String> defaultAttributes()
getAttributes()public void setFragmentShader(java.lang.Integer fragmentShader)
fragmentShader - The fragmentShader to setjava.lang.NullPointerException - If the given value is nullpublic java.lang.Integer getFragmentShader()
public void setVertexShader(java.lang.Integer vertexShader)
vertexShader - The vertexShader to setjava.lang.NullPointerException - If the given value is nullpublic java.lang.Integer getVertexShader()
Copyright © 2022. All Rights Reserved.