Navigation
API > API/Runtime > API/Runtime/SlateCore
Base class for all platform independent texture types
| Name | FSlateShaderResource |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Textures/SlateShaderResource.h |
| Include Path | #include "Textures/SlateShaderResource.h" |
Syntax
class FSlateShaderResource
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateShaderResource() |
Virtual destructor. | Textures/SlateShaderResource.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DestroyState | uint8 | Use an int, instead of a bool, to make sure the value is "exactly" what it's set in the destructor. | Textures/SlateShaderResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CheckForStaleResources() |
Textures/SlateShaderResource.h | ||
bool Debug_IsDestroyed() |
Textures/SlateShaderResource.h | ||
uint32 GetHeight() |
Gets the height of the resource. | Textures/SlateShaderResource.h | |
ESlateShaderResource::Type GetType() |
Gets the type of the resource. | Textures/SlateShaderResource.h | |
virtual ESlatePostRT GetUsedSlatePostBuffers() |
Does this resource use slate post buffers? If no resources use a post buffer we won't populate it. | Textures/SlateShaderResource.h | |
uint32 GetWidth() |
Gets the width of the resource. | Textures/SlateShaderResource.h | |
virtual bool IsResourceValid() |
Additional validation that can vary per resource type | Textures/SlateShaderResource.h | |
virtual bool RequiresVirtualTextureFeedback() |
Does this resource require virtual texture feedback? | Textures/SlateShaderResource.h |