Objective-CprotocolDesignLibrary
MTLResidencySet
@protocol MTLResidencySet <NSObject>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolNSObject
Members 19
- method
- (void)addAllocation:(id)arg0; - method
- (void)addAllocations:(const id *)arg0 count:(unsigned long long)arg1; - method
- (id)allAllocations; - method
- (unsigned long long)allocatedSize; - method
- (unsigned long long)allocationCount; - method
- (void)commit; - method
- (BOOL)containsAllocation:(id)arg0; - method
- (id)device; - method
- (void)endResidency; - method
- (id)label; - method
- (void)removeAllAllocations; - method
- (void)removeAllocation:(id)arg0; - method
- (void)removeAllocations:(const id *)arg0 count:(unsigned long long)arg1; - method
- (void)requestResidency; - property
@property(readonly, copy) NSArray *allAllocations; - property
@property(readonly) unsigned long long allocatedSize; - property
@property(readonly) unsigned long long allocationCount; - property
@property(readonly) id <MTLDevice> device; - property
@property(readonly) NSString *label;
Header
@protocol MTLResidencySet <NSObject> @required @property (readonly) id<MTLDevice> device; @property (readonly) NSString *label; @property (readonly) unsigned long long allocatedSize; @property (copy, readonly) NSArray *allAllocations; @property (readonly) unsigned long long allocationCount; - (void)commit; - (unsigned long long)allocatedSize; - (id)device; - (id)label; - (void)addAllocation:(id)addAllocation; - (void)removeAllocation:(id)removeAllocation; - (unsigned long long)allocationCount; - (void)addAllocations:(const id *)addAllocations count:(unsigned long long)count; - (id)allAllocations; - (BOOL)containsAllocation:(id)containsAllocation; - (void)endResidency; - (void)removeAllAllocations; - (void)removeAllocations:(const id *)removeAllocations count:(unsigned long long)count; - (void)requestResidency; @end