UE3:Texture2DComposite (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UDK Object >> Surface >> Texture >> Texture2DComposite
Package:
Engine
This class in other games:

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