Language:
Discover
By Skill Level
By Category

FRHITexture

Choose your OS:

Inheritance Hierarchy

Syntax

class FRHITexture : public FRHIResource

Variables

Name Description

Public variable

FRHIResourceInf ...

 

ResourceInfo

Constructors

Name Description

Public function

FRHITexture

(
    uint32 InNumMips,
    uint32 InNumSamples,
    EPixelFormat InFormat,
    uint32 InFlags,
    FLastRenderTimeContainer * InLa...,
    const FClearValueBinding & InClearV...
)

Initialization constructor.

Functions

Name Description

Public function

const FClear ...

 

GetClearBinding()

Public function

FLinearColor

 

GetClearColor()

Public function

float

 

GetDepthClearValue()

Public function

void

 

GetDepthStencilClearValue

(
    float& OutDepth,
    uint32 & OutStencil
)

Public function

uint32

 

GetFlags()

The flags used to create the texture.

Public function

EPixelFormat

 

GetFormat()

The format of the pixels in the texture.

Public function

FLastRenderT ...

 

GetLastRenderTimeContainer()

Returns the last render time container, or NULL if none were specified at creation.

Public function

FName

 

GetName()

Public function Virtual

void *

 

GetNativeResource()

Returns access to the platform-specific native resource pointer.

Public function Virtual

void *

 

GetNativeShaderResourceView()

Returns access to the platform-specific native shader resource view pointer.

Public function

uint32

 

GetNumMips()

The number of mip-maps in the texture.

Public function

uint32

 

GetNumSamples()

The number of samples for multi-sampling.

Public function

FIntVector

 

GetSizeXYZ()

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

Public function

uint32

 

GetStencilClearValue()

Public function Virtual

FRHITexture2 ...

 

GetTexture2D()

Dynamic cast methods.

Public function Virtual

FRHITexture2 ...

 

GetTexture2DArray()

Public function Virtual

FRHITexture3 ...

 

GetTexture3D()

Public function Virtual

void *

 

GetTextureBaseRHI()

Returns access to the platform-specific RHI texture baseclass.

Public function Virtual

FRHITextureC ...

 

GetTextureCube()

Public function Virtual

FRHITextureR ...

 

GetTextureReference()

Public function

bool

 

HasClearValue()

Public function

bool

 

IsMultisampled()

Whether the texture is multi sampled.

Public function

void

 

SetLastRenderTime

(
    float InLastRenderTime
)

Sets the last time this texture was cached in a resource table.

Public function

void

 

SetName

(
    const FName & InName
)

References

Module

RHI

Header

Runtime/RHI/Public/RHIResources.h