Skip to content

TextureRenderTarget2D

Class in Engine · Engine.TextureRenderTarget2D · native

Object › Surface › Texture › TextureRenderTarget › TextureRenderTarget2D

Subclasses: ScriptedTexture

Using it from Lua
h7.find_all("TextureRenderTarget2D")            -- live instances
h7.find_class("Engine.TextureRenderTarget2D")   -- the class
h7.hook("Engine.TextureRenderTarget2D.Create", fn)

Properties

NameTypeNotes
AddressXTextureAddress
AddressYTextureAddress
bForceLinearGammaboolconst, transient
ClearColorLinearColorconst, private
FormatEPixelFormatconst
SizeXintconst
SizeYintconst

Functions

NameDeclaration
Createstatic final native function TextureRenderTarget2D Create(int InSizeX, int InSizeY, optional EPixelFormat InFormat = PF_A8R8G8B8, optional LinearColor InClearColor, optional bool bOnlyRenderOnce)

Default values

Format=PF_A8R8G8B8
ClearColor=(R=0.0,G=1.0,B=0.0,A=1.0)

Inherited

FromMembers
TextureRenderTarget4 properties, 0 functions
Texture40 properties, 0 functions
Surface0 properties, 2 functions
Object13 properties, 308 functions