PushConstant
Inheritance: java.lang.Object
public class PushConstant
Ein Hilfsprogramm, um Daten über Push-Konstanten an den Shader zu übermitteln.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| PushConstant() | Konstruktor von PushConstant |
Methoden
| Methode | Beschreibung |
|---|---|
| commit(int stage, ICommandList commandList) | Übermittelt vorbereitete Daten an die Grafikpipeline. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) | |
| write(FMatrix4 mat) | Schreibe die Matrix in die Konstante |
| write(FVector3 vec) | Schreibe einen 3‑Komponenten‑Vektor in die Konstante |
| write(FVector4 vec) | Schreibe einen 4‑Komponenten‑Vektor in die Konstante |
| write(float f) | Schreibe einen Float‑Wert in die Konstante |
| write(float x, float y, float z, float w) | Schreibe einen 4‑Komponenten‑Vektor in die Konstante |
| write(int n) | Schreibe einen Int‑Wert in die Konstante |
PushConstant()
public PushConstant()
Konstruktor von PushConstant
commit(int stage, ICommandList commandList)
public PushConstant commit(int stage, ICommandList commandList)
Übermittelt vorbereitete Daten an die Grafikpipeline.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Stufe | int | |
| commandList | ICommandList |
Returns: PushConstant
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| 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 | Typ | Beschreibung |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long | |
| arg1 | int |
write(FMatrix4 mat)
public PushConstant write(FMatrix4 mat)
Schreibe die Matrix in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| mat | FMatrix4 | Die zu schreibende Matrix |
Returns: PushConstant
write(FVector3 vec)
public PushConstant write(FVector3 vec)
Schreibe einen 3‑Komponenten‑Vektor in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| vec | FVector3 |
Returns: PushConstant
write(FVector4 vec)
public PushConstant write(FVector4 vec)
Schreibe einen 4‑Komponenten‑Vektor in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| vec | FVector4 |
Returns: PushConstant
write(float f)
public PushConstant write(float f)
Schreibe einen Float‑Wert in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| f | float |
Returns: PushConstant
write(float x, float y, float z, float w)
public PushConstant write(float x, float y, float z, float w)
Schreibe einen 4‑Komponenten‑Vektor in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| x | float | |
| y | float | |
| z | float | |
| w | float |
Returns: PushConstant
write(int n)
public PushConstant write(int n)
Schreibe einen Int‑Wert in die Konstante
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| n | int |
Returns: PushConstant