Banuba SDK
libs
djinni
generated
objc
BNBCubemap.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 <Foundation/Foundation.h>
5
@class
BNBImage
;
6
@class
BNBResource
;
7
8
9
/**Class, which repesent cubemap texture interface. Subclass of image */
10
11
#ifndef DJINNI_EXPORT
12
#define DJINNI_EXPORT __attribute__((__visibility__("default")))
13
#endif
14
15
DJINNI_EXPORT
16
@interface
BNBCubemap
: NSObject
17
18
- (void)loadResource:(nullable
BNBResource
*)res;
19
20
/**
21
*Load cubemap texture data from specified file name. For now only supported .ktx (cuemap) images.
22
*@param file_name (string): absolute path for image file.
23
*/
24
- (void)load:(nonnull NSString *)filename;
25
26
/**@return upcast to base type */
27
- (nullable
BNBImage
*)
asImage
;
28
29
@end
BNBImage
Definition:
BNBImage.h:24
BNBResource
Definition:
BNBResource.h:14
DJINNI_EXPORT
#define DJINNI_EXPORT
Class, which repesent cubemap texture interface.
Definition:
BNBCubemap.h:12
BNBCubemap
Definition:
BNBCubemap.h:16
-[BNBCubemap asImage]
nullable BNBImage * asImage()
Generated by
1.8.17