{"action":"created","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/475","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/475/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/475/events","html_url":"https://github.com/ocornut/imgui/issues/475","id":125551201,"number":475,"title":"How to render 3D scene within UI Element ? ","user":{"login":"tanb0065","id":12490121,"avatar_url":"https://avatars.githubusercontent.com/u/12490121?v=3","gravatar_id":"","url":"https://api.github.com/users/tanb0065","html_url":"https://github.com/tanb0065","followers_url":"https://api.github.com/users/tanb0065/followers","following_url":"https://api.github.com/users/tanb0065/following{/other_user}","gists_url":"https://api.github.com/users/tanb0065/gists{/gist_id}","starred_url":"https://api.github.com/users/tanb0065/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanb0065/subscriptions","organizations_url":"https://api.github.com/users/tanb0065/orgs","repos_url":"https://api.github.com/users/tanb0065/repos","events_url":"https://api.github.com/users/tanb0065/events{/privacy}","received_events_url":"https://api.github.com/users/tanb0065/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-08T06:25:00Z","updated_at":"2016-01-14T09:01:23Z","closed_at":"2016-01-08T13:17:06Z","body":"Hi,\r\n\r\nI am new to imgui. After done some reading, I notice there is a way to render 3D scene in UI Element which is using ImDrawCallBack. However, I still have no clue on how to use this function. \r\n\r\nCan show me an example on how to use this function ? Or is there any other simple way to do it.\r\n\r\nUsing OpenGL/GLFW."},"comment":{"url":"https://api.github.com/repos/ocornut/imgui/issues/comments/171577422","html_url":"https://github.com/ocornut/imgui/issues/475#issuecomment-171577422","issue_url":"https://api.github.com/repos/ocornut/imgui/issues/475","id":171577422,"user":{"login":"krys-spectralpixel","id":6149696,"avatar_url":"https://avatars.githubusercontent.com/u/6149696?v=3","gravatar_id":"","url":"https://api.github.com/users/krys-spectralpixel","html_url":"https://github.com/krys-spectralpixel","followers_url":"https://api.github.com/users/krys-spectralpixel/followers","following_url":"https://api.github.com/users/krys-spectralpixel/following{/other_user}","gists_url":"https://api.github.com/users/krys-spectralpixel/gists{/gist_id}","starred_url":"https://api.github.com/users/krys-spectralpixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krys-spectralpixel/subscriptions","organizations_url":"https://api.github.com/users/krys-spectralpixel/orgs","repos_url":"https://api.github.com/users/krys-spectralpixel/repos","events_url":"https://api.github.com/users/krys-spectralpixel/events{/privacy}","received_events_url":"https://api.github.com/users/krys-spectralpixel/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T09:01:23Z","updated_at":"2016-01-14T09:01:23Z","body":"Thanks,\r\n\r\nBTW... how to remove a callback ?\r\n\r\nThere is no \"RemoveCallback\" method :-("}}