There is no spoon

UE3:Texture2DDynamic (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Surface >> Texture >> Texture2DDynamic
Package: 
Engine


Properties[edit]

bIsResolveTarget[edit]

Type: bool

Modifiers: native, transient

Whether the texture can be used as a resolve target.

Format[edit]

Type: Texture.EPixelFormat

Modifiers: native, transient

The format of the texture.

NumMips[edit]

Type: int

Modifiers: native, transient

The number of mip-maps in the texture.

SizeX[edit]

Type: int

Modifiers: native, transient

The width of the texture.

SizeY[edit]

Type: int

Modifiers: native, transient

The height of the texture.

Default values[edit]

Property Value
NeverStream True

Functions[edit]

Static native functions[edit]

Create[edit]

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[edit]

Init[edit]

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