The recommended dimensions of the drawable.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- Metal
Kit
Declaration
@property(nonatomic, readonly) CGSize preferredDrawableSize;
The recommended dimensions of the drawable.
SDKs
Framework
@property(nonatomic, readonly) CGSize preferredDrawableSize;
color Pixel Format
The color pixel format for the current drawable’s texture.
colorspace
The color space of the rendered content.
framebuffer Only
A Boolean value that determines whether the drawable’s textures are used only for rendering.
drawable Size
The current size of drawable textures.
auto Resize Drawable
A Boolean value that controls whether to resize the drawable as the view changes size.
clear Color
The color to use to clear the color target when creating a render pass descriptor.