Comparable<MaterialTechnique>public abstract class MaterialTechnique extends Object implements Comparable<MaterialTechnique>
| Modifier | Constructor | Description |
|---|---|---|
protected |
MaterialTechnique(int techniqueIndex) |
Protected constructor, only called from children.
|
protected |
MaterialTechnique(int techniqueIndex,
List<MaterialPass> passList) |
Protected copy constructor, only called from children.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(MaterialTechnique other) |
Compare 2 MaterialTechnique based on their index number.
|
protected abstract MaterialPass |
createPassImpl(int index) |
Call implementation to create a new MaterialPass.
|
MaterialPass |
createTexturePass() |
Create a new MaterialPass and insert it in the list.
|
boolean |
equals(Object obj) |
|
MaterialPass |
getPass(int indexValue) |
Get a pass used with this technique, throws InvalidParameterException If
no technique is found for the given parameter.
|
int |
hashCode() |
|
void |
setGlow() |
Activate glow for this technique.
|
protected abstract void |
setGlowImpl() |
Activate glow for this technique in implementation.
|
protected MaterialTechnique(int techniqueIndex)
techniqueIndex - Value of the index.protected MaterialTechnique(int techniqueIndex,
List<MaterialPass> passList)
techniqueIndex - Value of the index.passList - List of pass contained in this technique.public final MaterialPass createTexturePass()
protected abstract MaterialPass createPassImpl(int index)
index - Pass index.public final MaterialPass getPass(int indexValue)
indexValue - Index of the technique used, first is 0.public final void setGlow()
protected abstract void setGlowImpl()
public final int compareTo(MaterialTechnique other)
compareTo in interface Comparable<MaterialTechnique>other - Other technique to compare.Copyright © 2014–2018. All rights reserved.