Objective-CclassQuartzCore
CAMetalDrawable
@interface CAMetalDrawable : NSObject <CAMetalDrawable, CAMetalDrawableSPI, MTLDrawableSPI>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolCAMetalDrawable
- protocolCAMetalDrawableSPI
- protocolMTLDrawableSPI
Members 132
- ivar
id <MTLTexture> _cachedTexture;+0x10 - ivar
struct atomic<bool> { struct __cxx_atomic_impl<bool, std::__cxx_atomic_base_impl<bool>> { _Atomic BOOL __a_value; } __a_; } _callbacksErased;+0x80 - ivar
float _clientPreferredLatency;+0x94 - ivar
BOOL _didComposite;+0x88 - ivar
BOOL _didFinish;+0x8b - ivar
struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _dirtyRect;+0x20 - ivar
unsigned long long _drawableID;+0x40 - ivar
struct SpinLock { struct { int x; } _l; } _handlersLock;+0x84 - ivar
BOOL _hasExplicitDeadlines;+0x89 - ivar
unsigned int _insertSeed;+0x50 - ivar
CAMetalLayer *_layer;+0x18 - ivar
double _minimumPresentationDuration;+0xc8 - ivar
BOOL _needsLowLatency;+0x8a - ivar
struct CATimingFramePacingLatency { double latency; double frame_duration; } _preferredLatency;+0xd0 - ivar
double _presentDeadline;+0xc0 - ivar
NSMutableArray *_presentScheduledHandlers;+0x78 - ivar
unsigned int _presentScheduledInsertSeed;+0x74 - ivar
BOOL _presentScheduledInsertSeedValid;+0x70 - ivar
NSMutableArray *_presentedHandlers;+0x58 - ivar
double _presentedTime;+0x68 - ivar
struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *_priv;+0x8 - ivar
IOSurfaceSharedEvent *_sharedEvent;+0x48 - ivar
unsigned long long _status;+0x60 - ivar
unsigned int _surfaceID;+0x90 - ivar
double _targetPresentationTimestamp;+0xb8 - ivar
double _targetSamplingTimestamp;+0xb0 - ivar
double _targetTimestamp;+0xa8 - ivar
double _timeAcquired;+0x98 - ivar
double _timePresentCalled;+0xa0 - ivar
unsigned int _updateSeed;+0x8c - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (void)addPresentScheduledHandler:(id /* block */)arg0; - method
- (void)addPresentedHandler:(id /* block */)arg0; - method
- (id)cachedTexture; - method
- (float)clientPreferredLatency; - method
- (void)dealloc; - method
- (BOOL)didComposite; - method
- (BOOL)didFinish; - method
- (void)didPresentAtTime:(double)arg0; - method
- (void)didScheduledPresent; - method
- (CGRect)dirtyRect; - method
- (unsigned long long)drawableID; - method
- (void)estimateTargets; - method
- (BOOL)hasExplicitDeadlines; - method
- (BOOL)hasPresentedHandlers; - method
- (id)initWithDrawablePrivate:(struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *)arg0 layer:(id)arg1 waitStart:(double)arg2; - method
- (unsigned int)insertSeed; - method
- (id)layer; - method
- (id)layer; - method
- (double)minimumPresentationDuration; - method
- (BOOL)needsLowLatency; - method
- (id)newTextureWithResourceIndex:(unsigned long long)arg0; - method
- (CATimingFramePacingLatency)preferredLatency; - method
- (void)present; - method
- (void)presentAfterMinimumDuration:(double)arg0; - method
- (void)presentAtTime:(double)arg0; - method
- (double)presentDeadline; - method
- (unsigned int)presentScheduledInsertSeed; - method
- (BOOL)presentScheduledInsertSeedValid; - method
- (void)presentWithOptions:(id)arg0; - method
- (double)presentedTime; - method
- (struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *)priv; - method
- (oneway void)release; - method
- (void)releasePrivateReferences:(void *)arg0; - method
- (void)setClientPreferredLatency:(float)arg0; - method
- (void)setDidComposite:(BOOL)arg0; - method
- (void)setDidFinish:(BOOL)arg0; - method
- (void)setDirtyRect:(CGRect)arg0; - method
- (void)setDrawableID:(unsigned long long)arg0; - method
- (void)setHasExplicitDeadlines:(BOOL)arg0; - method
- (void)setInsertSeed:(unsigned int)arg0; - method
- (void)setMinimumPresentationDuration:(double)arg0; - method
- (void)setNeedsLowLatency:(BOOL)arg0; - method
- (void)setPreferredLatency:(CATimingFramePacingLatency)arg0; - method
- (void)setPresentDeadline:(double)arg0; - method
- (void)setPresentScheduledInsertSeed:(unsigned int)arg0; - method
- (void)setPresentScheduledInsertSeedValid:(BOOL)arg0; - method
- (void)setPresentedTime:(double)arg0; - method
- (void)setSharedEvent:(id)arg0; - method
- (void)setStatus:(unsigned long long)arg0; - method
- (void)setSurfaceID:(unsigned int)arg0; - method
- (void)setTargetPresentationTimestamp:(double)arg0; - method
- (void)setTargetSamplingTimestamp:(double)arg0; - method
- (void)setTargetTimestamp:(double)arg0; - method
- (void)setTimeAcquired:(double)arg0; - method
- (void)setTimePresentCalled:(double)arg0; - method
- (void)setUpdateSeed:(unsigned int)arg0; - method
- (id)sharedEvent; - method
- (void)signalOnCommandQueue:(id)arg0; - method
- (unsigned long long)status; - method
- (unsigned int)surfaceID; - method
- (double)targetPresentationTimestamp; - method
- (double)targetSamplingTimestamp; - method
- (double)targetTimestamp; - method
- (id)texture; - method
- (id)texture; - method
- (double)timeAcquired; - method
- (double)timePresentCalled; - method
- (unsigned int)updateSeed; - method
- (void)waitOnCommandQueue:(id)arg0; - property
@property(nonatomic) float clientPreferredLatency; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(nonatomic) BOOL didComposite; - property
@property(nonatomic) BOOL didFinish; - property
@property(nonatomic) CGRect dirtyRect; - property
@property(nonatomic) unsigned long long drawableID; - property
@property(nonatomic) BOOL hasExplicitDeadlines; - property
@property(readonly) unsigned long long hash; - property
@property(nonatomic) unsigned int insertSeed; - property
@property(readonly) CAMetalLayer *layer; - property
@property(readonly) CAMetalLayer *layer; - property
@property(nonatomic) double minimumPresentationDuration; - property
@property(nonatomic) BOOL needsLowLatency; - property
@property(nonatomic) CATimingFramePacingLatency preferredLatency; - property
@property(nonatomic) double presentDeadline; - property
@property(nonatomic) unsigned int presentScheduledInsertSeed; - property
@property(nonatomic) BOOL presentScheduledInsertSeedValid; - property
@property(nonatomic) double presentedTime; - property
@property(retain, nonatomic) IOSurfaceSharedEvent *sharedEvent; - property
@property(nonatomic) unsigned long long status; - property
@property(readonly) Class superclass; - property
@property(nonatomic) unsigned int surfaceID; - property
@property(nonatomic) double targetPresentationTimestamp; - property
@property(nonatomic) double targetSamplingTimestamp; - property
@property(nonatomic) double targetTimestamp; - property
@property(readonly) id <MTLTexture> texture; - property
@property(readonly) id <MTLTexture> texture; - property
@property(nonatomic) double timeAcquired; - property
@property(nonatomic) double timePresentCalled; - property
@property(nonatomic) unsigned int updateSeed;
Header
@interface CAMetalDrawable : NSObject <CAMetalDrawable, CAMetalDrawableSPI, MTLDrawableSPI> { struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *_priv; id<MTLTexture> _cachedTexture; CAMetalLayer *_layer; struct CGRect _dirtyRect; unsigned long long _drawableID; IOSurfaceSharedEvent *_sharedEvent; unsigned int _insertSeed; NSMutableArray *_presentedHandlers; unsigned long long _status; double _presentedTime; BOOL _presentScheduledInsertSeedValid; unsigned int _presentScheduledInsertSeed; NSMutableArray *_presentScheduledHandlers; struct atomic<bool> _callbacksErased; struct SpinLock _handlersLock; BOOL _didComposite; BOOL _hasExplicitDeadlines; BOOL _needsLowLatency; BOOL _didFinish; unsigned int _updateSeed; unsigned int _surfaceID; float _clientPreferredLatency; double _timeAcquired; double _timePresentCalled; double _targetTimestamp; double _targetSamplingTimestamp; double _targetPresentationTimestamp; double _presentDeadline; double _minimumPresentationDuration; struct CATimingFramePacingLatency _preferredLatency; } @property (nonatomic) unsigned long long drawableID; @property (nonatomic, strong) IOSurfaceSharedEvent *sharedEvent; @property (nonatomic) unsigned int insertSeed; @property (nonatomic) unsigned int updateSeed; @property (nonatomic) BOOL didComposite; @property (nonatomic) unsigned long long status; @property (nonatomic) double presentedTime; @property (nonatomic) unsigned int presentScheduledInsertSeed; @property (nonatomic) BOOL presentScheduledInsertSeedValid; @property (nonatomic) unsigned int surfaceID; @property (nonatomic) double timeAcquired; @property (nonatomic) double timePresentCalled; @property (nonatomic) double targetTimestamp; @property (nonatomic) double targetSamplingTimestamp; @property (nonatomic) double targetPresentationTimestamp; @property (nonatomic) double presentDeadline; @property (nonatomic) BOOL hasExplicitDeadlines; @property (nonatomic) double minimumPresentationDuration; @property (nonatomic) struct CATimingFramePacingLatency preferredLatency; @property (nonatomic) BOOL needsLowLatency; @property (nonatomic) float clientPreferredLatency; @property (nonatomic) BOOL didFinish; @property (readonly) id<MTLTexture> texture; @property (readonly) CAMetalLayer *layer; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (nonatomic) struct CGRect dirtyRect; - (struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *)priv; - (void)present; - (id)texture; - (id)sharedEvent; - (void)setDidFinish:(BOOL)didFinish; - (void)setTimeAcquired:(double)timeAcquired; - (BOOL)hasPresentedHandlers; - (void)setNeedsLowLatency:(BOOL)needsLowLatency; - (double)targetTimestamp; - (BOOL)hasExplicitDeadlines; - (void)addPresentedHandler:(id /* block */)addPresentedHandler; - (double)presentedTime; - (void)setUpdateSeed:(unsigned int)updateSeed; - (double)timePresentCalled; - (void)setDirtyRect:(struct CGRect)dirtyRect; - (BOOL)needsLowLatency; - (void)estimateTargets; - (oneway void)release; - (void)setDidComposite:(BOOL)didComposite; - (id)initWithDrawablePrivate:(struct _CAMetalDrawablePrivate { struct Atomic { struct { int x0; } x0; } x0; unsigned int x1; unsigned int x2; unsigned int x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; unsigned long long x7; double x8; struct _CAMetalLayerPrivate * x9; struct __IOSurface * x10; id x11; id x12; id x13; unsigned long long x14; id x15; struct CGColorSpace * x16; id x17; id x18; unsigned char x19; int x20 : 1; int x21 : 1; int x22 : 1; int x23 : 1; int x24 : 1; int x25 : 1; int x26 : 1; int x27 : 1; int x28 : 1; int x29 : 1; int x30 : 1; } *)drawablePrivate layer:(id)layer waitStart:(double)waitStart; - (void)releasePrivateReferences:(void *)releasePrivateReferences; - (void)setClientPreferredLatency:(float)clientPreferredLatency; - (void)didPresentAtTime:(double)time; - (struct CGRect)dirtyRect; - (void)setTargetPresentationTimestamp:(double)targetPresentationTimestamp; - (id)layer; - (unsigned long long)status; - (BOOL)didFinish; - (void)waitOnCommandQueue:(id)commandQueue; - (unsigned int)updateSeed; - (void)setPreferredLatency:(struct CATimingFramePacingLatency)preferredLatency; - (void)setSharedEvent:(id)sharedEvent; - (void)setPresentDeadline:(double)presentDeadline; - (void)setTargetTimestamp:(double)targetTimestamp; - (id)cachedTexture; - (double)minimumPresentationDuration; - (id).cxx_construct; - (void)addPresentScheduledHandler:(id /* block */)addPresentScheduledHandler; - (BOOL)presentScheduledInsertSeedValid; - (void).cxx_destruct; - (void)presentWithOptions:(id)options; - (void)dealloc; - (void)didScheduledPresent; - (void)setTargetSamplingTimestamp:(double)targetSamplingTimestamp; - (unsigned int)insertSeed; - (id)newTextureWithResourceIndex:(unsigned long long)resourceIndex; - (void)setStatus:(unsigned long long)status; - (void)setSurfaceID:(unsigned int)surfaceID; - (double)timeAcquired; - (void)signalOnCommandQueue:(id)commandQueue; - (void)presentAfterMinimumDuration:(double)minimumDuration; - (BOOL)didComposite; - (void)setInsertSeed:(unsigned int)insertSeed; - (struct CATimingFramePacingLatency)preferredLatency; - (void)setPresentScheduledInsertSeed:(unsigned int)presentScheduledInsertSeed; - (void)setDrawableID:(unsigned long long)drawableID; - (void)presentAtTime:(double)time; - (unsigned int)surfaceID; - (unsigned int)presentScheduledInsertSeed; - (void)setMinimumPresentationDuration:(double)minimumPresentationDuration; - (float)clientPreferredLatency; - (double)targetSamplingTimestamp; - (void)setHasExplicitDeadlines:(BOOL)hasExplicitDeadlines; - (void)setTimePresentCalled:(double)timePresentCalled; - (void)setPresentScheduledInsertSeedValid:(BOOL)presentScheduledInsertSeedValid; - (void)setPresentedTime:(double)presentedTime; - (double)presentDeadline; - (unsigned long long)drawableID; - (double)targetPresentationTimestamp; @end