java.lang.Object
org.pqt.autorib.instr.InstrRequest
org.pqt.autorib.instr.InstrAppendNumber
- public class InstrAppendNumber
- extends InstrRequest
class to handle instruction to append a parameter to a shader. It also
contains a number of static utility functions which are called by the various
map creating instructions (e.g shadowdist) to append map names etc to objects
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shaderType
private java.lang.String shaderType
name
private java.lang.String name
- name of the parameter to replace
InstrAppendNumber
public InstrAppendNumber()
InstrAppendNumber
public InstrAppendNumber(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
read
public void read(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
- read in the append request in the form
Append type name
- Specified by:
read in class InstrRequest
write
public void write(java.io.Writer out)
throws java.io.IOException
- Description copied from class:
InstrRequest
- write out this instruction and its parameters - used for
debugging only
- Specified by:
write in class InstrRequest
doAppend
public void doAppend(org.pqt.autorib.rib.RIBObjectGroup object,
java.lang.String shaderType,
java.lang.String paramName,
int number)
- do the append to an object shader nb. static
process
public void process(InstrWReader rw,
org.pqt.autorib.rib.RIBLight light)
- Description copied from class:
InstrRequest
- Apply this instruction to the given light
- Overrides:
process in class InstrRequest
process
public void process(InstrWReader rw,
org.pqt.autorib.rib.RIBObjectGroup object)
- Description copied from class:
InstrRequest
- Apply this instruction to an object group
- Overrides:
process in class InstrRequest