ShadingRateImage.GetAllocTileSize

Declaration

public static Vector2Int GetAllocTileSize(Vector2Int pixelSize);

Declaration

public static Vector2Int GetAllocTileSize(int pixelWidth, int pixelHeight);

Parameters

pixelSize Pixel size.
pixelWidth Width in pixels.
pixelHeight Height in pixels.

Returns

Vector2Int Tile size matching the given pixel size.

Description

Returns the tile size based on the given pixel size.


Did you find this page useful? Please give it a rating: