NvAppContextVK Class Reference

Vulkan app Context. More...

#include <NvAppContextVK.h>

Inheritance diagram for NvAppContextVK:

NvVkContext

List of all members.

Public Member Functions

virtual void * getCurrentPlatformContext ()
 Get platform-specific context.
virtual void * getCurrentPlatformDisplay ()
 Get platform-specific display.
void useValidation (bool val)
 Enable/disable API usage validation via the LunarG validation layers.
bool useValidation () const
void useLoaderDebug (bool val)
 Enable debugging of the Vulkan loader via the LunarG vSDK.
bool useLoaderDebug () const
void useApiDump (bool val)
 Enable API use dump via the LunarG vSDK.
bool useApiDump () const

Protected Member Functions

bool initializeInstance (PFN_vkGetProcAddressNV getProc, const std::string &appTitle)
bool initializeDevice (PFN_vkGetProcAddressNV getProc)


Detailed Description

Vulkan app Context.

Member Function Documentation

virtual void* NvAppContextVK::getCurrentPlatformContext (  )  [inline, virtual]

Get platform-specific context.

This function is for use in special circumstances where the WGL, EGL, GLX, etc context is required by the application. Most applications should avoid this function.

Returns:
the platform-specific context handle, cast to void* or NULL if not supported

virtual void* NvAppContextVK::getCurrentPlatformDisplay (  )  [inline, virtual]

Get platform-specific display.

This function is for use in special circumstances where the WGL, EGL, GLX, etc display is required by the application. Most applications should avoid this function.

Returns:
the platform-specific display handle, cast to void* or NULL if not supported


The documentation for this class was generated from the following file: