PushConstant

Inheritance: java.lang.Object

public class PushConstant

푸시 상수를 통해 셰이더에 데이터를 제공하는 유틸리티입니다.

생성자

생성자설명
PushConstant()PushConstant의 생성자

메서드

메서드설명
commit(int stage, ICommandList commandList)준비된 데이터를 그래픽 파이프라인에 커밋합니다.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
write(FMatrix4 mat)행렬을 상수에 기록합니다
write(FVector3 vec)3요소 벡터를 상수에 기록합니다
write(FVector4 vec)4요소 벡터를 상수에 기록합니다
write(float f)float 값을 상수에 기록합니다
write(float x, float y, float z, float w)4요소 벡터를 상수에 기록합니다
write(int n)int 값을 상수에 기록합니다

PushConstant()

public PushConstant()

PushConstant의 생성자

commit(int stage, ICommandList commandList)

public PushConstant commit(int stage, ICommandList commandList)

준비된 데이터를 그래픽 파이프라인에 커밋합니다.

Parameters:

매개변수형식설명
단계int
commandListICommandList

Returns: PushConstant

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

매개변수형식설명
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:

매개변수형식설명
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

매개변수형식설명
arg0long
arg1int

write(FMatrix4 mat)

public PushConstant write(FMatrix4 mat)

행렬을 상수에 기록합니다

Parameters:

매개변수형식설명
matFMatrix4기록할 행렬

Returns: PushConstant

write(FVector3 vec)

public PushConstant write(FVector3 vec)

3요소 벡터를 상수에 기록합니다

Parameters:

매개변수형식설명
vecFVector3

Returns: PushConstant

write(FVector4 vec)

public PushConstant write(FVector4 vec)

4요소 벡터를 상수에 기록합니다

Parameters:

매개변수형식설명
vecFVector4

Returns: PushConstant

write(float f)

public PushConstant write(float f)

float 값을 상수에 기록합니다

Parameters:

매개변수형식설명
ffloat

Returns: PushConstant

write(float x, float y, float z, float w)

public PushConstant write(float x, float y, float z, float w)

4요소 벡터를 상수에 기록합니다

Parameters:

매개변수형식설명
xfloat
yfloat
zfloat
wfloat

Returns: PushConstant

write(int n)

public PushConstant write(int n)

int 값을 상수에 기록합니다

Parameters:

매개변수형식설명
nint

Returns: PushConstant