Method BlitCubeTexture2D
BlitCubeTexture2D(CommandBuffer, Vector4, Texture, bool, int)
Blit and project Cube texture into a 2D texture in the atlas.
Declaration
public virtual void BlitCubeTexture2D(CommandBuffer cmd, Vector4 scaleOffset, Texture texture, bool blitMips = true, int overrideInstanceID = -1)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Target command buffer for graphics commands. |
Vector4 | scaleOffset | Destination scale (.xy) and offset (.zw) |
Texture | texture | Source Texture |
bool | blitMips | Blit mip maps. |
int | overrideInstanceID | Override texture instance ID. |