ISlateTextureAtlasFactory

A factory capable of generating a texture atlas or shader resource for textures too big to be in an atlas

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h

Include

#include "Textures/TextureAtlas.h"

Syntax

class ISlateTextureAtlasFactory

Remarks

A factory capable of generating a texture atlas or shader resource for textures too big to be in an atlas

Destructors

Name Description

Public function Virtual

~ISlateTextureAtlasFactory()

Functions

Name Description

Public function Const

TUniquePtr< ...

 

CreateNonAtlasedTexture

(
    const uint32 InWidth,
    const uint32 InHeight,
    const TArray< uint8 >& InRawData
)

Public function Const

TUniquePtr< ...

 

CreateTextureAtlas

(
    int32 AtlasSize,
    int32 AtlasStride,
    ESlateTextureAtlasPaddingStyle Padd...,
    bool bUpdatesAfterInitialization
)

Public function Const

void

 

ReleaseTextureAtlases

(
    const TArray< TUniquePtr< FSlateTex...,
    const TArray< TUniquePtr< FSlateSha...,
    const bool bWaitForRelease
)