nngxGetAllocator Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxGetAllocator(
     GLvoid *(**)(GLenum, GLenum, GLuint, GLsizei) allocator,
     void(**)(GLenum, GLenum, GLuint, GLvoid *) deallocator
);

Arguments

Name Description
out allocator Storage location of the obtained allocator function pointer.
out deallocator Storage location of the obtained deallocator function pointer.

Return Values

There is no return value.

Description

Gets a pointer to the allocator function specified by nngxInitialize.

Gets the allocator set by the nngxInitialize DMPGL initialization function. For the allocator and deallocator arguments, specify pointers to the function pointers for getting the allocator and deallocator functions. When allocator or deallocator is set to 0, the allocator or deallocator function respectively is not obtained.

This function does not generate any errors.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL