BNBImage
Objective-C
@interface BNBImage : NSObject
/**@return image name (string) */
- (nonnull NSString *)getName;
/**@return image type. type of image subclass (enum, can be attachment, cubemap, segmentation_mask, texture, camera_texture, video, weighted_lut) */
- (BNBImageType)getType;
/**cast to attachment subclass. May throw. */
- (nullable BNBAttachment *)asAttachment;
/**cast to cubemap subclass. May throw. */
- (nullable BNBCubemap *)asCubemap;
/**cast to segmentation_mask subclass. May throw. */
- (nullable BNBSegmentationMask *)asSegmentationMask;
/**cast to texture subclass. May throw. */
- (nullable BNBTexture *)asTexture;
/**cast to camera_texture subclass. May throw. */
- (nullable BNBCameraTexture *)asCameraTexture;
/**cast to video subclass. May throw. */
- (nullable BNBVideo *)asVideo;
/**cast to weighted_lut subclass. May throw. */
- (nullable BNBWeightedLut *)asWeightedLut;
/**cast to text_texture subclass. May throw. */
- (nullable BNBTextTexture *)asTextTexture;
- (nullable BNBProceduralTexture *)asProceduralTexture;
@endSwift
class BNBImage : NSObjectUndocumented
- 
                  
                  DeclarationObjective-C - (nonnull NSString *)getName;Swift func getName() -> StringReturn Valueimage name (string) 
- 
                  
                  Return Valueimage type. type of image subclass (enum, can be attachment, cubemap, segmentation_mask, texture, camera_texture, video, weighted_lut) 
- 
                  
                  cast to attachment subclass. May throw. DeclarationObjective-C - (nullable BNBAttachment *)asAttachment;Swift func asAttachment() -> BNBAttachment?
- 
                  
                  cast to cubemap subclass. May throw. 
- 
                  
                  cast to segmentation_mask subclass. May throw. DeclarationObjective-C - (nullable BNBSegmentationMask *)asSegmentationMask;Swift func asSegmentationMask() -> BNBSegmentationMask?
- 
                  
                  cast to texture subclass. May throw. 
- 
                  
                  cast to camera_texture subclass. May throw. DeclarationObjective-C - (nullable BNBCameraTexture *)asCameraTexture;Swift func asCameraTexture() -> BNBCameraTexture?
- 
                  
                  cast to weighted_lut subclass. May throw. DeclarationObjective-C - (nullable BNBWeightedLut *)asWeightedLut;Swift func asWeightedLut() -> BNBWeightedLut?
- 
                  
                  cast to text_texture subclass. May throw. DeclarationObjective-C - (nullable BNBTextTexture *)asTextTexture;Swift func asTextTexture() -> BNBTextTexture?
- 
                  
                  Undocumented DeclarationObjective-C - (nullable BNBProceduralTexture *)asProceduralTexture;Swift func asProceduralTexture() -> BNBProceduralTexture?
 BNBImage Class Reference
        BNBImage Class Reference