Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate
Inheritance Hierarchy
- FTextureResource
- FRenderTarget
- FDeferredUpdateResource
- FTextureRenderTargetResource
- FSlateTextureRenderTarget2DResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h |
| Include | #include "Slate/SlateTextures.h" |
Syntax
class FSlateTextureRenderTarget2DResource : public FTextureRenderTargetResource
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateTextureRenderTarget2DResource
(
const FLinearColor& InClearColor, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetSize
(
int32 InSizeX, |
Resizes the render target |
Overridden from FTextureRenderTargetResource
| Type | Name | Description | |
|---|---|---|---|
| void | ClampSize
(
int32 SizeX, |
FTextureRenderTargetResource implementation. |
Overridden from FTexture
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetSizeX () |
Returns the width of the texture in pixels. | |
| uint32 | GetSizeY () |
Returns the height of the texture in pixels. |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
FRenderResource implementation. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |
Overridden from FRenderTarget
| Type | Name | Description | |
|---|---|---|---|
| float | Render target resource should be sampled in linear color space | ||
| FIntPoint | GetSizeXY () |
Properties. |
Overridden from FDeferredUpdateResource
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateDeferredResource
(
FRHICommandListImmediate& RHICmdList, |
FDeferredUpdateResource implementation. |