TSlateTexture

Abstract base class for platform independent texture resource accessible by the shader.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

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

Include

#include "Textures/SlateShaderResource.h"

Syntax

template<typename ResourceType>
class TSlateTexture : public FSlateShaderResource

Remarks

Abstract base class for platform independent texture resource accessible by the shader.

Variables

Name Description

Protected variable

ResourceType

 

ShaderResource

Holds the resource.

Constructors

Name Description

Public function

TSlateTexture()

Default constructor.

Public function

TSlateTexture

(
    ResourceType& InShaderResource
)

Creates and initializes a new instance.

Destructors

Name Description

Public function Virtual

~TSlateTexture()

Functions

Name Description

Public function

ResourceType...

 

GetTypedResource()

Gets the resource used by the shader.

Overridden from FSlateShaderResource

Name Description

Public function Virtual Const

ESlateShader...

 

GetType()

Gets the type of the resource.