Banuba SDK
BNBImage.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 
4 #import "BNBImageType.h"
5 #import <Foundation/Foundation.h>
6 @class BNBAttachment;
7 @class BNBCameraTexture;
8 @class BNBCubemap;
10 @class BNBSegmentationMask;
11 @class BNBTextTexture;
12 @class BNBTexture;
13 @class BNBVideo;
14 @class BNBWeightedLut;
15 
16 
17 /**Base class, which represented basic image interface */
18 
19 #ifndef DJINNI_EXPORT
20  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
21 #endif
22 
24 @interface BNBImage : NSObject
25 
26 /**@return image name (string) */
27 - (nonnull NSString *)getName;
28 
29 /**@return image type. type of image subclass (enum, can be attachment, cubemap, segmentation_mask, texture, camera_texture, video, weighted_lut) */
30 - (BNBImageType)getType;
31 
32 /**cast to attachment subclass. May throw. */
33 - (nullable BNBAttachment *)asAttachment;
34 
35 /**cast to cubemap subclass. May throw. */
36 - (nullable BNBCubemap *)asCubemap;
37 
38 /**cast to segmentation_mask subclass. May throw. */
40 
41 /**cast to texture subclass. May throw. */
42 - (nullable BNBTexture *)asTexture;
43 
44 /**cast to camera_texture subclass. May throw. */
45 - (nullable BNBCameraTexture *)asCameraTexture;
46 
47 /**cast to video subclass. May throw. */
48 - (nullable BNBVideo *)asVideo;
49 
50 /**cast to weighted_lut subclass. May throw. */
51 - (nullable BNBWeightedLut *)asWeightedLut;
52 
53 /**cast to text_texture subclass. May throw. */
54 - (nullable BNBTextTexture *)asTextTexture;
55 
57 
58 @end
BNBAttachment
Class, represents render target attachment.
Definition: BNBAttachment.h:20
BNBImage
Definition: BNBImage.h:24
BNBSegmentationMask
Definition: BNBSegmentationMask.h:16
-[BNBImage asWeightedLut]
nullable BNBWeightedLut * asWeightedLut()
cast to weighted_lut subclass.
BNBVideo
Definition: BNBVideo.h:18
BNBCameraTexture
Definition: BNBCameraTexture.h:20
-[BNBImage asTextTexture]
nullable BNBTextTexture * asTextTexture()
cast to text_texture subclass.
-[BNBImage getName]
nonnull NSString * getName()
-[BNBImage asVideo]
nullable BNBVideo * asVideo()
cast to video subclass.
BNBTextTexture
Definition: BNBTextTexture.h:15
BNBCubemap
Definition: BNBCubemap.h:16
-[BNBImage asAttachment]
nullable BNBAttachment * asAttachment()
cast to attachment subclass.
-[BNBImage asCubemap]
nullable BNBCubemap * asCubemap()
cast to cubemap subclass.
DJINNI_EXPORT
#define DJINNI_EXPORT
Base class, which represented basic image interface.
Definition: BNBImage.h:20
BNBImageType.h
-[BNBImage getType]
BNBImageType getType()
-[BNBImage asProceduralTexture]
nullable BNBProceduralTexture * asProceduralTexture()
-[BNBImage asSegmentationMask]
nullable BNBSegmentationMask * asSegmentationMask()
cast to segmentation_mask subclass.
BNBTexture
Definition: BNBTexture.h:17
-[BNBImage asTexture]
nullable BNBTexture * asTexture()
cast to texture subclass.
-[BNBImage asCameraTexture]
nullable BNBCameraTexture * asCameraTexture()
cast to camera_texture subclass.
BNBProceduralTexture
Definition: BNBProceduralTexture.h:23
BNBWeightedLut
Definition: BNBWeightedLut.h:15