Method ShadowRTNeedsReAlloc
ShadowRTNeedsReAlloc(RTHandle, int, int, int, int, float, string)
Return true if handle does not match the requirements
Declaration
public static bool ShadowRTNeedsReAlloc(RTHandle handle, int width, int height, int bits, int anisoLevel, float mipMapBias, string name)
Parameters
Type | Name | Description |
---|---|---|
RTHandle | handle | RTHandle to check (can be null). |
int | width | Width of the RTHandle to match. |
int | height | Height of the RTHandle to match. |
int | bits | Depth bits of the RTHandle to match. |
int | anisoLevel | Anisotropic filtering level of the RTHandle to match. |
float | mipMapBias | Bias applied to mipmaps during filtering of the RTHandle to match. |
string | name | Name of the RTHandle of the RTHandle to match. |
Returns
Type | Description |
---|---|
bool | If the RTHandle needs to be re-allocated |