GetRenderTarget

From Garry's Mod
Revision as of 11:10, 16 May 2014 by EstevanTH (Talk | contribs)
Jump to: navigation, search
 GetRenderTarget( )

Contents

Description

Creates or gets the rendertarget with the given name.

Arguments

string name

The internal name of the render target.

Arguments

number width

The width of the render target, must be power of 2.

Arguments

number height

The height of the render target, must be power of 2.

Arguments

boolean additive

Sets whenever the rt should be additive.

Returns

ITexture

renderTarget
Personal tools
Navigation