FTexture2DResourceMem

Allows for direct GPU mem allocation for texture resource.

Windows
MacOS
Linux

Inheritance Hierarchy

FResourceBulkDataInterface

FTexture2DResourceMem

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/ResourceArray.h

Include

#include "Containers/ResourceArray.h"

Syntax

class FTexture2DResourceMem : public FResourceBulkDataInterface

Remarks

Allows for direct GPU mem allocation for texture resource.

Destructors

Name Description

Public function Virtual

~FTexture2DResourceMem()

Functions

Name Description

Public function

void

 

CancelAsyncAllocation()

Cancels any async allocation.

Public function

void

 

FinishAsyncAllocation()

Blocks the calling thread until the allocation has been completed.

Public function

void *

 

GetMipData

(
    int32 MipIdx
)

Public function

int32

 

GetNumMips()

Public function

int32

 

GetSizeX()

Public function

int32

 

GetSizeY()

Public function Const

bool

 

HasAsyncAllocationCompleted()

Public function

bool

 

IsValid()

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