FTexture

A textures resource.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Syntax

class FTexture : public FRenderResource

Remarks

A textures resource.

Variables

Name Description

Public variable

bool

 

bGreyScaleFormat

True if the texture is in a greyscale texture format.

Public variable

bool

 

bIgnoreGammaConversions

True if the texture is in the same gamma space as the intended rendertarget (e.g. screenshots).

Public variable

bool

 

bSRGB

Is the pixel data in this texture sRGB?

Public variable

FSamplerStateRH...

 

DeferredPassSamplerStateRHI

Sampler state to be used in deferred passes when discontinuities in ddx / ddy would cause too blurry of a mip to be used.

Public variable

double

 

LastRenderTime

The last time the texture has been bound

Public variable

FMipBiasFade

 

MipBiasFade

Base values for fading in/out mip-levels.

Public variable

FSamplerStateRH...

 

SamplerStateRHI

The sampler state to use for the texture.

Public variable

FTextureRHIRef

 

TextureRHI

The texture's RHI resource.

Constructors

Name Description

Public function

FTexture()

Default constructor.

Destructors

Name Description

Public function Virtual

~FTexture()

Destructor.

Functions

Name Description

Public function Virtual Const

uint32

 

GetSizeX()

Returns the width of the texture in pixels.

Public function Virtual Const

uint32

 

GetSizeY()

Returns the height of the texture in pixels.

Public function Virtual Const

uint32

 

GetSizeZ()

Returns the depth of the texture in pixels.

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss