FSlateShaderResource::GetWidth

Gets the width of the resource.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

SlateCore

Header

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

Include

#include "Textures/SlateShaderResource.h"

Syntax

uint32 GetWidth() const

Remarks

Gets the width of the resource.

Returns

Resource width (in pixels).