PushConstant

Inheritance: java.lang.Object

public class PushConstant

Ein Hilfsprogramm, um Daten über Push-Konstanten an den Shader zu übermitteln.

Konstruktoren

KonstruktorBeschreibung
PushConstant()Konstruktor von PushConstant

Methoden

MethodeBeschreibung
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:

ParameterTypBeschreibung
Stufeint
commandListICommandList

Returns: PushConstant

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypBeschreibung
arg0java.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:

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int

write(FMatrix4 mat)

public PushConstant write(FMatrix4 mat)

Schreibe die Matrix in die Konstante

Parameters:

ParameterTypBeschreibung
matFMatrix4Die zu schreibende Matrix

Returns: PushConstant

write(FVector3 vec)

public PushConstant write(FVector3 vec)

Schreibe einen 3‑Komponenten‑Vektor in die Konstante

Parameters:

ParameterTypBeschreibung
vecFVector3

Returns: PushConstant

write(FVector4 vec)

public PushConstant write(FVector4 vec)

Schreibe einen 4‑Komponenten‑Vektor in die Konstante

Parameters:

ParameterTypBeschreibung
vecFVector4

Returns: PushConstant

write(float f)

public PushConstant write(float f)

Schreibe einen Float‑Wert in die Konstante

Parameters:

ParameterTypBeschreibung
ffloat

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:

ParameterTypBeschreibung
xfloat
yfloat
zfloat
wfloat

Returns: PushConstant

write(int n)

public PushConstant write(int n)

Schreibe einen Int‑Wert in die Konstante

Parameters:

ParameterTypBeschreibung
nint

Returns: PushConstant