remove superseded destroyTexture method (call texture.dispose() instead)
This commit is contained in:
@@ -1897,13 +1897,6 @@ class ThermionViewerFFI extends ThermionViewer {
|
|||||||
return FFILinearImage(ptr);
|
return FFILinearImage(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
|
||||||
///
|
|
||||||
///
|
|
||||||
Future destroyTexture(FFITexture texture) async {
|
|
||||||
destroy_texture(_sceneManager!, texture.pointer.cast<Void>());
|
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -803,10 +803,6 @@ abstract class ThermionViewer {
|
|||||||
///
|
///
|
||||||
Future<LinearImage> createImage(int width, int height, int channels);
|
Future<LinearImage> createImage(int width, int height, int channels);
|
||||||
|
|
||||||
///
|
|
||||||
///
|
|
||||||
///
|
|
||||||
Future destroyTexture(covariant ThermionTexture texture);
|
|
||||||
|
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -75,9 +75,6 @@ extern "C"
|
|||||||
EMSCRIPTEN_KEEPALIVE Aabb2 get_bounding_box(TSceneManager *sceneManager, TView *view, EntityId entity);
|
EMSCRIPTEN_KEEPALIVE Aabb2 get_bounding_box(TSceneManager *sceneManager, TView *view, EntityId entity);
|
||||||
EMSCRIPTEN_KEEPALIVE void get_bounding_box_to_out(TSceneManager *sceneManager, TView *view, EntityId entity, float *minX, float *minY, float *maxX, float *maxY);
|
EMSCRIPTEN_KEEPALIVE void get_bounding_box_to_out(TSceneManager *sceneManager, TView *view, EntityId entity, float *minX, float *minY, float *maxX, float *maxY);
|
||||||
|
|
||||||
EMSCRIPTEN_KEEPALIVE void destroy_texture(TSceneManager *sceneManager, void *const texture);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user