Objective-CprotocolPhotosGenerativeServices
MTLTexture
@protocol MTLTexture <MTLResource>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolMTLResource
Members 67
- method
- (BOOL)allowGPUOptimizedContents; - method
- (unsigned long long)arrayLength; - method
- (id)buffer; - method
- (unsigned long long)bufferBytesPerRow; - method
- (unsigned long long)bufferOffset; - method
- (long long)compressionType; - method
- (unsigned long long)depth; - method
- (unsigned long long)firstMipmapInTail; - method
- (void)getBytes:(void *)arg0 bytesPerRow:(unsigned long long)arg1 bytesPerImage:(unsigned long long)arg2 fromRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })arg3 mipmapLevel:(unsigned long long)arg4 slice:(unsigned long long)arg5; - method
- (void)getBytes:(void *)arg0 bytesPerRow:(unsigned long long)arg1 fromRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })arg2 mipmapLevel:(unsigned long long)arg3; - method
- (MTLResourceID)gpuResourceID; - method
- (unsigned long long)height; - method
- (struct __IOSurface *)iosurface; - method
- (unsigned long long)iosurfacePlane; - method
- (BOOL)isFramebufferOnly; - method
- (BOOL)isShareable; - method
- (BOOL)isSparse; - method
- (float)minLOD; - method
- (unsigned long long)mipmapLevelCount; - method
- (id)newSharedTextureHandle; - method
- (id)newTextureViewWithDescriptor:(id)arg0; - method
- (id)newTextureViewWithPixelFormat:(unsigned long long)arg0; - method
- (id)newTextureViewWithPixelFormat:(unsigned long long)arg0 textureType:(unsigned long long)arg1 levels:(_NSRange)arg2 slices:(_NSRange)arg3; - method
- (id)newTextureViewWithPixelFormat:(unsigned long long)arg0 textureType:(unsigned long long)arg1 levels:(_NSRange)arg2 slices:(_NSRange)arg3 swizzle:(struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; })arg4; - method
- (unsigned long long)parentRelativeLevel; - method
- (unsigned long long)parentRelativeSlice; - method
- (id)parentTexture; - method
- (unsigned long long)pixelFormat; - method
- (void)replaceRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })arg0 mipmapLevel:(unsigned long long)arg1 slice:(unsigned long long)arg2 withBytes:(const void *)arg3 bytesPerRow:(unsigned long long)arg4 bytesPerImage:(unsigned long long)arg5; - method
- (void)replaceRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })arg0 mipmapLevel:(unsigned long long)arg1 withBytes:(const void *)arg2 bytesPerRow:(unsigned long long)arg3; - method
- (id)rootResource; - method
- (unsigned long long)sampleCount; - method
- (long long)sparseTextureTier; - method
- (struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; })swizzle; - method
- (unsigned long long)tailSizeInBytes; - method
- (unsigned long long)textureType; - method
- (unsigned long long)usage; - method
- (unsigned long long)width; - property
@property(readonly) BOOL allowGPUOptimizedContents; - property
@property(readonly) unsigned long long arrayLength; - property
@property(readonly) id <MTLBuffer> buffer; - property
@property(readonly) unsigned long long bufferBytesPerRow; - property
@property(readonly) unsigned long long bufferOffset; - property
@property(readonly) long long compressionType; - property
@property(readonly) unsigned long long depth; - property
@property(readonly) unsigned long long firstMipmapInTail; - property
@property(getter=isFramebufferOnly, readonly) BOOL framebufferOnly; - property
@property(readonly) MTLResourceID gpuResourceID; - property
@property(readonly) unsigned long long height; - property
@property(readonly) struct __IOSurface *iosurface; - property
@property(readonly) unsigned long long iosurfacePlane; - property
@property(readonly) BOOL isSparse; - property
@property(readonly) float minLOD; - property
@property(readonly) unsigned long long mipmapLevelCount; - property
@property(readonly) unsigned long long parentRelativeLevel; - property
@property(readonly) unsigned long long parentRelativeSlice; - property
@property(readonly) id <MTLTexture> parentTexture; - property
@property(readonly) unsigned long long pixelFormat; - property
@property(readonly) id <MTLResource> rootResource; - property
@property(readonly) unsigned long long sampleCount; - property
@property(getter=isShareable, readonly) BOOL shareable; - property
@property(readonly) long long sparseTextureTier; - property
@property(readonly, nonatomic) struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; } swizzle; - property
@property(readonly) unsigned long long tailSizeInBytes; - property
@property(readonly) unsigned long long textureType; - property
@property(readonly) unsigned long long usage; - property
@property(readonly) unsigned long long width;
Header
@protocol MTLTexture <MTLResource> @required @property (readonly) id<MTLResource> rootResource; @property (readonly) id<MTLTexture> parentTexture; @property (readonly) unsigned long long parentRelativeLevel; @property (readonly) unsigned long long parentRelativeSlice; @property (readonly) id<MTLBuffer> buffer; @property (readonly) unsigned long long bufferOffset; @property (readonly) unsigned long long bufferBytesPerRow; @property (readonly) struct __IOSurface *iosurface; @property (readonly) unsigned long long iosurfacePlane; @property (readonly) unsigned long long textureType; @property (readonly) unsigned long long pixelFormat; @property (readonly) unsigned long long width; @property (readonly) unsigned long long height; @property (readonly) unsigned long long depth; @property (readonly) unsigned long long mipmapLevelCount; @property (readonly) unsigned long long sampleCount; @property (readonly) unsigned long long arrayLength; @property (readonly) unsigned long long usage; @property (getter=isShareable, readonly) BOOL shareable; @property (getter=isFramebufferOnly, readonly) BOOL framebufferOnly; @property (readonly) unsigned long long firstMipmapInTail; @property (readonly) unsigned long long tailSizeInBytes; @property (readonly) BOOL isSparse; @property (readonly) BOOL allowGPUOptimizedContents; @property (readonly) long long compressionType; @property (readonly) struct MTLResourceID gpuResourceID; @property (nonatomic, readonly) struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; } swizzle; @property (readonly) long long sparseTextureTier; @property (readonly) float minLOD; - (unsigned long long)mipmapLevelCount; - (id)buffer; - (unsigned long long)depth; - (struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; })swizzle; - (struct __IOSurface *)iosurface; - (void)replaceRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })replaceRegion mipmapLevel:(unsigned long long)mipmapLevel slice:(unsigned long long)slice withBytes:(const void *)withBytes bytesPerRow:(unsigned long long)row bytesPerImage:(unsigned long long)image; - (unsigned long long)usage; - (BOOL)isSparse; - (unsigned long long)firstMipmapInTail; - (id)newTextureViewWithDescriptor:(id)descriptor; - (unsigned long long)pixelFormat; - (unsigned long long)width; - (id)newTextureViewWithPixelFormat:(unsigned long long)pixelFormat textureType:(unsigned long long)textureType levels:(struct _NSRange)levels slices:(struct _NSRange)slices; - (void)replaceRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })replaceRegion mipmapLevel:(unsigned long long)mipmapLevel withBytes:(const void *)withBytes bytesPerRow:(unsigned long long)row; - (struct MTLResourceID)gpuResourceID; - (unsigned long long)bufferOffset; - (id)newSharedTextureHandle; - (unsigned long long)parentRelativeLevel; - (void)getBytes:(void *)bytes bytesPerRow:(unsigned long long)row bytesPerImage:(unsigned long long)image fromRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })fromRegion mipmapLevel:(unsigned long long)mipmapLevel slice:(unsigned long long)slice; - (unsigned long long)parentRelativeSlice; - (void)getBytes:(void *)bytes bytesPerRow:(unsigned long long)row fromRegion:(struct { struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x0; struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; } x1; })fromRegion mipmapLevel:(unsigned long long)mipmapLevel; - (unsigned long long)arrayLength; - (unsigned long long)tailSizeInBytes; - (long long)compressionType; - (BOOL)allowGPUOptimizedContents; - (unsigned long long)bufferBytesPerRow; - (id)parentTexture; - (unsigned long long)sampleCount; - (unsigned long long)height; - (id)rootResource; - (id)newTextureViewWithPixelFormat:(unsigned long long)pixelFormat; - (unsigned long long)textureType; - (unsigned long long)iosurfacePlane; - (BOOL)isFramebufferOnly; - (BOOL)isShareable; - (id)newTextureViewWithPixelFormat:(unsigned long long)pixelFormat textureType:(unsigned long long)textureType levels:(struct _NSRange)levels slices:(struct _NSRange)slices swizzle:(struct { unsigned char x0; unsigned char x1; unsigned char x2; unsigned char x3; })swizzle; - (float)minLOD; - (long long)sparseTextureTier; @end