G.GetRenderTargetEx

From GMod Wiki

Revision as of 14:48, 5 October 2011 by Wizard (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax GetRenderTarget( String rtName, Number width, Number height, Integer sizemode, Integer depthmode, Integer textureflags, Integer rtflags )
Where is this used?
Description:
Creates a new rendertarget(?).
Returns: ITexture
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetRenderTargetEx]G.GetRenderTargetEx [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



RT_SIZE_

CLIENT | 0000000000000000 | 00000000000000000 | NO_CHANGE
CLIENT | 0000000000000001 | 00000000000000001 | DEFAULT
CLIENT | 0000000000000002 | 00000000000000010 | PICMIP
CLIENT | 0000000000000003 | 00000000000000011 | HDR
CLIENT | 0000000000000004 | 00000000000000100 | FULL_FRAME_BUFFER
CLIENT | 0000000000000005 | 00000000000000101 | OFFSCREEN
CLIENT | 0000000000000006 | 00000000000000110 | FULL_FRAME_BUFFER_ROUNDED_UP

MATERIAL_RT_DEPTH_

SHARED | 0000000000000000 | 00000000000000000 | SHARED
SHARED | 0000000000000001 | 00000000000000001 | SEPERATE
SHARED | 0000000000000002 | 00000000000000010 | NONE
SHARED | 0000000000000003 | 00000000000000011 | ONLY

CREATERENDERTARGETFLAGS_

CLIENT | 0000000000000000 | 00000000000000001 | HDR
CLIENT | 0000000000000001 | 00000000000000010 | AUTOMIPMAP
CLIENT | 0000000000000004 | 00000000000000100 | UNFILTERABLE_OK
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox