FTexture2DResourceMem

Allows for direct GPU mem allocation for texture resource.

Windows
MacOS
Linux

Inheritance Hierarchy

FResourceBulkDataInterface

FTexture2DResourceMem

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()

References

Module

Core

Header

Runtime/Core/Public/Containers/ResourceArray.h

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