Method AllocShadowRT
AllocShadowRT(int, int, int, int, float, string)
Allocate a Shadow Map
Declaration
public static RTHandle AllocShadowRT(int width, int height, int bits, int anisoLevel, float mipMapBias, string name)
Parameters
Type | Name | Description |
---|---|---|
int | width | Width of the Shadow Map. |
int | height | Height of the Shadow Map. |
int | bits | Minimum depth bits of the Shadow Map. |
int | anisoLevel | Anisotropic filtering level of the Shadow Map. |
float | mipMapBias | Bias applied to mipmaps during filtering of the Shadow Map. |
string | name | Name of the Shadow Map. |
Returns
Type | Description |
---|---|
RTHandle | If an RTHandle for the Shadow Map |