Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h |
Include |
#include "Engine/TextureRenderTarget2D.h" |
class UTextureRenderTarget2D : public UTextureRenderTarget
TextureRenderTarget2D
2D render target texture resource. This can be used as a target for rendering as well as rendered as a regular 2D texture resource.
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< en... |
AddressX |
The addressing mode to use for the X axis. |
|
TEnumAsByte< en... |
AddressY |
The addressing mode to use for the Y axis. |
|
uint8: 1 |
bAutoGenerateMips |
Whether to support Mip maps for this render target texture |
|
uint8: 1 |
bForceLinearGamma |
True to force linear gamma space for this render target |
|
uint8: 1 |
bGPUSharedFlag |
Whether to support GPU sharing of the underlying native texture resource. |
|
ClearColor |
The color the texture is cleared to |
|
|
TEnumAsByte< en... |
MipsAddressU |
AutoGenerateMips sampler address mode for U channel. Defaults to clamp. |
|
TEnumAsByte< en... |
MipsAddressV |
AutoGenerateMips sampler address mode for V channel. Defaults to clamp. |
|
TEnumAsByte< en... |
MipsSamplerFilter |
Sampler filter type for AutoGenerateMips. Defaults to match texture filter. |
|
TEnumAsByte< en... |
OverrideFormat |
Normally the format is derived from RenderTargetFormat, this allows code to set the format explicitly. |
|
TEnumAsByte< ET... |
RenderTargetFormat |
Format of the texture render target. |
|
SizeX |
The width of the texture. |
|
|
SizeY |
The height of the texture. |
Name | Description | |
---|---|---|
|
UTextureRenderTarget2D ( |
Name | Description | ||
---|---|---|---|
|
UTexture2D &... |
ConstructTexture2D |
Utility for creating a new UTexture2D from a TextureRenderTarget2D TextureRenderTarget2D must be square and a power of two size. |
|
GetFormat() |
||
|
GetNumMips() |
||
|
ETextureSour... |
GetTextureFormatForConversionToTexture2D() |
|
|
InitAutoFormat |
Initializes the render target, the format will be derived from the value of bHDR. |
|
|
InitCustomFormat ( |
Initialize the settings needed to create a render target texture and create its resource |
|
|
IsSRGB() |
||
|
ResizeTarget |
Resizes the render target without recreating the FTextureResource. |
|
|
UpdateResourceImmediate ( |
Updates (resolves) the render target texture immediately. |
|
|
UpdateTexture2D ( |
Utility for updating an existing UTexture2D from a TextureRenderTarget2D TextureRenderTarget2D must be square and a power of two size. |
|
|
UpdateTexture2D ( |
Name | Description | ||
---|---|---|---|
|
FTextureReso... |
CreateResource() |
Implemented by subclasses to create a new resource for the texture. |
|
EMaterialVal... |
GetMaterialType() |
|
|
GetSurfaceArraySize() |
||
|
float |
GetSurfaceDepth() |
|
|
float |
GetSurfaceHeight() |
|
|
float |
GetSurfaceWidth() |
Name | Description | ||
---|---|---|---|
|
GetDesc() |
Return a one line description of an object for viewing in the thumbnail view of the generic browser |
|
|
GetResourceSizeEx ( |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
---|---|
FTextureChangingDelegate |
Utility for updating an existing UTexture2D from a TextureRenderTarget2D TextureRenderTarget2D must be square and a power of two size. |
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bHDR_DEPRECATED |
Whether to support storing HDR values, which requires more memory. |