Method Copy
Copy(in CustomPassContext, RTHandle, RTHandle, int, int)
Copy an RTHandle content to another
선언
public static void Copy(in CustomPassContext ctx, RTHandle source, RTHandle destination, int sourceMip = 0, int destMip = 0)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CustomPassContext | ctx | Custom Pass Context. |
RTHandle | source | Source to use for the copy |
RTHandle | destination | Destination buffer of the copy |
int | sourceMip | Source mip level to sample from. |
int | destMip | Destination mip level to write to. |
Copy(in CustomPassContext, RTHandle, RTHandle, Vector4, Vector4, int, int)
Copy a region of an RTHandle to another
선언
public static void Copy(in CustomPassContext ctx, RTHandle source, RTHandle destination, Vector4 sourceScaleBias, Vector4 destScaleBias, int sourceMip = 0, int destMip = 0)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CustomPassContext | ctx | Custom Pass Context. |
RTHandle | source | Source to use for the copy |
RTHandle | destination | Destination buffer of the copy |
Vector4 | sourceScaleBias | Scale and bias to apply when sampling the source buffer |
Vector4 | destScaleBias | Scale and bias to apply when writing into the destination buffer. |
int | sourceMip | Source mip level to sample from. |
int | destMip | Destination mip level to write to. |