BNBSurfaceData
Objective-C
@interface BNBSurfaceData : NSObject
- (nonnull instancetype)initWithGpuDevicePtr:(int64_t)gpuDevicePtr
commandQueuePtr:(int64_t)commandQueuePtr
surfacePtr:(int64_t)surfacePtr;
+ (nonnull instancetype)surfaceDataWithGpuDevicePtr:(int64_t)gpuDevicePtr
commandQueuePtr:(int64_t)commandQueuePtr
surfacePtr:(int64_t)surfacePtr;
/** Pointer to device gpu */
@property (nonatomic, readonly) int64_t gpuDevicePtr;
/** Pointer to gpu command queue */
@property (nonatomic, readonly) int64_t commandQueuePtr;
/** Pointer to render layer */
@property (nonatomic, readonly) int64_t surfacePtr;
@end
Swift
class BNBSurfaceData : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithGpuDevicePtr:(int64_t)gpuDevicePtr commandQueuePtr:(int64_t)commandQueuePtr surfacePtr:(int64_t)surfacePtr;
Swift
init(gpuDevicePtr: Int64, commandQueuePtr: Int64, surfacePtr: Int64)
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)surfaceDataWithGpuDevicePtr:(int64_t)gpuDevicePtr commandQueuePtr:(int64_t)commandQueuePtr surfacePtr:(int64_t)surfacePtr;
-
Pointer to device gpu
Declaration
Objective-C
@property (nonatomic, readonly) int64_t gpuDevicePtr;
Swift
var gpuDevicePtr: Int64 { get }
-
Pointer to gpu command queue
Declaration
Objective-C
@property (nonatomic, readonly) int64_t commandQueuePtr;
Swift
var commandQueuePtr: Int64 { get }
-
Pointer to render layer
Declaration
Objective-C
@property (nonatomic, readonly) int64_t surfacePtr;
Swift
var surfacePtr: Int64 { get }