CCMetalView Class Reference
| Inherits from | UIView |
|---|---|
| Conforms to | CCDirectorView |
| Declared in | CCMetalView.h |
Overview
Metal renderer, can be used in place of CCGLView on devices that support Metal rendering.
Note: Currently the CC_ENABLE_METAL_RENDERING preprocessor macro defined in ccConfig.h must be set to 1 to enable Metal rendering.
Properties
surfaceSize
returns surface size in pixels
@property (nonatomic, readonly) CGSize surfaceSizeDeclared In
CCMetalView.h