Method BlitOctahedralWithPaddingMultiply
BlitOctahedralWithPaddingMultiply(CommandBuffer, Texture, Vector2, Vector4, Vector4, int, bool, int)
Blit a texture (which is a Octahedral projection) using a quad in the current render target, by performing an alpha blend with the existing content on the render target.
선언
public static void BlitOctahedralWithPaddingMultiply(CommandBuffer cmd, Texture source, Vector2 textureSize, Vector4 scaleBiasTex, Vector4 scaleBiasRT, int mipLevelTex, bool bilinear, int paddingInPixels)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CommandBuffer | cmd | Command buffer used for rendering. |
Texture | source | Source texture. |
Vector2 | textureSize | Source texture size. |
Vector4 | scaleBiasTex | Scale and bias for sampling the input texture. |
Vector4 | scaleBiasRT | Scale and bias for the output texture. |
int | mipLevelTex | Mip level to blit. |
bool | bilinear | Enable bilinear filtering. |
int | paddingInPixels | Padding in pixels. |