Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate
Inheritance Hierarchy
- TSlateTexture< FTextureRHIRef >
- FRenderResource
- FSlateRenderTargetRHI
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include | #include "Slate/SlateTextures.h" |
Syntax
class FSlateRenderTargetRHI :
public TSlateTexture< FTextureRHIRef >,
public FRenderResource
Remarks
Encapsulates a render target for use by a Slate rendering implementation
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateRenderTargetRHI
(
FTextureRHIRef InRenderTargetTexture, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetHeight () |
||
| FTextureRHIRef | GetRHIRef () |
||
| uint32 | GetWidth () |
||
| void | SetRHIRef
(
FTextureRHIRef InRenderTargetTexture, |
Sets the RHI Ref to use. Useful for reusing this class for multiple render targets |
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 |