![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateRHIFontTexture.h>
Inheritance diagram for FSlateFontTextureRHI:Public Member Functions | |
| FSlateFontTextureRHI (const uint32 InWidth, const uint32 InHeight, ESlateFontAtlasContentType InContentType, const TArray< uint8 > &InRawData) | |
| ~FSlateFontTextureRHI () | |
| virtual class FSlateShaderResource * | GetSlateTexture () const override |
| virtual class FTextureResource * | GetEngineTexture () override |
| virtual ESlateFontAtlasContentType | GetContentType () const override |
| virtual void | ReleaseRenderingResources () override |
| virtual void | GetAtlasDataCopy (TArray< uint8 > &OutData) const override |
| void | ReleaseResources () |
Public Member Functions inherited from ISlateFontTexture | |
| virtual | ~ISlateFontTexture () |
A RHI non-atlased font texture resource
| FSlateFontTextureRHI::FSlateFontTextureRHI | ( | const uint32 | InWidth, |
| const uint32 | InHeight, | ||
| ESlateFontAtlasContentType | InContentType, | ||
| const TArray< uint8 > & | InRawData | ||
| ) |
| FSlateFontTextureRHI::~FSlateFontTextureRHI | ( | ) |
Retrieves a copy of the texture atlas data in this texture. This is a slow operation so this is recommended primarily for debugging and visualization tools.
| OutData | An array that a caller provides. This array will be populated with a copy of the data in the atlas. It is up to the caller to verify that the array is populated and not empty. |
Implements ISlateFontTexture.
|
inlineoverridevirtual |
Returns the type of content in the texture
Implements ISlateFontTexture.
|
inlineoverridevirtual |
Returns the texture resource used the Engine
Implements ISlateFontTexture.
|
inlineoverridevirtual |
ISlateFontTexture interface
Implements ISlateFontTexture.
Releases rendering resources of this texture
Implements ISlateFontTexture.
| void FSlateFontTextureRHI::ReleaseResources | ( | ) |