Banuba SDK
BNBCameraTexture.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from scene.djinni
3 
5 #import <Foundation/Foundation.h>
6 @class BNBImage;
7 
8 
9 /**
10  *Special class, which represent web or phone camera image textures. Because of different platfroms can provide YUV,
11  * or RGBA camera texture representations camera texture can be represented in Y, UV, RGBA formats, depends on
12  * platfrom. Subclass of image
13  */
14 
15 #ifndef DJINNI_EXPORT
16  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
17 #endif
18 
20 @interface BNBCameraTexture : NSObject
21 
22 /**@return camera texture format (camera_texture_format). Can be Y, UV, or RGBA. */
23 - (BNBCameraTextureFormat)getFormat;
24 
25 /**
26  *set camera texture format for current texture.
27  *@param format (camera_texture_format). Can be Y, UV, or RGBA.
28  */
29 - (void)setFormat:(BNBCameraTextureFormat)format;
30 
31 /**@return upcast to base type */
32 - (nullable BNBImage *)asImage;
33 
34 @end
-[BNBCameraTexture getFormat]
BNBCameraTextureFormat getFormat()
BNBImage
Definition: BNBImage.h:24
BNBCameraTexture
Definition: BNBCameraTexture.h:20
DJINNI_EXPORT
#define DJINNI_EXPORT
Special class, which represent web or phone camera image textures.
Definition: BNBCameraTexture.h:16
-[BNBCameraTexture asImage]
nullable BNBImage * asImage()
BNBCameraTextureFormat.h