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 |
/** * TextureRenderTarget * * Base for all render target texture resources * * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class TextureRenderTarget extends Texture native(Texture) abstract; /** If true, initialise immediately instead of allowing deferred update. */ var transient bool bUpdateImmediate; /** If true, there will be two copies in memory - one for the texture and one for the render target. If false, they will share memory if possible. This is useful for scene capture textures that are used in the scene. */ var() bool bNeedsTwoCopies; /** If true, the render target will only be written to one time */ var() bool bRenderOnce; /** Will override FTextureRenderTarget2DResource::GetDisplayGamma if > 0. */ var() float TargetGamma; cpptext { /** * Access the render target resource for this texture target object * @return pointer to resource or NULL if not initialized */ FTextureRenderTargetResource* GetRenderTargetResource(); /** * Returns a pointer to the (game thread managed) render target resource. Note that you're not allowed * to deferenced this pointer on the game thread, you can only pass the pointer around and check for NULLness * @return pointer to resource */ FTextureRenderTargetResource* GameThread_GetRenderTargetResource(); // UTexture interface. /** * No mip data used so compression is not needed */ virtual void Compress(); /** * 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(); } defaultproperties { // no mip data so no streaming NeverStream=True // render target surface never compressed CompressionNone=True // assume contents are in gamma corrected space SRGB=True // all render target texture resources belong to this group LODGroup=TEXTUREGROUP_RenderTarget // defaults to not needing two copies bNeedsTwoCopies=True // defaults to multiple renders bRenderOnce=False } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |