HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OSL_ContextManager Class Reference

Basic management of shader contexts in OSL. More...

#include <VEX_OslTypes.h>

Static Public Member Functions

static const char * getNameFromContextType (OSL_ContextType t)
 Get the name token of a context. More...
 
static const char * getLabelFromContextType (OSL_ContextType t)
 Returns a context label token for a given type. More...
 
static OSL_ContextType getContextTypeFromName (const char *name)
 Map the context name to a context type. More...
 

Detailed Description

Basic management of shader contexts in OSL.

Definition at line 36 of file VEX_OslTypes.h.

Member Function Documentation

static OSL_ContextType OSL_ContextManager::getContextTypeFromName ( const char *  name)
static

Map the context name to a context type.

static const char* OSL_ContextManager::getLabelFromContextType ( OSL_ContextType  t)
static

Returns a context label token for a given type.

static const char* OSL_ContextManager::getNameFromContextType ( OSL_ContextType  t)
static

Get the name token of a context.


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