FSlateTexture2DRHIRef::ResizeTexture

Resize the texture.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateUpdatableTexture::ResizeTexture()

FSlateTexture2DRHIRef::ResizeTexture()

References

Module

Engine

Header

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

Include

#include "Slate/SlateTextures.h"

Source

/Engine/Source/Runtime/Engine/Private/Slate/SlateTextures.cpp

Syntax

virtual void ResizeTexture
(
    uint32 Width,
    uint32 Height
)

Remarks

Resize the texture.

Parameters

Parameter

Description

Width

New texture width

Height

New texture height