PushConstant

Inheritance: java.lang.Object

public class PushConstant

Een hulpprogramma om gegevens aan de shader te leveren via een push-constante.

Constructors

ConstructorBeschrijving
PushConstant()Constructor van de PushConstant

Methoden

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

ParameterTypeBeschrijving
faseint
commandListICommandList

Returns: PushConstant

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

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

ParameterTypeBeschrijving
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeBeschrijving
arg0long
arg1int

write(FMatrix4 mat)

public PushConstant write(FMatrix4 mat)

Schrijf de matrix naar de constante.

Parameters:

ParameterTypeBeschrijving
matFMatrix4De matrix om te schrijven

Returns: PushConstant

write(FVector3 vec)

public PushConstant write(FVector3 vec)

Schrijf een 3-componenten vector naar de constante.

Parameters:

ParameterTypeBeschrijving
vecFVector3

Returns: PushConstant

write(FVector4 vec)

public PushConstant write(FVector4 vec)

Schrijf een 4-componenten vector naar de constante.

Parameters:

ParameterTypeBeschrijving
vecFVector4

Returns: PushConstant

write(float f)

public PushConstant write(float f)

Schrijf een float-waarde naar de constante.

Parameters:

ParameterTypeBeschrijving
ffloat

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:

ParameterTypeBeschrijving
xfloat
yfloat
zfloat
wfloat

Returns: PushConstant

write(int n)

public PushConstant write(int n)

Schrijf een int-waarde naar de constante.

Parameters:

ParameterTypeBeschrijving
nint

Returns: PushConstant