FRHITexture2D

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

class FRHITexture2D : public FRHITexture

Constructors

Name Description

Public function

FRHITexture2D

(
    uint32 InSizeX,
    uint32 InSizeY,
    uint32 InNumMips,
    uint32 InNumSamples,
    EPixelFormat InFormat,
    ETextureCreateFlags InFlags,
    const FClearValueBinding& InClearV...,
    ERHIResourceType InResourceTypeOver...
)

Initialization constructor.

Functions

Overridden from FRHITexture

Name Description

Public function Virtual Const

FIntVector

 

GetSizeXYZ()

Slower method to get Size X, Y & Z information. Prefer sub-classes' GetSizeX(), etc.

Public function Virtual

FRHITexture2...

 

GetTexture2D()

Dynamic cast methods.