kodi
OSXGLView.h
1 #pragma once
2 
3 /*
4  * Copyright (C) 2021- Team Kodi
5  * This file is part of Kodi - https://kodi.tv
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  * See LICENSES/README.md for more information.
9  */
10 
11 #import <Cocoa/Cocoa.h>
12 
13 @interface OSXGLView : NSOpenGLView
14 
15 - (id)initWithFrame:(NSRect)frameRect;
16 - (CGLContextObj)getGLContextObj;
17 
21 - (void)Update;
25 - (void)FlushBuffer;
26 
27 @end
void Update()
Update the current OpenGL context (view is set before updating)
Definition: OSXGLView.mm:205
void FlushBuffer()
Copies the back buffer to the front buffer of the OpenGL context.
Definition: OSXGLView.mm:212
Definition: OSXGLView.h:13