nw::gfx::GfxPtr::Reset Member Function

Syntax

template <typename TTObject>
void Reset(
     TTObject * object,
     bool hasOwnership
);

Arguments

Name Description
in object Object to set.
in hasOwnership Specifies whether the constructor has ownership.

Return Values

None.

Description

Configures an object.

If false is specified in hasOwnership, the object is not destroyed when this instance of GfxPtr is destroyed.


CONFIDENTIAL