Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Rendering
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/ShaderResourceManager.h |
Include | #include "Rendering/ShaderResourceManager.h" |
Syntax
class FSlateShaderResourceManager
Remarks
Base texture manager class used by a Slate renderer to manage texture resources
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TMap< const FAtlasedTextureSlot *, FName > | AtlasDebugData | |
![]() |
TMap< FName, FSlateShaderResourceProxy * > | ResourceMap | Mapping of names to texture pointers |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() ![]() |
FSlateShaderResource * | GetFontShaderResource
(
int32 InTextureAtlasIndex, |
|
![]() ![]() |
FSlateResourceHandle | GetResourceHandle
(
const FSlateBrush& Brush |
Creates a handle to a Slate resource A handle is used as fast path for looking up a rendering resource for a given brush when adding Slate draw elements This can be cached and stored safely in code. |
![]() ![]() |
FSlateResourceHandle | GetResourceHandle
(
const FSlateBrush& Brush, |
Creates a handle to a Slate resource A handle is used as fast path for looking up a rendering resource for a given brush when adding Slate draw elements This can be cached and stored safely in code. |
![]() ![]() |
FString | GetResourcePath
(
const FSlateBrush& InBrush |
|
![]() |
FSlateShaderResourceProxy * | GetShaderResource
(
const FSlateBrush& Brush, |
Returns a texture associated with the passed in name. Should return nullptr if not found |
![]() |
ISlateAtlasProvider * | Returns the way to access the texture atlas information from this resource manager |