FSlateTextureRenderTarget2DResource

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h

Include

#include "Slate/SlateTextures.h"

Syntax

class FSlateTextureRenderTarget2DResource : public FTextureRenderTargetResource

Constructors

Name Description

Public function

FSlateTextureRenderTarget2DResource

(
    const FLinearColor& InClearColor,
    int32 InTargetSizeX,
    int32 InTargetSizeY,
    uint8 InFormat,
    ESamplerFilter InFilter,
    TextureAddress InAddressX,
    TextureAddress InAddressY,
    float InTargetGamma
)

Constructor

Functions

Name Description

Public function

FTexture2DRH...

 

GetTextureRHI()

Gets the RHI resource for this render target

Public function Virtual

void

 

SetSize

(
    int32 InSizeX,
    int32 InSizeY
)

Resizes the render target

Overridden from FTextureRenderTargetResource

Name Description

Public function Virtual

void

 

ClampSize

(
    int32 SizeX,
    int32 SizeY
)

FTextureRenderTargetResource implementation.

Overridden from FTexture

Name Description

Public function Virtual Const

uint32

 

GetSizeX()

Returns the width of the texture in pixels.

Public function Virtual Const

uint32

 

GetSizeY()

Returns the height of the texture in pixels.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitDynamicRHI()

FRenderResource implementation.

Public function Virtual

void

 

ReleaseDynamicRHI()

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.

Overridden from FRenderTarget

Name Description

Public function Virtual Const

float

 

GetDisplayGamma()

Render target resource should be sampled in linear color space

Public function Virtual Const

FIntPoint

 

GetSizeXY()

Properties.

Overridden from FDeferredUpdateResource

Name Description

Protected function Virtual

void

 

UpdateDeferredResource

(
    FRHICommandListImmediate& RHICmdLi...,
    bool bClearRenderTarget
)

FDeferredUpdateResource implementation.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback