BNBCameraTexture

Objective-C

@interface BNBCameraTexture : NSObject

/**@return camera texture format (camera_texture_format). Can be Y, UV, or RGBA. */
- (BNBCameraTextureFormat)getFormat;

/**
 *set camera texture format for current texture.
 *@param format (camera_texture_format). Can be Y, UV, or RGBA.
 */
- (void)setFormat:(BNBCameraTextureFormat)format;

/**@return upcast to base type */
- (nullable BNBImage *)asImage;

@end

Swift

class BNBCameraTexture : NSObject

Undocumented