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 | |
| commandList | ICommandList |
Returns: PushConstant
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 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:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long | |
| arg1 | int |
write(FMatrix4 mat)
public PushConstant write(FMatrix4 mat)
행렬을 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| mat | FMatrix4 | 기록할 행렬 |
Returns: PushConstant
write(FVector3 vec)
public PushConstant write(FVector3 vec)
3요소 벡터를 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| vec | FVector3 |
Returns: PushConstant
write(FVector4 vec)
public PushConstant write(FVector4 vec)
4요소 벡터를 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| vec | FVector4 |
Returns: PushConstant
write(float f)
public PushConstant write(float f)
float 값을 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| f | float |
Returns: PushConstant
write(float x, float y, float z, float w)
public PushConstant write(float x, float y, float z, float w)
4요소 벡터를 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | float | |
| y | float | |
| z | float | |
| w | float |
Returns: PushConstant
write(int n)
public PushConstant write(int n)
int 값을 상수에 기록합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| n | int |
Returns: PushConstant