FRHITexture

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

const FClear ...

 

GetClearBinding()

Public function Const

FLinearColor

 

GetClearColor()

Public function Const

float

 

GetDepthClearValue()

Public function Const

void

 

GetDepthStencilClearValue

(
    float& OutDepth,
    uint32 & OutStencil
)

Public function Const

uint32

 

GetFlags()

Public function Const

EPixelFormat

 

GetFormat()

Public function

FLastRenderT ...

 

GetLastRenderTimeContainer()

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

Public function Const

FName

 

GetName()

Public function Virtual Const

void *

 

GetNativeResource()

Returns access to the platform-specific native resource pointer.

Public function Virtual Const

void *

 

GetNativeShaderResourceView()

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

Public function Const

uint32

 

GetNumMips()

Public function Const

uint32

 

GetNumSamples()

Public function Const

FIntVector

 

GetSizeXYZ()

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

Public function Const

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 Const

bool

 

HasClearValue()

Public function Const

bool

 

IsMultisampled()

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