Klasse ImGuiImplGl3
java.lang.Object
de.luckymcdev.foundryengine.client.imgui.backend.ImGuiImplGl3
Ported ImGui OpenGL3 Backend tailored for Minecraft's Blaze3D GlStateManager
with safe Multi-Viewport support. Supports OpenGL 3.3 and higher.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifikator und TypKlasseBeschreibungprotected static classData class to store implementation specific fields. -
Feldübersicht
FelderModifikator und TypFeldBeschreibungprotected ImGuiImplGl3.Dataprotected static final booleanprotected static final String -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected booleancheckProgram(int handle, String desc) protected booleancheckShader(int handle, String desc) protected booleanbooleanvoidvoidprotected Stringprotected Stringprotected Stringbooleaninit()booleanMethod to do an initialization of the state.protected voidprotected ImGuiImplGl3.DatanewData()voidnewFrame()protected intparseGlslVersionString(String glslVersion) voidrenderDrawData(imgui.ImDrawData drawData) OpenGL3 Render function.protected voidsetupRenderState(imgui.ImDrawData drawData, int fbWidth, int fbHeight, int gVertexArrayObject) voidshutdown()protected voidprotected Stringprotected String
-
Felddetails
-
OS
-
IS_APPLE
protected static final boolean IS_APPLE -
data
-
-
Konstruktordetails
-
ImGuiImplGl3
public ImGuiImplGl3()
-
-
Methodendetails
-
init
Method to do an initialization of the state. It SHOULD be called before calling of therenderDrawData(ImDrawData)method.- Parameter:
glslVersion- string with the version of the GLSL- Gibt zurück:
- true when initialized
-
shutdown
public void shutdown() -
newData
-
init
public boolean init() -
setupRenderState
protected void setupRenderState(imgui.ImDrawData drawData, int fbWidth, int fbHeight, int gVertexArrayObject) -
renderDrawData
public void renderDrawData(imgui.ImDrawData drawData) OpenGL3 Render function.- Parameter:
drawData- draw data to render
-
newFrame
public void newFrame() -
createFontsTexture
public boolean createFontsTexture() -
destroyFontsTexture
public void destroyFontsTexture() -
createDeviceObjects
protected boolean createDeviceObjects() -
checkShader
-
checkProgram
-
parseGlslVersionString
-
destroyDeviceObjects
public void destroyDeviceObjects() -
initPlatformInterface
protected void initPlatformInterface() -
shutdownPlatformInterface
protected void shutdownPlatformInterface() -
vertexShaderGlsl330Core
-
fragmentShaderGlsl330Core
-
fragmentShaderGlsl300es
-
vertexShaderGlsl410Core
-
fragmentShaderGlsl410Core
-