FResourceArrayInterface

An element type independent interface to the resource array.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Containers/ResourceArray.h"

Syntax

class FResourceArrayInterface

Remarks

An element type independent interface to the resource array.

Functions

Name Description

Public function

void

 

Discard()

Called on non-UMA systems after the RHI has copied the resource data, and no longer needs the CPU's copy.

Public function Const

bool

 

GetAllowCPUAccess()

Public function Const

const void *

 

GetResourceData()

Public function Const

uint32

 

GetResourceDataSize()

Public function Const

bool

 

IsStatic()

Public function

void

 

SetAllowCPUAccess

(
    bool bInNeedsCPUAccess
)

Sets whether the resource array will be accessed by CPU.

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