HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUI_PrimitiveHook.h File Reference
#include "GUI_API.h"
#include <GR/GR_Defines.h>
#include <GR/GR_RenderInfo.h>
#include <GT/GT_PrimitiveTypes.h>
#include <GT/GT_Primitive.h>
#include <GA/GA_PrimitiveTypes.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_String.h>
+ Include dependency graph for GUI_PrimitiveHook.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GUI_PrimitiveHook
 

Macros

#define GUI_PRIMITIVE_HOOK_VERSION   3
 

Enumerations

enum  GUI_PrimitiveHookFlags { GUI_HOOK_FLAG_NONE = 0, GUI_HOOK_FLAG_AUGMENT_PRIM = 0x2, GUI_HOOK_FLAG_PRIM_FILTER = 0x4 }
 
enum  GUI_RenderMask {
  GUI_RENDER_MASK_GL1 = 0x1, GUI_RENDER_MASK_GL2 = 0x2, GUI_RENDER_MASK_GL3 = 0x4, GUI_RENDER_MASK_GL4 = 0x8,
  GUI_RENDER_MASK_VULKAN = 0x10, GUI_RENDER_MASK_ALL = 0xFFFFFFFC
}
 
enum  GUI_GeometryOptionFlags { GUI_GEO_OPT_NONE = 0, GUI_GEO_OPT_REFINE_ON_ACTIVATION = 1, GUI_GEO_OPT_REFINE_ON_DEACTIVATION = 1 << 1, GUI_GEO_OPT_GLOBAL_TOGGLE_VALUE = 1 << 2 }
 

Macro Definition Documentation

#define GUI_PRIMITIVE_HOOK_VERSION   3

Definition at line 26 of file GUI_PrimitiveHook.h.

Enumeration Type Documentation

Enumerator
GUI_GEO_OPT_NONE 
GUI_GEO_OPT_REFINE_ON_ACTIVATION 
GUI_GEO_OPT_REFINE_ON_DEACTIVATION 
GUI_GEO_OPT_GLOBAL_TOGGLE_VALUE 
Examples:
GUI/GUI_PolygonNormalShade.C.

Definition at line 57 of file GUI_PrimitiveHook.h.

Special modifiers to primitive hooks which provide different behaviours. They may be combined, except for GUI_HOOK_FLAG_PRIM_FILTER which cannot have any other flags.

Enumerator
GUI_HOOK_FLAG_NONE 

Hook has no special behaviour.

GUI_HOOK_FLAG_AUGMENT_PRIM 

Hook will render extra bits, but still allow lower-priority hooks or the native primitive renderer to render as well.

GUI_HOOK_FLAG_PRIM_FILTER 

Hook will modify the geometry and produce a new GT_Primitive, but not do any rendering itself.

Definition at line 31 of file GUI_PrimitiveHook.h.

Enumerator
GUI_RENDER_MASK_GL1 
GUI_RENDER_MASK_GL2 
GUI_RENDER_MASK_GL3 
GUI_RENDER_MASK_GL4 
GUI_RENDER_MASK_VULKAN 
GUI_RENDER_MASK_ALL 

Definition at line 45 of file GUI_PrimitiveHook.h.