FVirtualTexture2DResource

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FTexture

FTextureResource

FVirtualTexture2DResource

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureResource.h

Include

#include "TextureResource.h"

Syntax

class FVirtualTexture2DResource : public FTextureResource

Constructors

Name Description

Public function

FVirtualTexture2DResource

(
    const UTexture2D* InOwner,
    FVirtualTextureBuiltData* InVT...,
    int32 FirstMipToUse
)

Destructors

Name Description

Public function Virtual

~FVirtualTexture2DResource()

Functions

Overridden from FTextureResource

Name Description

Public function Virtual

void

 

RefreshSamplerStates()

Releases and recreates any sampler state objects. used when updating mip map bias offset

Overridden from FTexture

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

void

 

InitRHI()

Initializes the RHI resources used by this resource.

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