UE3:TextureRenderTarget2D (UDK): Difference between revisions
No edit summary |
m 1 revision: class descriptions for UDK January update (part 5) |
||
(One intermediate revision by the same user not shown) | |||
Line 84: | Line 84: | ||
{{code|static native noexport final function {{cl|TextureRenderTarget2D}} '''Create''' ([[int]] '''InSizeX''', [[int]] '''InSizeY''', optional {{tl|EPixelFormat|Texture|enums}} '''InFormat''', optional {{tl|LinearColor|Object|structs}} '''InClearColor''', optional [[bool]] '''bOnlyRenderOnce''')}} | {{code|static native noexport final function {{cl|TextureRenderTarget2D}} '''Create''' ([[int]] '''InSizeX''', [[int]] '''InSizeY''', optional {{tl|EPixelFormat|Texture|enums}} '''InFormat''', optional {{tl|LinearColor|Object|structs}} '''InClearColor''', optional [[bool]] '''bOnlyRenderOnce''')}} | ||
creates and initializes a new TextureRenderTarget2D with the requested settings |
Latest revision as of 06:48, 17 January 2010
![]() |
Object >> Surface >> Texture >> TextureRenderTarget >> TextureRenderTarget2D |
- Package:
- Engine
- Direct subclass:
- ScriptedTexture
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
TextureRenderTarget2D
2D render target texture resource. This can be used as a target for rendering as well as rendered as a regular 2D texture resource.
Properties
Property group 'TextureRenderTarget2D'
AddressX
Type: Texture.TextureAddress
The addressing mode to use for the X axis.
AddressY
Type: Texture.TextureAddress
The addressing mode to use for the Y axis.
bForceLinearGamma
Type: bool
Modifiers: const, transient
True to force linear gamma space for this render target
SizeX
Type: int
Modifiers: const
The width of the texture.
SizeY
Type: int
Modifiers: const
The height of the texture.
Internal variables
ClearColor
Type: Object.LinearColor
Modifiers: const, private
the color the texture is cleared to
Default value:
Member | Value |
---|---|
A | 1.0 |
B | 0.0 |
G | 1.0 |
R | 0.0 |
Format
Type: Texture.EPixelFormat
Modifiers: const
The format of the texture data.
Default value: PF_A8R8G8B8
Static native functions
Create
creates and initializes a new TextureRenderTarget2D with the requested settings