|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object codeanticode.glgraphics.GLTextureFilterParameter
public abstract class GLTextureFilterParameter
This class stores the parameter for a texture filter.
Constructor Summary | |
---|---|
GLTextureFilterParameter(processing.core.PApplet parent,
GLShader shader,
java.lang.String name,
java.lang.String label,
int type)
Creates an instance of GLTextureFilterParameter using the specified parameters. |
|
GLTextureFilterParameter(processing.core.PApplet parent,
java.lang.String name,
java.lang.String label,
int type)
|
Method Summary | |
---|---|
abstract boolean |
available()
Returns true or false depending on whether this variable is available for use. |
abstract void |
copyToShader()
Copies variable values to shader. |
abstract java.lang.String |
getLabel()
Returns parameter label. |
abstract java.lang.String |
getName()
Returns parameter name. |
abstract void |
init()
Initializes this parameter. |
abstract void |
setShader(GLShader shader)
|
abstract void |
setValue(float value)
Sets the parameter value when the type is float. |
abstract void |
setValue(float[] value)
Sets the parameter value for any type. |
abstract void |
setValue(int value)
Sets the parameter value when the type is int. |
abstract void |
setValue(int i,
float value)
Sets the ith value for the parameter (only valid for vec or mat types). |
abstract void |
setValue(int i,
int j,
float value)
Sets the (ith, jth) value for the parameter (only valid for mat types). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GLTextureFilterParameter(processing.core.PApplet parent, java.lang.String name, java.lang.String label, int type)
public GLTextureFilterParameter(processing.core.PApplet parent, GLShader shader, java.lang.String name, java.lang.String label, int type)
parent
- PAppletshader
- GLShadername
- Stringlabel
- Stringtype
- intMethod Detail |
---|
public abstract void setShader(GLShader shader)
public abstract boolean available()
public abstract void init()
public abstract void setValue(int value)
value
- intpublic abstract void setValue(float value)
value
- floatpublic abstract void setValue(float[] value)
value
- float[]public abstract void setValue(int i, float value)
int
- ivalue
- floatpublic abstract void setValue(int i, int j, float value)
int
- iint
- jvalue
- floatpublic abstract void copyToShader()
public abstract java.lang.String getName()
public abstract java.lang.String getLabel()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |