Method BlitOctahedralTexture
BlitOctahedralTexture(CommandBuffer, Vector4, Texture, Vector4, bool, int)
Blit octahedral texture into the atlas with padding.
Declaration
public override void BlitOctahedralTexture(CommandBuffer cmd, Vector4 scaleOffset, Texture texture, Vector4 sourceScaleOffset, 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 |
Vector4 | sourceScaleOffset | Source scale (.xy) and offset(.zw). |
bool | blitMips | Blit mip maps. |
int | overrideInstanceID | Override texture instance ID. |