Blender  V3.3
GHOST_Types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #include <stdint.h>
11 
12 #ifdef WITH_CXX_GUARDEDALLOC
13 # include "MEM_guardedalloc.h"
14 #endif
15 
16 #if defined(WITH_CXX_GUARDEDALLOC) && defined(__cplusplus)
17 # define GHOST_DECLARE_HANDLE(name) \
18  typedef struct name##__ { \
19  int unused; \
20  MEM_CXX_CLASS_ALLOC_FUNCS(#name) \
21  } * name
22 #else
23 # define GHOST_DECLARE_HANDLE(name) \
24  typedef struct name##__ { \
25  int unused; \
26  } * name
27 #endif
28 
36 GHOST_DECLARE_HANDLE(GHOST_SystemHandle);
37 GHOST_DECLARE_HANDLE(GHOST_TimerTaskHandle);
38 GHOST_DECLARE_HANDLE(GHOST_WindowHandle);
39 GHOST_DECLARE_HANDLE(GHOST_EventHandle);
40 GHOST_DECLARE_HANDLE(GHOST_RectangleHandle);
41 GHOST_DECLARE_HANDLE(GHOST_EventConsumerHandle);
42 GHOST_DECLARE_HANDLE(GHOST_ContextHandle);
43 GHOST_DECLARE_HANDLE(GHOST_XrContextHandle);
44 
45 typedef void (*GHOST_TBacktraceFn)(void *file_handle);
46 
50 typedef struct {
52  const uint8_t *data;
53  int data_size[2];
54  int hot_spot[2];
56 
57 typedef struct {
58  int flags;
60 
61 typedef enum {
66 
67 typedef enum GHOST_DialogOptions {
68  GHOST_DialogWarning = (1 << 0),
69  GHOST_DialogError = (1 << 1),
71 
72 typedef void *GHOST_TUserDataPtr;
73 
75 
76 /* Xtilt and Ytilt represent how much the pen is tilted away from
77  * vertically upright in either the X or Y direction, with X and Y the
78  * axes of the tablet surface.
79  * In other words, Xtilt and Ytilt are components of a vector created by projecting
80  * the pen's angle in 3D space vertically downwards on to the XY plane
81  * --Matt
82  */
83 typedef enum {
88 
89 typedef enum {
91  /* Show as Windows Ink to users to match "Use Windows Ink" in tablet utilities,
92  * but we use the dependent Windows Pointer API. */
96 
97 typedef struct GHOST_TabletData {
98  GHOST_TTabletMode Active; /* 0=None, 1=Stylus, 2=Eraser */
99  float Pressure; /* range 0.0 (not touching) to 1.0 (full pressure) */
100  float Xtilt; /* range 0.0 (upright) to 1.0 (tilted fully against the tablet surface) */
101  float Ytilt; /* as above */
103 
105  GHOST_kTabletModeNone, /* No cursor in range */
106  1.0f, /* Pressure */
107  0.0f, /* Xtilt */
108  0.0f}; /* Ytilt */
109 
110 typedef enum {
115 
116 typedef enum { GHOST_kFireTimeNever = 0xFFFFFFFF } GHOST_TFireTimeConstant;
117 
118 typedef enum {
128 
129 typedef enum {
135  // GHOST_kWindowStateModified,
136  // GHOST_kWindowStateUnModified,
138 
139 typedef enum {
145 
147 
148 typedef enum {
151 #ifdef WIN32
152  GHOST_kDrawingContextTypeD3D,
153 #endif
155 
156 typedef enum {
163  /* Trackballs and programmable buttons. */
168 
169 typedef enum {
171 
172  GHOST_kEventCursorMove, /* Mouse move event. */
173  GHOST_kEventButtonDown, /* Mouse button event. */
174  GHOST_kEventButtonUp, /* Mouse button event. */
175  GHOST_kEventWheel, /* Mouse wheel event. */
176  GHOST_kEventTrackpad, /* Trackpad event. */
177 
178 #ifdef WITH_INPUT_NDOF
179  GHOST_kEventNDOFMotion, /* N degree of freedom device motion event. */
180  GHOST_kEventNDOFButton, /* N degree of freedom device button event. */
181 #endif
182 
185  // GHOST_kEventKeyAuto,
186 
188 
196 
201 
202  GHOST_kEventOpenMainFile, /* Needed for Cocoa to open double-clicked .blend file at startup. */
203  GHOST_kEventNativeResolutionChange, /* Needed for Cocoa when window moves to other display. */
204 
206 
210 
213 
214 typedef enum {
255 
258 
259 typedef enum {
266 
275 
276  /* Number keys. */
277  GHOST_kKey0 = '0',
287 
290 
291  /* Character keys. */
292  GHOST_kKeyA = 'A',
318 
323 
330  GHOST_kKeyOS, /* Command key on Apple, Windows key(s) on Windows. */
331  GHOST_kKeyGrLess, /* German PC only! */
332  GHOST_kKeyApp, /* Also known as menu key. */
333 
337 
342 
345 
352 
353  /* Numpad keys. */
370 
371  /* Function keys. */
396 
397  /* Multimedia keypad buttons. */
403 
404 typedef enum {
417 
418 #define GHOST_GRAB_NEEDS_SOFTWARE_CURSOR_FOR_WARP(grab) ((grab) == GHOST_kGrabWrap)
419 
420 typedef enum {
423  GHOST_kAxisX = (1 << 0),
424  GHOST_kAxisY = (1 << 1),
426 
427 typedef void *GHOST_TEventDataPtr;
428 
429 typedef struct {
437 
438 typedef struct {
444 
445 typedef struct {
449 
450 typedef enum {
454  GHOST_kTrackpadEventSwipe, /* Reserved, not used for now */
458 
459 typedef struct {
473 
474 typedef enum {
476  GHOST_kDragnDropTypeFilenames, /* Array of strings representing file names (full path). */
477  GHOST_kDragnDropTypeString, /* Unformatted text UTF-8 string. */
478  GHOST_kDragnDropTypeBitmap /* Bitmap image data. */
480 
481 typedef struct {
491 
493 typedef struct {
505 
506 typedef struct {
507  int count;
510 
511 typedef enum {
518 
519 #ifdef WITH_INPUT_NDOF
520 typedef struct {
522  /* Each component normally ranges from -1 to +1, but can exceed that.
523  * These use blender standard view coordinates,
524  * with positive rotations being CCW about the axis. */
525  /* translation: */
526  float tx, ty, tz;
527  /* rotation:
528  * - `axis = (rx,ry,rz).normalized`
529  * - `amount = (rx,ry,rz).magnitude` [in revolutions, 1.0 = 360 deg]. */
530  float rx, ry, rz;
532  float dt;
534  GHOST_TProgress progress;
535 } GHOST_TEventNDOFMotionData;
536 
537 typedef enum { GHOST_kPress, GHOST_kRelease } GHOST_TButtonAction;
538 /* Good for mouse or other buttons too? */
539 
540 typedef struct {
541  GHOST_TButtonAction action;
542  short button;
543 } GHOST_TEventNDOFButtonData;
544 #endif // WITH_INPUT_NDOF
545 
546 typedef struct {
549 
551  char utf8_buf[6];
552 
559  char is_repeat;
561 
562 typedef enum {
570  /* Can be extended as needed. */
572 
573 typedef struct {
583 
584 typedef enum {
587  GHOST_kDebugWintab = (1 << 2),
589 
590 typedef struct {
591  int flags;
592 } GHOST_Debug;
593 
594 #ifdef _WIN32
595 typedef void *GHOST_TEmbedderWindowID;
596 #endif // _WIN32
597 
598 #ifndef _WIN32
599 /* I can't use "Window" from `X11/Xlib.h`
600  * because it conflicts with Window defined in `winlay.h`. */
602 #endif // _WIN32
603 
609 #ifdef __cplusplus
610 class GHOST_ITimerTask;
612 #else
613 struct GHOST_TimerTaskHandle__;
614 typedef void (*GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, uint64_t time);
615 #endif
616 
617 #ifdef WITH_XR_OPENXR
618 
619 struct GHOST_XrDrawViewInfo;
620 struct GHOST_XrError;
628 typedef enum GHOST_TXrGraphicsBinding {
629  GHOST_kXrGraphicsUnknown = 0,
630  GHOST_kXrGraphicsOpenGL,
631 # ifdef WIN32
632  GHOST_kXrGraphicsD3D11,
633 # endif
634  /* For later */
635  // GHOST_kXrGraphicsVulkan,
636 } GHOST_TXrGraphicsBinding;
637 
638 typedef void (*GHOST_XrErrorHandlerFn)(const struct GHOST_XrError *);
639 
640 typedef void (*GHOST_XrSessionCreateFn)(void);
641 typedef void (*GHOST_XrSessionExitFn)(void *customdata);
642 typedef void (*GHOST_XrCustomdataFreeFn)(void *customdata);
643 
644 typedef void *(*GHOST_XrGraphicsContextBindFn)(void);
645 typedef void (*GHOST_XrGraphicsContextUnbindFn)(GHOST_ContextHandle graphics_context);
646 typedef void (*GHOST_XrDrawViewFn)(const struct GHOST_XrDrawViewInfo *draw_view, void *customdata);
647 
652 typedef const GHOST_TXrGraphicsBinding *GHOST_XrGraphicsBindingCandidates;
653 
654 typedef struct {
655  float position[3];
656  /* Blender convention (w, x, y, z) */
657  float orientation_quat[4];
658 } GHOST_XrPose;
659 
660 enum {
661  GHOST_kXrContextDebug = (1 << 0),
662  GHOST_kXrContextDebugTime = (1 << 1),
663 # ifdef WIN32
664  /* Needed to avoid issues with the SteamVR OpenGL graphics binding
665  * (use DirectX fallback instead). */
666  GHOST_kXrContextGpuNVIDIA = (1 << 2),
667 # endif
668 };
669 
670 typedef struct {
671  const GHOST_XrGraphicsBindingCandidates gpu_binding_candidates;
672  unsigned int gpu_binding_candidates_count;
673 
674  unsigned int context_flag;
675 } GHOST_XrContextCreateInfo;
676 
677 typedef struct {
678  GHOST_XrPose base_pose;
679 
680  GHOST_XrSessionCreateFn create_fn;
681  GHOST_XrSessionExitFn exit_fn;
682  void *exit_customdata;
683 } GHOST_XrSessionBeginInfo;
684 
686 typedef enum GHOST_TXrSwapchainFormat {
687  GHOST_kXrSwapchainFormatRGBA8,
688  GHOST_kXrSwapchainFormatRGBA16,
689  GHOST_kXrSwapchainFormatRGBA16F,
690  GHOST_kXrSwapchainFormatRGB10_A2,
691 } GHOST_TXrSwapchainFormat;
692 
693 typedef struct GHOST_XrDrawViewInfo {
694  int ofsx, ofsy;
695  int width, height;
696 
697  GHOST_XrPose eye_pose;
698  GHOST_XrPose local_pose;
699 
700  struct {
701  float angle_left, angle_right;
702  float angle_up, angle_down;
703  } fov;
704 
705  GHOST_TXrSwapchainFormat swapchain_format;
707  char expects_srgb_buffer;
708 
711  char view_idx;
712 } GHOST_XrDrawViewInfo;
713 
714 typedef struct GHOST_XrError {
715  const char *user_message;
716 
717  void *customdata;
718 } GHOST_XrError;
719 
720 typedef struct GHOST_XrActionSetInfo {
721  const char *name;
722 
723  GHOST_XrCustomdataFreeFn customdata_free_fn;
724  void *customdata; /* wmXrActionSet */
725 } GHOST_XrActionSetInfo;
726 
729 typedef enum GHOST_XrActionType {
730  GHOST_kXrActionTypeBooleanInput = 1,
731  GHOST_kXrActionTypeFloatInput = 2,
732  GHOST_kXrActionTypeVector2fInput = 3,
733  GHOST_kXrActionTypePoseInput = 4,
734  GHOST_kXrActionTypeVibrationOutput = 100,
735 } GHOST_XrActionType;
736 
737 typedef struct GHOST_XrActionInfo {
738  const char *name;
739  GHOST_XrActionType type;
740  uint32_t count_subaction_paths;
741  const char **subaction_paths;
743  void *states;
745  float *float_thresholds;
746  int16_t *axis_flags;
747 
748  GHOST_XrCustomdataFreeFn customdata_free_fn;
749  void *customdata; /* wmXrAction */
750 } GHOST_XrActionInfo;
751 
752 typedef struct GHOST_XrActionBindingInfo {
753  const char *component_path;
754  float float_threshold;
755  int16_t axis_flag;
756  GHOST_XrPose pose;
757 } GHOST_XrActionBindingInfo;
758 
759 typedef struct GHOST_XrActionProfileInfo {
760  const char *action_name;
761  const char *profile_path;
762  uint32_t count_subaction_paths;
763  const char **subaction_paths;
765  const GHOST_XrActionBindingInfo *bindings;
766 } GHOST_XrActionProfileInfo;
767 
768 typedef struct GHOST_XrControllerModelVertex {
769  float position[3];
770  float normal[3];
771 } GHOST_XrControllerModelVertex;
772 
773 typedef struct GHOST_XrControllerModelComponent {
775  float transform[4][4];
776  uint32_t vertex_offset;
777  uint32_t vertex_count;
778  uint32_t index_offset;
779  uint32_t index_count;
780 } GHOST_XrControllerModelComponent;
781 
782 typedef struct GHOST_XrControllerModelData {
783  uint32_t count_vertices;
784  const GHOST_XrControllerModelVertex *vertices;
785  uint32_t count_indices;
786  const uint32_t *indices;
787  uint32_t count_components;
788  const GHOST_XrControllerModelComponent *components;
789 } GHOST_XrControllerModelData;
790 
791 #endif /* WITH_XR_OPENXR */
GHOST_TTrackpadEventSubTypes
Definition: GHOST_Types.h:450
@ GHOST_kTrackpadEventSwipe
Definition: GHOST_Types.h:454
@ GHOST_kTrackpadEventMagnify
Definition: GHOST_Types.h:455
@ GHOST_kTrackpadEventSmartMagnify
Definition: GHOST_Types.h:456
@ GHOST_kTrackpadEventUnknown
Definition: GHOST_Types.h:451
@ GHOST_kTrackpadEventRotate
Definition: GHOST_Types.h:453
@ GHOST_kTrackpadEventScroll
Definition: GHOST_Types.h:452
GHOST_TWindowState
Definition: GHOST_Types.h:129
@ GHOST_kWindowStateMinimized
Definition: GHOST_Types.h:132
@ GHOST_kWindowStateMaximized
Definition: GHOST_Types.h:131
@ GHOST_kWindowStateEmbedded
Definition: GHOST_Types.h:134
@ GHOST_kWindowStateNormal
Definition: GHOST_Types.h:130
@ GHOST_kWindowStateFullScreen
Definition: GHOST_Types.h:133
void * GHOST_TUserDataPtr
Definition: GHOST_Types.h:72
GHOST_TStandardCursor
Definition: GHOST_Types.h:214
@ GHOST_kStandardCursorBottomLeftCorner
Definition: GHOST_Types.h:252
@ GHOST_kStandardCursorZoomIn
Definition: GHOST_Types.h:236
@ GHOST_kStandardCursorVerticalSplit
Definition: GHOST_Types.h:231
@ GHOST_kStandardCursorHelp
Definition: GHOST_Types.h:221
@ GHOST_kStandardCursorCopy
Definition: GHOST_Types.h:253
@ GHOST_kStandardCursorWait
Definition: GHOST_Types.h:222
@ GHOST_kStandardCursorFirstCursor
Definition: GHOST_Types.h:215
@ GHOST_kStandardCursorHorizontalSplit
Definition: GHOST_Types.h:232
@ GHOST_kStandardCursorTopSide
Definition: GHOST_Types.h:245
@ GHOST_kStandardCursorStop
Definition: GHOST_Types.h:242
@ GHOST_kStandardCursorCrosshair
Definition: GHOST_Types.h:224
@ GHOST_kStandardCursorCustom
Definition: GHOST_Types.h:254
@ GHOST_kStandardCursorNSEWScroll
Definition: GHOST_Types.h:239
@ GHOST_kStandardCursorLeftRight
Definition: GHOST_Types.h:244
@ GHOST_kStandardCursorPencil
Definition: GHOST_Types.h:228
@ GHOST_kStandardCursorNSScroll
Definition: GHOST_Types.h:240
@ GHOST_kStandardCursorCrosshairA
Definition: GHOST_Types.h:225
@ GHOST_kStandardCursorUpDown
Definition: GHOST_Types.h:243
@ GHOST_kStandardCursorUpArrow
Definition: GHOST_Types.h:229
@ GHOST_kStandardCursorBottomSide
Definition: GHOST_Types.h:246
@ GHOST_kStandardCursorInfo
Definition: GHOST_Types.h:219
@ GHOST_kStandardCursorTopLeftCorner
Definition: GHOST_Types.h:249
@ GHOST_kStandardCursorEyedropper
Definition: GHOST_Types.h:235
@ GHOST_kStandardCursorKnife
Definition: GHOST_Types.h:234
@ GHOST_kStandardCursorMove
Definition: GHOST_Types.h:238
@ GHOST_kStandardCursorCrosshairB
Definition: GHOST_Types.h:226
@ GHOST_kStandardCursorBottomRightCorner
Definition: GHOST_Types.h:251
@ GHOST_kStandardCursorDownArrow
Definition: GHOST_Types.h:230
@ GHOST_kStandardCursorEraser
Definition: GHOST_Types.h:233
@ GHOST_kStandardCursorDefault
Definition: GHOST_Types.h:216
@ GHOST_kStandardCursorEWScroll
Definition: GHOST_Types.h:241
@ GHOST_kStandardCursorRightSide
Definition: GHOST_Types.h:248
@ GHOST_kStandardCursorRightArrow
Definition: GHOST_Types.h:217
@ GHOST_kStandardCursorTopRightCorner
Definition: GHOST_Types.h:250
@ GHOST_kStandardCursorDestroy
Definition: GHOST_Types.h:220
@ GHOST_kStandardCursorCrosshairC
Definition: GHOST_Types.h:227
@ GHOST_kStandardCursorZoomOut
Definition: GHOST_Types.h:237
@ GHOST_kStandardCursorNumCursors
Definition: GHOST_Types.h:256
@ GHOST_kStandardCursorLeftSide
Definition: GHOST_Types.h:247
@ GHOST_kStandardCursorText
Definition: GHOST_Types.h:223
@ GHOST_kStandardCursorLeftArrow
Definition: GHOST_Types.h:218
GHOST_TEventType
Definition: GHOST_Types.h:169
@ GHOST_kEventWindowClose
Definition: GHOST_Types.h:189
@ GHOST_kEventWheel
Definition: GHOST_Types.h:175
@ GHOST_kEventTimer
Definition: GHOST_Types.h:205
@ GHOST_kEventWindowMove
Definition: GHOST_Types.h:194
@ GHOST_kEventWindowSize
Definition: GHOST_Types.h:193
@ GHOST_kEventDraggingDropDone
Definition: GHOST_Types.h:200
@ GHOST_kEventDraggingExited
Definition: GHOST_Types.h:199
@ GHOST_kEventNativeResolutionChange
Definition: GHOST_Types.h:203
@ GHOST_kEventImeComposition
Definition: GHOST_Types.h:208
@ GHOST_kEventCursorMove
Definition: GHOST_Types.h:172
@ GHOST_kEventDraggingUpdated
Definition: GHOST_Types.h:198
@ GHOST_kEventOpenMainFile
Definition: GHOST_Types.h:202
@ GHOST_kEventDraggingEntered
Definition: GHOST_Types.h:197
@ GHOST_kEventButtonUp
Definition: GHOST_Types.h:174
@ GHOST_kEventWindowActivate
Definition: GHOST_Types.h:190
@ GHOST_kEventTrackpad
Definition: GHOST_Types.h:176
@ GHOST_kEventWindowUpdate
Definition: GHOST_Types.h:192
@ GHOST_kEventWindowDeactivate
Definition: GHOST_Types.h:191
@ GHOST_kEventButtonDown
Definition: GHOST_Types.h:173
@ GHOST_kEventKeyDown
Definition: GHOST_Types.h:183
@ GHOST_kEventImeCompositionStart
Definition: GHOST_Types.h:207
@ GHOST_kEventImeCompositionEnd
Definition: GHOST_Types.h:209
@ GHOST_kEventWindowDPIHintChanged
Definition: GHOST_Types.h:195
@ GHOST_kEventUnknown
Definition: GHOST_Types.h:170
@ GHOST_kEventKeyUp
Definition: GHOST_Types.h:184
@ GHOST_kEventQuitRequest
Definition: GHOST_Types.h:187
@ GHOST_kNumEventTypes
Definition: GHOST_Types.h:211
static const GHOST_TabletData GHOST_TABLET_DATA_NONE
Definition: GHOST_Types.h:104
GHOST_TDebugFlags
Definition: GHOST_Types.h:584
@ GHOST_kDebugDefault
Definition: GHOST_Types.h:586
@ GHOST_kDebugWintab
Definition: GHOST_Types.h:587
GHOST_TTabletMode
Definition: GHOST_Types.h:83
@ GHOST_kTabletModeEraser
Definition: GHOST_Types.h:86
@ GHOST_kTabletModeStylus
Definition: GHOST_Types.h:85
@ GHOST_kTabletModeNone
Definition: GHOST_Types.h:84
GHOST_GLFlags
Definition: GHOST_Types.h:61
@ GHOST_glAlphaBackground
Definition: GHOST_Types.h:64
@ GHOST_glStereoVisual
Definition: GHOST_Types.h:62
@ GHOST_glDebugContext
Definition: GHOST_Types.h:63
GHOST_TVisibility
Definition: GHOST_Types.h:110
@ GHOST_kFullyVisible
Definition: GHOST_Types.h:113
@ GHOST_kPartiallyVisible
Definition: GHOST_Types.h:112
@ GHOST_kNotVisible
Definition: GHOST_Types.h:111
GHOST_TAxisFlag
Definition: GHOST_Types.h:420
@ GHOST_kAxisX
Definition: GHOST_Types.h:423
@ GHOST_kAxisY
Definition: GHOST_Types.h:424
@ GHOST_kAxisNone
Definition: GHOST_Types.h:422
void(* GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, uint64_t time)
Definition: GHOST_Types.h:614
#define GHOST_DECLARE_HANDLE(name)
Definition: GHOST_Types.h:23
void * GHOST_TEventDataPtr
Definition: GHOST_Types.h:427
GHOST_TKey
Definition: GHOST_Types.h:259
@ GHOST_kKeyInsert
Definition: GHOST_Types.h:346
@ GHOST_kKeySemicolon
Definition: GHOST_Types.h:288
@ GHOST_kKey5
Definition: GHOST_Types.h:282
@ GHOST_kKeyMediaPlay
Definition: GHOST_Types.h:398
@ GHOST_kKeyZ
Definition: GHOST_Types.h:317
@ GHOST_kKeyQuote
Definition: GHOST_Types.h:269
@ GHOST_kKey4
Definition: GHOST_Types.h:281
@ GHOST_kKeyT
Definition: GHOST_Types.h:311
@ GHOST_kKeyNumpad3
Definition: GHOST_Types.h:357
@ GHOST_kKeyAccentGrave
Definition: GHOST_Types.h:322
@ GHOST_kKeyNumpad1
Definition: GHOST_Types.h:355
@ GHOST_kKeyW
Definition: GHOST_Types.h:314
@ GHOST_kKeyLeftAlt
Definition: GHOST_Types.h:328
@ GHOST_kKey3
Definition: GHOST_Types.h:280
@ GHOST_kKeyG
Definition: GHOST_Types.h:298
@ GHOST_kKeyF23
Definition: GHOST_Types.h:394
@ GHOST_kKeyF9
Definition: GHOST_Types.h:380
@ GHOST_kKeyC
Definition: GHOST_Types.h:294
@ GHOST_kKeyRightShift
Definition: GHOST_Types.h:325
@ GHOST_kKeyNumLock
Definition: GHOST_Types.h:335
@ GHOST_kKeyI
Definition: GHOST_Types.h:300
@ GHOST_kKeyEnter
Definition: GHOST_Types.h:265
@ GHOST_kKeyF20
Definition: GHOST_Types.h:391
@ GHOST_kKeyP
Definition: GHOST_Types.h:307
@ GHOST_kKeyJ
Definition: GHOST_Types.h:301
@ GHOST_kKeyNumpadSlash
Definition: GHOST_Types.h:369
@ GHOST_kKeyRightArrow
Definition: GHOST_Types.h:339
@ GHOST_kKeyF13
Definition: GHOST_Types.h:384
@ GHOST_kKeyF6
Definition: GHOST_Types.h:377
@ GHOST_kKeyNumpad4
Definition: GHOST_Types.h:358
@ GHOST_kKeyF11
Definition: GHOST_Types.h:382
@ GHOST_kKeyR
Definition: GHOST_Types.h:309
@ GHOST_kKeyF24
Definition: GHOST_Types.h:395
@ GHOST_kKeyN
Definition: GHOST_Types.h:305
@ GHOST_kKeyPause
Definition: GHOST_Types.h:344
@ GHOST_kKeyCapsLock
Definition: GHOST_Types.h:334
@ GHOST_kKeyApp
Definition: GHOST_Types.h:332
@ GHOST_kKeyMinus
Definition: GHOST_Types.h:271
@ GHOST_kKeyO
Definition: GHOST_Types.h:306
@ GHOST_kKey6
Definition: GHOST_Types.h:283
@ GHOST_kKeyMediaStop
Definition: GHOST_Types.h:399
@ GHOST_kKeyBackSpace
Definition: GHOST_Types.h:261
@ GHOST_kKey0
Definition: GHOST_Types.h:277
@ GHOST_kKeyF5
Definition: GHOST_Types.h:376
@ GHOST_kKeyF19
Definition: GHOST_Types.h:390
@ GHOST_kKeyDownPage
Definition: GHOST_Types.h:351
@ GHOST_kKeyGrLess
Definition: GHOST_Types.h:331
@ GHOST_kKeyDownArrow
Definition: GHOST_Types.h:341
@ GHOST_kKeyQ
Definition: GHOST_Types.h:308
@ GHOST_kKeyClear
Definition: GHOST_Types.h:264
@ GHOST_kKeyNumpadPeriod
Definition: GHOST_Types.h:364
@ GHOST_kKeyF12
Definition: GHOST_Types.h:383
@ GHOST_kKeyF1
Definition: GHOST_Types.h:372
@ GHOST_kKeyF
Definition: GHOST_Types.h:297
@ GHOST_kKeyU
Definition: GHOST_Types.h:312
@ GHOST_kKeyNumpadAsterisk
Definition: GHOST_Types.h:368
@ GHOST_kKeyF22
Definition: GHOST_Types.h:393
@ GHOST_kKeyB
Definition: GHOST_Types.h:293
@ GHOST_kKeyPrintScreen
Definition: GHOST_Types.h:343
@ GHOST_kKeyLeftControl
Definition: GHOST_Types.h:326
@ GHOST_kKeyLeftBracket
Definition: GHOST_Types.h:319
@ GHOST_kKey1
Definition: GHOST_Types.h:278
@ GHOST_kKeyM
Definition: GHOST_Types.h:304
@ GHOST_kKeyTab
Definition: GHOST_Types.h:262
@ GHOST_kKey8
Definition: GHOST_Types.h:285
@ GHOST_kKeyComma
Definition: GHOST_Types.h:270
@ GHOST_kKeyRightBracket
Definition: GHOST_Types.h:320
@ GHOST_kKeyBackslash
Definition: GHOST_Types.h:321
@ GHOST_kKeyOS
Definition: GHOST_Types.h:330
@ GHOST_kKeyLinefeed
Definition: GHOST_Types.h:263
@ GHOST_kKeyNumpad2
Definition: GHOST_Types.h:356
@ GHOST_kKeyX
Definition: GHOST_Types.h:315
@ GHOST_kKeyL
Definition: GHOST_Types.h:303
@ GHOST_kKeyRightAlt
Definition: GHOST_Types.h:329
@ GHOST_kKeyY
Definition: GHOST_Types.h:316
@ GHOST_kKeyPeriod
Definition: GHOST_Types.h:273
@ GHOST_kKeyNumpadPlus
Definition: GHOST_Types.h:366
@ GHOST_kKeyUpPage
Definition: GHOST_Types.h:350
@ GHOST_kKey9
Definition: GHOST_Types.h:286
@ GHOST_kKeyNumpad5
Definition: GHOST_Types.h:359
@ GHOST_kKeyLeftArrow
Definition: GHOST_Types.h:338
@ GHOST_kKeyF17
Definition: GHOST_Types.h:388
@ GHOST_kKeyD
Definition: GHOST_Types.h:295
@ GHOST_kKeyEqual
Definition: GHOST_Types.h:289
@ GHOST_kKey7
Definition: GHOST_Types.h:284
@ GHOST_kKeyS
Definition: GHOST_Types.h:310
@ GHOST_kKeyF8
Definition: GHOST_Types.h:379
@ GHOST_kKeyF18
Definition: GHOST_Types.h:389
@ GHOST_kKeyHome
Definition: GHOST_Types.h:348
@ GHOST_kKeyNumpad6
Definition: GHOST_Types.h:360
@ GHOST_kKeyF14
Definition: GHOST_Types.h:385
@ GHOST_kKeyNumpad8
Definition: GHOST_Types.h:362
@ GHOST_kKeyNumpad9
Definition: GHOST_Types.h:363
@ GHOST_kKeyF15
Definition: GHOST_Types.h:386
@ GHOST_kKeyEnd
Definition: GHOST_Types.h:349
@ GHOST_kKeyUpArrow
Definition: GHOST_Types.h:340
@ GHOST_kKeyH
Definition: GHOST_Types.h:299
@ GHOST_kKeyDelete
Definition: GHOST_Types.h:347
@ GHOST_kKeyF16
Definition: GHOST_Types.h:387
@ GHOST_kKeyNumpad0
Definition: GHOST_Types.h:354
@ GHOST_kKeyA
Definition: GHOST_Types.h:292
@ GHOST_kKey2
Definition: GHOST_Types.h:279
@ GHOST_kKeyMediaFirst
Definition: GHOST_Types.h:400
@ GHOST_kKeyK
Definition: GHOST_Types.h:302
@ GHOST_kKeyNumpad7
Definition: GHOST_Types.h:361
@ GHOST_kKeyRightControl
Definition: GHOST_Types.h:327
@ GHOST_kKeyEsc
Definition: GHOST_Types.h:267
@ GHOST_kKeyPlus
Definition: GHOST_Types.h:272
@ GHOST_kKeyUnknown
Definition: GHOST_Types.h:260
@ GHOST_kKeyScrollLock
Definition: GHOST_Types.h:336
@ GHOST_kKeySlash
Definition: GHOST_Types.h:274
@ GHOST_kKeyV
Definition: GHOST_Types.h:313
@ GHOST_kKeyF7
Definition: GHOST_Types.h:378
@ GHOST_kKeyNumpadEnter
Definition: GHOST_Types.h:365
@ GHOST_kKeyNumpadMinus
Definition: GHOST_Types.h:367
@ GHOST_kKeyF10
Definition: GHOST_Types.h:381
@ GHOST_kKeyLeftShift
Definition: GHOST_Types.h:324
@ GHOST_kKeyF3
Definition: GHOST_Types.h:374
@ GHOST_kKeyF2
Definition: GHOST_Types.h:373
@ GHOST_kKeyMediaLast
Definition: GHOST_Types.h:401
@ GHOST_kKeyF4
Definition: GHOST_Types.h:375
@ GHOST_kKeyE
Definition: GHOST_Types.h:296
@ GHOST_kKeySpace
Definition: GHOST_Types.h:268
@ GHOST_kKeyF21
Definition: GHOST_Types.h:392
int GHOST_TEmbedderWindowID
Definition: GHOST_Types.h:601
GHOST_TDrawingContextType
Definition: GHOST_Types.h:148
@ GHOST_kDrawingContextTypeOpenGL
Definition: GHOST_Types.h:150
@ GHOST_kDrawingContextTypeNone
Definition: GHOST_Types.h:149
struct GHOST_TabletData GHOST_TabletData
GHOST_TWindowOrder
Definition: GHOST_Types.h:146
@ GHOST_kWindowOrderTop
Definition: GHOST_Types.h:146
@ GHOST_kWindowOrderBottom
Definition: GHOST_Types.h:146
GHOST_TModifierKey
Definition: GHOST_Types.h:118
@ GHOST_kModifierKeyNum
Definition: GHOST_Types.h:126
@ GHOST_kModifierKeyRightControl
Definition: GHOST_Types.h:124
@ GHOST_kModifierKeyLeftControl
Definition: GHOST_Types.h:123
@ GHOST_kModifierKeyRightAlt
Definition: GHOST_Types.h:122
@ GHOST_kModifierKeyOS
Definition: GHOST_Types.h:125
@ GHOST_kModifierKeyRightShift
Definition: GHOST_Types.h:120
@ GHOST_kModifierKeyLeftAlt
Definition: GHOST_Types.h:121
@ GHOST_kModifierKeyLeftShift
Definition: GHOST_Types.h:119
GHOST_TSuccess
Definition: GHOST_Types.h:74
@ GHOST_kFailure
Definition: GHOST_Types.h:74
@ GHOST_kSuccess
Definition: GHOST_Types.h:74
GHOST_TFireTimeConstant
Definition: GHOST_Types.h:116
@ GHOST_kFireTimeNever
Definition: GHOST_Types.h:116
void(* GHOST_TBacktraceFn)(void *file_handle)
Definition: GHOST_Types.h:45
GHOST_TUserSpecialDirTypes
Definition: GHOST_Types.h:562
@ GHOST_kUserSpecialDirDesktop
Definition: GHOST_Types.h:563
@ GHOST_kUserSpecialDirMusic
Definition: GHOST_Types.h:566
@ GHOST_kUserSpecialDirPictures
Definition: GHOST_Types.h:567
@ GHOST_kUserSpecialDirVideos
Definition: GHOST_Types.h:568
@ GHOST_kUserSpecialDirDownloads
Definition: GHOST_Types.h:565
@ GHOST_kUserSpecialDirCaches
Definition: GHOST_Types.h:569
@ GHOST_kUserSpecialDirDocuments
Definition: GHOST_Types.h:564
GHOST_TGrabCursorMode
Definition: GHOST_Types.h:404
@ GHOST_kGrabWrap
Definition: GHOST_Types.h:410
@ GHOST_kGrabDisable
Definition: GHOST_Types.h:406
@ GHOST_kGrabHide
Definition: GHOST_Types.h:415
@ GHOST_kGrabNormal
Definition: GHOST_Types.h:408
GHOST_TDragnDropTypes
Definition: GHOST_Types.h:474
@ GHOST_kDragnDropTypeUnknown
Definition: GHOST_Types.h:475
@ GHOST_kDragnDropTypeFilenames
Definition: GHOST_Types.h:476
@ GHOST_kDragnDropTypeBitmap
Definition: GHOST_Types.h:478
@ GHOST_kDragnDropTypeString
Definition: GHOST_Types.h:477
GHOST_TButton
Definition: GHOST_Types.h:156
@ GHOST_kButtonMaskRight
Definition: GHOST_Types.h:160
@ GHOST_kButtonMaskButton4
Definition: GHOST_Types.h:161
@ GHOST_kButtonMaskNone
Definition: GHOST_Types.h:157
@ GHOST_kButtonMaskLeft
Definition: GHOST_Types.h:158
@ GHOST_kButtonMaskButton7
Definition: GHOST_Types.h:165
@ GHOST_kButtonNum
Definition: GHOST_Types.h:166
@ GHOST_kButtonMaskButton6
Definition: GHOST_Types.h:164
@ GHOST_kButtonMaskButton5
Definition: GHOST_Types.h:162
@ GHOST_kButtonMaskMiddle
Definition: GHOST_Types.h:159
GHOST_TProgress
Definition: GHOST_Types.h:511
@ GHOST_kStarting
Definition: GHOST_Types.h:513
@ GHOST_kNotStarted
Definition: GHOST_Types.h:512
@ GHOST_kFinishing
Definition: GHOST_Types.h:515
@ GHOST_kFinished
Definition: GHOST_Types.h:516
@ GHOST_kInProgress
Definition: GHOST_Types.h:514
GHOST_TConsoleWindowState
Definition: GHOST_Types.h:139
@ GHOST_kConsoleWindowStateShow
Definition: GHOST_Types.h:141
@ GHOST_kConsoleWindowStateHideForNonConsoleLaunch
Definition: GHOST_Types.h:143
@ GHOST_kConsoleWindowStateHide
Definition: GHOST_Types.h:140
@ GHOST_kConsoleWindowStateToggle
Definition: GHOST_Types.h:142
GHOST_TTabletAPI
Definition: GHOST_Types.h:89
@ GHOST_kTabletAutomatic
Definition: GHOST_Types.h:90
@ GHOST_kTabletWinPointer
Definition: GHOST_Types.h:93
@ GHOST_kTabletWintab
Definition: GHOST_Types.h:94
GHOST_DialogOptions
Definition: GHOST_Types.h:67
@ GHOST_DialogError
Definition: GHOST_Types.h:69
@ GHOST_DialogWarning
Definition: GHOST_Types.h:68
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
Read Guarded memory(de)allocation.
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
double time
SyclQueue void void size_t num_bytes void
IconTextureDrawCall normal
ccl_gpu_kernel_postfix int ccl_global int * indices
struct blender::compositor::@179::@181 task
signed short int16_t
Definition: stdint.h:76
unsigned int uint32_t
Definition: stdint.h:80
signed int int32_t
Definition: stdint.h:77
unsigned char uint8_t
Definition: stdint.h:78
unsigned __int64 uint64_t
Definition: stdint.h:90
const uint8_t * data
Definition: GHOST_Types.h:52
GHOST_TabletData tablet
Definition: GHOST_Types.h:442
GHOST_TButton button
Definition: GHOST_Types.h:440
GHOST_TabletData tablet
Definition: GHOST_Types.h:435
GHOST_TEventDataPtr data
Definition: GHOST_Types.h:489
GHOST_TDragnDropTypes dataType
Definition: GHOST_Types.h:487
GHOST_TUserDataPtr composite_len
Definition: GHOST_Types.h:495
GHOST_TUserDataPtr composite
Definition: GHOST_Types.h:497
GHOST_TTrackpadEventSubTypes subtype
Definition: GHOST_Types.h:461
uint8_t ** strings
Definition: GHOST_Types.h:508
GHOST_TTabletMode Active
Definition: GHOST_Types.h:98