Navigation
API > API/Runtime > API/Runtime/Engine
Encapsulates a render target for use by a Slate rendering implementation
| Name | FSlateRenderTargetRHI |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include Path | #include "Slate/SlateTextures.h" |
Syntax
class FSlateRenderTargetRHI :
public TSlateTexture< FTextureRHIRef > ,
public FRenderResource
Inheritance Hierarchy
- FRenderResource → FSlateRenderTargetRHI
- FSlateShaderResource → TSlateTexture → FSlateRenderTargetRHI
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateRenderTargetRHI
(
FTextureRHIRef InRenderTargetTexture, |
Slate/SlateTextures.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Height | uint32 | Height of this texture | Slate/SlateTextures.h | |
| Width | uint32 | Width of this texture | Slate/SlateTextures.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextureRHIRef GetRHIRef() |
Slate/SlateTextures.h | ||
void SetRHIRef
(
FTextureRHIRef InRenderTargetTexture, |
Sets the RHI Ref to use. Useful for reusing this class for multiple render targets | Slate/SlateTextures.h |
Overridden from FSlateShaderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 GetHeight() |
Slate/SlateTextures.h | ||
virtual uint32 GetWidth() |
Slate/SlateTextures.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Slate/SlateTextures.h | ||
virtual void ReleaseRHI() |
Releases all dynamic RHI data | Slate/SlateTextures.h |