//=============================================================================================================================
//
// 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.
//
//=============================================================================================================================
#ifndef __EASYAR_TEXTURE_H__
#define __EASYAR_TEXTURE_H__
#include "easyar/types.h"
#ifdef __cplusplus
extern "C" {
#endif
///
/// Gets ID of an OpenGL/OpenGLES texture object.
///
int easyar_TextureId_getInt(easyar_TextureId * This);
///
/// Gets pointer of a Direct3D texture object.
///
void * easyar_TextureId_getPointer(easyar_TextureId * This);
///
/// Creates from ID of an OpenGL/OpenGLES texture object.
///
void easyar_TextureId_fromInt(int _value, /* OUT */ easyar_TextureId * * Return);
///
/// Creates from pointer of a Direct3D texture object.
///
void easyar_TextureId_fromPointer(void * ptr, /* OUT */ easyar_TextureId * * Return);
void easyar_TextureId__dtor(easyar_TextureId * This);
void easyar_TextureId__retain(const easyar_TextureId * This, /* OUT */ easyar_TextureId * * Return);
const char * easyar_TextureId__typeName(const easyar_TextureId * This);
#ifdef __cplusplus
}
#endif
#endif