Klasse ImGuiImplGl3

java.lang.Object
de.luckymcdev.foundryengine.client.imgui.backend.ImGuiImplGl3

public class ImGuiImplGl3 extends Object
Ported ImGui OpenGL3 Backend tailored for Minecraft's Blaze3D GlStateManager with safe Multi-Viewport support. Supports OpenGL 3.3 and higher.
  • Felddetails

    • OS

      protected static final String OS
    • IS_APPLE

      protected static final boolean IS_APPLE
    • data

      protected ImGuiImplGl3.Data data
  • Konstruktordetails

    • ImGuiImplGl3

      public ImGuiImplGl3()
  • Methodendetails

    • init

      public boolean init(String glslVersion)
      Method to do an initialization of the state. It SHOULD be called before calling of the renderDrawData(ImDrawData) method.
      Parameter:
      glslVersion - string with the version of the GLSL
      Gibt zurück:
      true when initialized
    • shutdown

      public void shutdown()
    • newData

      protected ImGuiImplGl3.Data 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

      protected boolean checkShader(int handle, String desc)
    • checkProgram

      protected boolean checkProgram(int handle, String desc)
    • parseGlslVersionString

      protected int parseGlslVersionString(String glslVersion)
    • destroyDeviceObjects

      public void destroyDeviceObjects()
    • initPlatformInterface

      protected void initPlatformInterface()
    • shutdownPlatformInterface

      protected void shutdownPlatformInterface()
    • vertexShaderGlsl330Core

      protected String vertexShaderGlsl330Core()
    • fragmentShaderGlsl330Core

      protected String fragmentShaderGlsl330Core()
    • fragmentShaderGlsl300es

      protected String fragmentShaderGlsl300es()
    • vertexShaderGlsl410Core

      protected String vertexShaderGlsl410Core()
    • fragmentShaderGlsl410Core

      protected String fragmentShaderGlsl410Core()