Language:
Discover
By Skill Level
By Category

FRHITexture2D

Choose your OS:

Inheritance Hierarchy

Syntax

class FRHITexture2D : public FRHITexture

Constructors

Name Description

Public function

FRHITexture2D

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

Initialization constructor.

Functions

Name Description

Public function

uint32

 

GetSizeX()

The width of the texture.

Public function

FIntPoint

 

GetSizeXY()

Public function

uint32

 

GetSizeY()

The height of the texture.

Overridden from FRHITexture

Name Description

Public function Virtual

FIntVector

 

GetSizeXYZ()

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

Public function Virtual

FRHITexture2 ...

 

GetTexture2D()

Dynamic cast methods.

References

Module

RHI

Header

Runtime/RHI/Public/RHIResources.h