PushConstant
Inheritance: java.lang.Object
public class PushConstant
Een hulpprogramma om gegevens aan de shader te leveren via een push-constante.
Constructors
| Constructor | Beschrijving |
|---|---|
| PushConstant() | Constructor van de PushConstant |
Methoden
| Methode | Beschrijving |
|---|---|
| commit(int stage, ICommandList commandList) | Commit voorbereide gegevens naar de grafische pijplijn. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) | |
| write(FMatrix4 mat) | Schrijf de matrix naar de constante. |
| write(FVector3 vec) | Schrijf een 3-componenten vector naar de constante. |
| write(FVector4 vec) | Schrijf een 4-componenten vector naar de constante. |
| write(float f) | Schrijf een float-waarde naar de constante. |
| write(float x, float y, float z, float w) | Schrijf een 4-componenten vector naar de constante. |
| write(int n) | Schrijf een int-waarde naar de constante. |
PushConstant()
public PushConstant()
Constructor van de PushConstant
commit(int stage, ICommandList commandList)
public PushConstant commit(int stage, ICommandList commandList)
Commit voorbereide gegevens naar de grafische pijplijn.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| fase | int | |
| commandList | ICommandList |
Returns: PushConstant
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| arg0 | long | |
| arg1 | int |
write(FMatrix4 mat)
public PushConstant write(FMatrix4 mat)
Schrijf de matrix naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| mat | FMatrix4 | De matrix om te schrijven |
Returns: PushConstant
write(FVector3 vec)
public PushConstant write(FVector3 vec)
Schrijf een 3-componenten vector naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| vec | FVector3 |
Returns: PushConstant
write(FVector4 vec)
public PushConstant write(FVector4 vec)
Schrijf een 4-componenten vector naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| vec | FVector4 |
Returns: PushConstant
write(float f)
public PushConstant write(float f)
Schrijf een float-waarde naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| f | float |
Returns: PushConstant
write(float x, float y, float z, float w)
public PushConstant write(float x, float y, float z, float w)
Schrijf een 4-componenten vector naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| x | float | |
| y | float | |
| z | float | |
| w | float |
Returns: PushConstant
write(int n)
public PushConstant write(int n)
Schrijf een int-waarde naar de constante.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| n | int |
Returns: PushConstant