Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 |
/** * TextureRenderTargetCube * * Cube render target texture resource. This can be used as a target * for rendering as well as rendered as a regular cube texture resource. * * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class TextureRenderTargetCube extends TextureRenderTarget native(Texture) hidecategories(Object) hidecategories(Texture); /** The width of the texture. */ var() int SizeX; /** The format of the texture data. */ var const EPixelFormat Format; cpptext { /** * Initialize the settings needed to create a render target texture * and create its resource * @param InSizeX - width of the texture * @param InFormat - format of the texture */ void Init(UINT InSizeX, EPixelFormat InFormat); /** * Utility for creating a new UTextureCube from a TextureRenderTargetCube. * TextureRenderTargetCube must be square and a power of two size. * @param Outer Outer to use when constructing the new TextureCube. * @param NewTexName Name of new UTextureCube object. * @param Flags Various control flags for operation (see EObjectFlags) * @param bSaveSourceArt If true, source art will be saved. * @return New UTextureCube object. */ class UTextureCube* ConstructTextureCube(UObject* Outer, const FString& NewTexName, EObjectFlags InFlags, UBOOL bSaveSourceArt=FALSE); // USurface interface /** * @return width of surface */ virtual FLOAT GetSurfaceWidth() const { return SizeX; } /** * @return height of surface */ virtual FLOAT GetSurfaceHeight() const { return SizeX; } // UTexture interface. /** * Create a new 2D render target texture resource * @return newly created FTextureRenderTarget2DResource */ virtual FTextureResource* CreateResource(); /** * Materials should treat a render target 2D texture like a regular 2D texture resource. * @return EMaterialValueType for this resource */ virtual EMaterialValueType GetMaterialType(); // UObject interface /** * Called when any property in this object is modified in UnrealEd * @param PropertyThatChanged - changed property */ virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent); /** * Called after the object has been loaded */ virtual void PostLoad(); // Editor thumbnail interface. /** * Returns a one line description of an object for viewing in the thumbnail view of the generic browser */ virtual FString GetDesc(); /** * Returns detailed info to populate listview columns */ virtual FString GetDetailedDescription( INT InIndex ); /** * Serialize properties (used for backwards compatibility with main branch) */ virtual void Serialize(FArchive& Ar); /** * Returns the size of the object/ resource for display to artists/ LDs in the Editor. * * @return size of resource as to be displayed to artists/ LDs in the Editor. */ INT GetResourceSize(); } defaultproperties { // must be a supported format Format=PF_A8R8G8B8 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |