36 #pragma warning(disable : 4068 4146 4293)
39 #include <filament/Engine.h>
40 #include <filament/IndexBuffer.h>
41 #include <filament/Material.h>
42 #include <filament/MaterialInstance.h>
43 #include <filament/Texture.h>
44 #include <filament/VertexBuffer.h>
45 #include <filament/View.h>
58 namespace visualization {
60 class FilamentRenderer;
64 namespace visualization {
77 const Size& window_size);
90 void Update(ImDrawData* imguiData);
95 void CreateBuffers(
size_t num_required_buffers);
96 void PopulateVertexData(
size_t buffer_index,
97 size_t vb_size_in_bytes,
99 size_t ib_size_in_bytes,
101 void CreateVertexBuffer(
size_t buffer_index,
size_t capacity);
102 void CreateIndexBuffer(
size_t buffer_index,
size_t capacity);
107 std::unique_ptr<Impl> impl_;
Definition: ImguiFilamentBridge.h:74
void Update(ImDrawData *imguiData)
Definition: ImguiFilamentBridge.cpp:271
~ImguiFilamentBridge()
Definition: ImguiFilamentBridge.cpp:211
ImguiFilamentBridge(visualization::rendering::FilamentRenderer *renderer, const Size &window_size)
Definition: ImguiFilamentBridge.cpp:150
void OnWindowResized(const Window &window)
Definition: ImguiFilamentBridge.cpp:370
void CreateAtlasTextureAlpha8(unsigned char *pixels, int width, int height, int bytes_per_px)
Definition: ImguiFilamentBridge.cpp:185
Definition: FilamentRenderer.h:36
Definition: PinholeCameraIntrinsic.cpp:16
Definition: ImguiFilamentBridge.cpp:129