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 DMPGL initialization function, nngxInitialize. For the allocator and deallocator parameters, specify pointers to the function pointers for getting the allocator and deallocator functions. The allocator or deallocator function is not obtained when 0 is specified for allocator or deallocator.

This function does not generate any errors.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL