There is no spoon
Difference between revisions of "UE3:Texture2DDynamic (UDK)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Talk) |
(Talk) |
||
Line 58: | Line 58: | ||
{{code|static native noexport final function {{cl|Texture2DDynamic}} '''Create''' ([[int]] '''InSizeX''', [[int]] '''InSizeY''', optional {{tl|EPixelFormat|Texture|enums}} '''InFormat''', optional [[bool]] '''InIsResolveTarget''')}} | {{code|static native noexport final function {{cl|Texture2DDynamic}} '''Create''' ([[int]] '''InSizeX''', [[int]] '''InSizeY''', optional {{tl|EPixelFormat|Texture|enums}} '''InFormat''', optional [[bool]] '''InIsResolveTarget''')}} | ||
− | + | Creates and initializes a new Texture2DDynamic with the requested settings | |
===Native functions=== | ===Native functions=== |
Revision as of 05:24, 17 January 2010
- Package:
- Engine
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. |
Properties
bIsResolveTarget
Type: bool
Modifiers: native, transient
Whether the texture can be used as a resolve target.
Format
Type: Texture.EPixelFormat
Modifiers: native, transient
The format of the texture.
NumMips
Type: int
Modifiers: native, transient
The number of mip-maps in the texture.
SizeX
Type: int
Modifiers: native, transient
The width of the texture.
SizeY
Type: int
Modifiers: native, transient
The height of the texture.
Default values
Property | Value |
---|---|
NeverStream | True |
Functions
Static native functions
Create
static native noexport final function Texture2DDynamic Create (int InSizeX, int InSizeY, optional Texture.EPixelFormat InFormat, optional bool InIsResolveTarget)
Creates and initializes a new Texture2DDynamic with the requested settings
Native functions
Init
native final function Init (int InSizeX, int InSizeY, optional Texture.EPixelFormat InFormat, optional bool InIsResolveTarget)
Initializes the texture with 1 mip-level and creates the render resource.
Parameters:
- InSizeX - Width of the texture, in texels
- InSizeY - Height of the texture, in texels
- InFormat - Format of the texture, defaults to PF_A8R8G8B8
- InIsResolveTarget - Whether the texture can be used as a resolve target