nw::lyt::Layout::SetDeviceMemoryAllocator Member Function

Syntax

static void SetDeviceMemoryAllocator(
     nw::os::IAllocator * pAllocator
);

Arguments

Name Description
pAllocator Pointer to the memory allocator.

Return Values

None.

Description

Sets the memory allocator used to allocate memory blocks.

This memory allocator must be implemented to allocate from device memory.

See Also

AllocMemory
GetDeviceMemoryAllocator
SetAllocator

Revision History

2010/02/09
Initial version.

CONFIDENTIAL