ViewMTL.h#

Parent directory (OS\AppKit)

Contains the declaration of the MVKView class.

Includes#

  • AppKit/NSView.h

Classes#

Source Code#

#pragma once
#include <AppKit/NSView.h>

@interface ViewMTL : NSView
{
    id<MTLDevice>  m_device; // Metal device
}

-(ViewMTL*) initWithFrame:(NSRect) frame;

@end