nw::lyt::Initialize Function

Syntax

void Initialize(
     nw::os::IAllocator * pAllocator,
     nw::os::IAllocator * pDeviceMemoryAllocator
);

Arguments

Name Description
pAllocator Memory allocator.
pDeviceMemoryAllocator Allocator for device memory.

Return Values

None.

Description

Initializes the Layout library.

This function must be called before using the layout library.

See Also

Layout::SetAllocator
Layout::SetDeviceMemoryAllocator

Revision History

2010/02/19
The function name was changed from LytInit, and an allocator was added as an argument.
2009/09/18
Initial version.

CONFIDENTIAL