Show / Hide Table of Contents

Class TextureRenderTarget2D

TextureRenderTarget2D 2D render target texture resource.

Inheritance
System.Object
UObject
Texture
TextureRenderTarget
TextureRenderTarget2D
CanvasRenderTarget2D
Inherited Members
TextureRenderTarget.TargetGamma
Texture.Source
Texture.LightingGuid
Texture.AssetImportData
Texture.AdjustBrightness
Texture.AdjustBrightnessCurve
Texture.AdjustVibrance
Texture.AdjustSaturation
Texture.AdjustRGBCurve
Texture.AdjustHue
Texture.AdjustMinAlpha
Texture.AdjustMaxAlpha
Texture.CompressionNoAlpha
Texture.CompressionNone
Texture.DeferCompression
Texture.MaxTextureSize
Texture.CompressionQuality
Texture.bDitherMipMapAlpha
Texture.AlphaCoverageThresholds
Texture.bPreserveBorder
Texture.bFlipGreenChannel
Texture.bForcePVRTC4
Texture.PowerOfTwoMode
Texture.PaddingColor
Texture.bChromaKeyTexture
Texture.ChromaKeyThreshold
Texture.ChromaKeyColor
Texture.MipGenSettings
Texture.CompositeTexture
Texture.CompositeTextureMode
Texture.CompositePower
Texture.LODBias
Texture.NumCinematicMipLevels
Texture.CompressionSettings
Texture.Filter
Texture.LODGroup
Texture.SRGB
Texture.bUseLegacyGamma
Texture.NeverStream
Texture.bNoTiling
Texture.bUseCinematicMipLevels
Texture.bAsyncResourceReleaseHasBeenStarted
Texture.CachedCombinedLODBias
Texture.AssetUserData
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class TextureRenderTarget2D : TextureRenderTarget
Remarks

This can be used as a target for rendering as well as rendered as a regular 2D texture resource.

Properties

| Improve this Doc View Source

AddressX

The addressing mode to use for the X axis.

Declaration
public byte AddressX { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

AddressY

The addressing mode to use for the Y axis.

Declaration
public byte AddressY { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

bAutoGenerateMips

Declaration
public bool bAutoGenerateMips { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bForceLinearGamma

Declaration
public bool bForceLinearGamma { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bGPUSharedFlag

Declaration
public bool bGPUSharedFlag { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ClearColor

the color the texture is cleared to

Declaration
public LinearColor ClearColor { get; }
Property Value
Type Description
LinearColor
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static TextureRenderTarget2D DefaultObject { get; }
Property Value
Type Description
TextureRenderTarget2D
| Improve this Doc View Source

OverrideFormat

Normally the format is derived from RenderTargetFormat, this allows code to set the format explicitly.

Declaration
public byte OverrideFormat { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

RenderTargetFormat

Format of the texture render target.

Declaration
public byte RenderTargetFormat { get; }
Property Value
Type Description
System.Byte
Remarks

Data written to the render target will be quantized to this format, which can limit the range and precision. The largest format (RTF_RGBA32f) uses 16x more memory and bandwidth than the smallest (RTF_R8) and can greatly affect performance. Use the smallest format that has enough precision and range for what you are doing.

| Improve this Doc View Source

SizeX

The width of the texture.

Declaration
public int SizeX { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SizeY

The height of the texture.

Declaration
public int SizeY { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static TextureRenderTarget2D New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
TextureRenderTarget2D

Operators

| Improve this Doc View Source

Implicit(IntPtr to TextureRenderTarget2D)

Convert from IntPtr to UObject

Declaration
public static implicit operator TextureRenderTarget2D(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
TextureRenderTarget2D
  • Improve this Doc
  • View Source
Back to top Generated by DocFX