iOS/AAPLViewController.h
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
View Controller for the iOS version of MetalBasicTessellation. |
The UI elements that can modify a tessellation pass are: a segmented control to select a patch type, a switch to enable/disable wireframe rendering, sliders to change the edge and inside tessellation factors. |
The MTKView's drawing loop is only executed when the view appears, when it receives a view notification (setNeedsDisplay methods), or when its draw method is explicitly called (IBAction receiver methods). |
The MTKView's delegate methods are contained in the TessellationPipeline class. |
*/ |
#import <UIKit/UIKit.h> |
@interface AAPLViewController : UIViewController |
@end |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13