Objective-CprotocolDesignLibrary

@protocol MTLResidencySet <NSObject>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 19

  1. method- (void)addAllocation:(id)arg0;
  2. method- (void)addAllocations:(const id *)arg0 count:(unsigned long long)arg1;
  3. method- (id)allAllocations;
  4. method- (unsigned long long)allocatedSize;
  5. method- (unsigned long long)allocationCount;
  6. method- (void)commit;
  7. method- (BOOL)containsAllocation:(id)arg0;
  8. method- (id)device;
  9. method- (void)endResidency;
  10. method- (id)label;
  11. method- (void)removeAllAllocations;
  12. method- (void)removeAllocation:(id)arg0;
  13. method- (void)removeAllocations:(const id *)arg0 count:(unsigned long long)arg1;
  14. method- (void)requestResidency;
  15. property@property(readonly, copy) NSArray *allAllocations;
  16. property@property(readonly) unsigned long long allocatedSize;
  17. property@property(readonly) unsigned long long allocationCount;
  18. property@property(readonly) id <MTLDevice> device;
  19. property@property(readonly) NSString *label;
@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