Navigation
API > API/Runtime > API/Runtime/SlateCore
Abstract base class for platform independent texture resource accessible by the shader.
| Name | TSlateTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Textures/SlateShaderResource.h |
| Include Path | #include "Textures/SlateShaderResource.h" |
Syntax
template<typename ResourceType>
class TSlateTexture : public FSlateShaderResource
Inheritance Hierarchy
- FSlateShaderResource → TSlateTexture
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Textures/SlateShaderResource.h | ||
TSlateTexture
(
ResourceType& InShaderResource |
Creates and initializes a new instance. | Textures/SlateShaderResource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TSlateTexture() |
Textures/SlateShaderResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ResourceType & GetTypedResource() |
Gets the resource used by the shader. | Textures/SlateShaderResource.h |
Overridden from FSlateShaderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ESlateShaderResource::Type GetType() |
Gets the type of the resource. | Textures/SlateShaderResource.h |