TGlobalResource

Used to declare a render resource that is initialized/released by static initialization/destruction.

Windows
MacOS
Linux

Inheritance Hierarchy

ResourceType

TGlobalResource

Syntax

template<class ResourceType>
class TGlobalResource : public ResourceType

Remarks

Used to declare a render resource that is initialized/released by static initialization/destruction.

Constructors

Name Description

Public function

TGlobalResource()

Default constructor.

Public function

TGlobalResource

(
    T1 Param1
)

Initialization constructor: 1 parameter.

Public function

TGlobalResource

(
    T1 Param1,
    T2 Param2
)

Initialization constructor: 2 parameters.

Public function

TGlobalResource

(
    T1 Param1,
    T2 Param2,
    T3 Param3
)

Initialization constructor: 3 parameters.

Destructors

Name Description

Public function Virtual

~TGlobalResource()

Destructor.

References

Module

RenderCore

Header

Runtime/RenderCore/Public/RenderResource.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