UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ISlateFontTexture Class Referenceabstract

#include <FontTypes.h>

+ Inheritance diagram for ISlateFontTexture:

Public Member Functions

virtual ~ISlateFontTexture ()
 
virtual class FSlateShaderResourceGetSlateTexture () const =0
 
virtual class FTextureResourceGetEngineTexture ()=0
 
virtual ESlateFontAtlasContentType GetContentType () const =0
 
virtual void ReleaseRenderingResources ()=0
 
virtual void GetAtlasDataCopy (TArray< uint8 > &OutData) const =0
 

Detailed Description

Interface to all Slate font textures, both atlased and non-atlased

Constructor & Destructor Documentation

◆ ~ISlateFontTexture()

virtual ISlateFontTexture::~ISlateFontTexture ( )
inlinevirtual

Member Function Documentation

◆ GetAtlasDataCopy()

virtual void ISlateFontTexture::GetAtlasDataCopy ( TArray< uint8 > &  OutData) const
pure virtual

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.

Parameters
OutDataAn 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.

Implemented in FSlateFontAtlas, and FSlateFontTextureRHI.

◆ GetContentType()

virtual ESlateFontAtlasContentType ISlateFontTexture::GetContentType ( ) const
pure virtual

Returns the type of content in the texture

Implemented in FSlateFontTextureRHI, and FSlateFontAtlas.

◆ GetEngineTexture()

virtual class FTextureResource * ISlateFontTexture::GetEngineTexture ( )
pure virtual

Returns the texture resource used the Engine

Implemented in FSlateFontAtlasNull, FSlateFontAtlasRHI, and FSlateFontTextureRHI.

◆ GetSlateTexture()

virtual class FSlateShaderResource * ISlateFontTexture::GetSlateTexture ( ) const
pure virtual

Returns the texture resource used by Slate

Implemented in FSlateFontAtlasNull, FSlateFontAtlasRHI, and FSlateFontTextureRHI.

◆ ReleaseRenderingResources()

virtual void ISlateFontTexture::ReleaseRenderingResources ( )
pure virtual

Releases rendering resources of this texture

Implemented in FSlateFontAtlas, and FSlateFontTextureRHI.


The documentation for this class was generated from the following file: