//=============================================================================================================================
//
// EasyAR Sense 3.1.0-final-7bf6504c6
// Copyright (c) 2015-2020 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved.
// EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China
// and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd.
//
//=============================================================================================================================
#import "easyar/types.oc.h"
///
/// TextureId encapsulates a texture object in rendering API.
/// For OpenGL/OpenGLES, getInt and fromInt shall be used. For Direct3D, getPointer and fromPointer shall be used.
///
@interface easyar_TextureId : easyar_RefBase
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
///
/// Gets ID of an OpenGL/OpenGLES texture object.
///
- (int)getInt;
///
/// Gets pointer of a Direct3D texture object.
///
- (void *)getPointer;
///
/// Creates from ID of an OpenGL/OpenGLES texture object.
///
+ (easyar_TextureId *)fromInt:(int)_value;
///
/// Creates from pointer of a Direct3D texture object.
///
+ (easyar_TextureId *)fromPointer:(void *)ptr;
@end