public class PushConstant
extends java.lang.Object
| Constructor and Description |
|---|
PushConstant()
Constructor of the
PushConstant |
| Modifier and Type | Method and Description |
|---|---|
PushConstant |
commit(int stage,
ICommandList commandList)
Commit prepared data to graphics pipeline.
|
PushConstant |
write(float f)
Write a float value to the constant
|
PushConstant |
write(float x,
float y,
float z,
float w)
Write a 4-component vector to the constant
|
PushConstant |
write(FMatrix4 mat)
Write the matrix to the constant
|
PushConstant |
write(FVector3 vec)
Write a 3-component vector to the constant
|
PushConstant |
write(FVector4 vec)
Write a 4-component vector to the constant
|
PushConstant |
write(int n)
Write a int value to the constant
|
public PushConstant()
PushConstantpublic PushConstant write(FMatrix4 mat)
mat - The matrix to writepublic PushConstant write(int n)
n - public PushConstant write(float f)
f - public PushConstant write(FVector4 vec)
vec - public PushConstant write(FVector3 vec)
vec - public PushConstant write(float x, float y, float z, float w)
x - y - z - w - public PushConstant commit(int stage, ICommandList commandList)
stage - commandList -