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.

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback