Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate
Inheritance Hierarchy
- TSlateTexture
- FRenderResource
- FSlateRenderTargetRHI
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
Include | #include "Slate/SlateTextures.h" |
Syntax
class FSlateRenderTargetRHI :
public TSlateTexture< FTexture2DRHIRef >,
public FRenderResource
Remarks
Encapsulates a render target for use by a Slate rendering implementation
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateRenderTargetRHI
(
FTexture2DRHIRef InRenderTargetTexture, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FTexture2DRHIRef | GetRHIRef () |
|
![]() |
void | SetRHIRef
(
FTexture2DRHIRef InRenderTargetTexture, |
Sets the RHI Ref to use. Useful for reusing this class for multiple render targets |
Overridden from FSlateShaderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
uint32 | GetHeight () |
Gets the height of the resource. |
![]() ![]() ![]() |
uint32 | GetWidth () |
Gets the width of the resource. |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. |
![]() ![]() |
void | ReleaseRHI () |
Releases all dynamic RHI data |