From 236f03c0b9a4982328ed1201978f7f69d192d9b2 Mon Sep 17 00:00:00 2001 From: Anton Novoselov Date: Tue, 1 Aug 2017 12:53:38 +0300 Subject: Blast 1.1 release (windows / linux) see docs/release_notes.txt for details --- docs/api_docs/files/pageglobalsapi.html | 79 +++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 docs/api_docs/files/pageglobalsapi.html (limited to 'docs/api_docs/files/pageglobalsapi.html') diff --git a/docs/api_docs/files/pageglobalsapi.html b/docs/api_docs/files/pageglobalsapi.html new file mode 100644 index 0000000..0e0b8b5 --- /dev/null +++ b/docs/api_docs/files/pageglobalsapi.html @@ -0,0 +1,79 @@ + + + NVIDIA(R) Blast(R) SDK 1.1 API Reference: Globals API (NvBlastGlobals) + + + + + + + +
+

Globals API (NvBlastGlobals)

The NvBlastGlobals library is a utility library which is used by NvBlastTk (see High Level (Toolkit) API (NvBlastTk)) and some extensions (see Extensions (NvBlastExt)) and samples.

+It provides a global allocator, error callback, and profiler API.

+
+

+Allocator

+Include NvBlastGlobals.h
+

+A global allocator with interface

+

+may be set by the user with the function

+

+and accessed using

+

+An internal, default allocator is used if the user does not set their own, or if NULL is passed into NvBlastGlobalSetAllocatorCallback.

+This allocator is used by NvBlastTk, as well as any extension that allocates memory. In addition, utility macros are provided such as NVBLAST_ALLOC, NVBLAST_FREE, NVBLAST_NEW, and NVBLAST_DELETE.

+
+

+Error Callback

+Include NvBlastGlobals.h

+A global error message callback with interface

+

+may be set by the user with the function

+

+and accessed using

+

+An internal, default error callback is used if the user does not set their own, or if NULL is passed into NvBlastGlobalSetErrorCallback.

+This error callback is used by NvBlastTk, as well as many extensions. In addition, utility macros are provided such as NVBLAST_LOG_ERROR and NVBLAST_LOG_WARNDING.

+Finally, a function with signature given by NvBlastLog is provided which uses the global error callback,

+

+This function may be passed into any NvBlast™ function's log parameter.

+
+

+Profiler API

+Include NvBlastProfiler.h
+

+BlastTk contains many profiling zones which use the global profiler which can be accessed in this library. The user may implement the interface

+

+and pass it to the globals library using

+

+A NULL pointer may be passed in, disabling profiling. Profiler features are only active in checked, debug and profile builds.

+
+

+ + + + -- cgit v1.2.3