| width |
int |
Width of the render target you want. |
| height |
int |
Height of the render target you want. |
| colorFormat = -2 |
ImageFormat |
The format for the color buffer. If set to default we'll use whatever the current pipeline is using. |
| depthFormat = -2 |
ImageFormat |
The format for the depth buffer. |
| msaa = 6 |
MultisampleAmount |
The number of msaa samples you'd like. Msaa render textures are a pain in the ass so you're probably gonna regret trying to use this. |
| numMips = 1 |
int |
Number of mips you want in this texture. You probably don't want this unless you want to generate mips in a second pass. |
| targetName = |
string |
The optional name of the render target |