FSlateTexture2DRHIRef::GetWidth

Gets the width of the resource.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateShaderResource::GetWidth()

FSlateTexture2DRHIRef::GetWidth()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SlateTextures.h

Include

#include "Slate/SlateTextures.h"

Syntax

virtual uint32 GetWidth() const

Remarks

Gets the width of the resource.

Returns

Resource width (in pixels).