Blender V5.3
GHOST_WindowCocoa.mm File Reference
#include "GHOST_WindowCocoa.hh"
#include "GHOST_ContextNone.hh"
#include "GHOST_Debug.hh"
#include "GHOST_SystemCocoa.hh"
import <Cocoa/Cocoa.h>
import <Metal/Metal.h>
#include "GHOST_WindowViewCocoa.hh"

Go to the source code of this file.

Classes

class  BlenderWindowDelegate
class  BlenderWindow
category  NSCursor(Undocumented)

Macros

#define COCOA_VIEW_CLASS   CocoaOpenGLView
#define COCOA_VIEW_BASE_CLASS   NSOpenGLView
#define COCOA_VIEW_CLASS   CocoaMetalView
#define COCOA_VIEW_BASE_CLASS   NSView

Functions

static void cursor_bitmap_rgba_invert (uint32_t *buffer, const int size[2])

Variables

 __pad0__

Macro Definition Documentation

◆ COCOA_VIEW_BASE_CLASS [1/2]

#define COCOA_VIEW_BASE_CLASS   NSView

Definition at line 305 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_BASE_CLASS [2/2]

#define COCOA_VIEW_BASE_CLASS   NSOpenGLView

Definition at line 305 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [1/2]

#define COCOA_VIEW_CLASS   CocoaMetalView

Definition at line 304 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [2/2]

#define COCOA_VIEW_CLASS   CocoaOpenGLView

Definition at line 304 of file GHOST_WindowCocoa.mm.

Function Documentation

◆ cursor_bitmap_rgba_invert()

void cursor_bitmap_rgba_invert ( uint32_t * buffer,
const int size[2] )
static

Invert the colors of an RGBA byte buffer in-place.

Definition at line 1178 of file GHOST_WindowCocoa.mm.

References cursor_bitmap_rgba_invert(), and size().

Referenced by cursor_bitmap_rgba_invert(), and GHOST_WindowCocoa::setWindowCustomCursorShape().

Variable Documentation

◆ __pad0__

__pad0__

Definition at line 46 of file GHOST_WindowCocoa.mm.