The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:Texture2DComposite (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Surface >> Texture >> Texture2DComposite
Package: 
Engine
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

MaxTextureSize

Type: int

Optional max texture size clamp for the composite texture. A value of 0 is ignored and defaults to deriving the texture size using texture LOD bias settings from the source textures

SourceRegions

Type: array<SourceTexture2DRegion>

list of source textures and UV regions for compositing

Default values

Property Value
NeverStream True

Structs

SourceTexture2DRegion

Modifiers: native

Defines a source texture and UV region in that texture

int OffsetX 
int OffsetY 
int SizeX 
int SizeY 
Texture2D Texture2D 

Native functions

ResetSourceRegions

native final function ResetSourceRegions ()

Utils to reset all source region info.

SourceTexturesFullyStreamedIn

native final function bool SourceTexturesFullyStreamedIn ()

Utility that checks to see if all Texture2Ds specified in the SourceRegions array are fully streamed in.

UpdateCompositeTexture

native final function UpdateCompositeTexture (int NumMipsToGenerate)

Regenerates this composite texture using the list of source texture regions. The existing mips are reallocated and the RHI resource for the texture is updated

Parameters:

  • NumMipsToGenerate - number of mips to generate. if 0 then all mips are created