The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:Texture2DDynamic (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
- 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