Overloads
RenderTargetHandle GetRenderTarget (string name, ImageFormat format, int numMips, int sizeFactor)

Parameters

NameTypeDescription
name string The name of the render target handle.
format ImageFormat The format for the color buffer. If set to default we'll use whatever the current pipeline is using.
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.
sizeFactor = 1 int Divide the screen size by this factor. 2 would be half screen sized. 1 for full screen sized.

Returns

TypeDescription
RenderTargetHandle A RenderTarget that is ready to render to.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.