Macros | Functions | Variables
imgui_impl_opengl3.cpp File Reference
#include "imgui.h"
#include "imgui_impl_opengl3.h"
#include <stdio.h>
#include <stdint.h>
#include <GL/gl3w.h>
Include dependency graph for imgui_impl_opengl3.cpp:

Go to the source code of this file.

Macros

#define IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET   0
 

Functions

static bool CheckProgram (GLuint handle, const char *desc)
 
static bool CheckShader (GLuint handle, const char *desc)
 
bool ImGui_ImplOpenGL3_CreateDeviceObjects ()
 
bool ImGui_ImplOpenGL3_CreateFontsTexture ()
 
void ImGui_ImplOpenGL3_DestroyDeviceObjects ()
 
void ImGui_ImplOpenGL3_DestroyFontsTexture ()
 
bool ImGui_ImplOpenGL3_Init (const char *glsl_version)
 
void ImGui_ImplOpenGL3_NewFrame ()
 
void ImGui_ImplOpenGL3_RenderDrawData (ImDrawData *draw_data)
 
static void ImGui_ImplOpenGL3_SetupRenderState (ImDrawData *draw_data, int fb_width, int fb_height, GLuint vertex_array_object)
 
void ImGui_ImplOpenGL3_Shutdown ()
 

Variables

static int g_AttribLocationProjMtx = 0
 
static int g_AttribLocationTex = 0
 
static int g_AttribLocationVtxColor = 0
 
static int g_AttribLocationVtxPos = 0
 
static int g_AttribLocationVtxUV = 0
 
static unsigned int g_ElementsHandle = 0
 
static GLuint g_FontTexture = 0
 
static GLuint g_FragHandle = 0
 
static char g_GlslVersionString [32] = ""
 
static GLuint g_GlVersion = 0
 
static GLuint g_ShaderHandle = 0
 
static unsigned int g_VboHandle = 0
 
static GLuint g_VertHandle = 0
 

Macro Definition Documentation

◆ IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET

#define IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET   0

Definition at line 138 of file imgui_impl_opengl3.cpp.

Function Documentation

◆ CheckProgram()

static bool CheckProgram ( GLuint  handle,
const char *  desc 
)
static

Definition at line 479 of file imgui_impl_opengl3.cpp.

◆ CheckShader()

static bool CheckShader ( GLuint  handle,
const char *  desc 
)
static

Definition at line 461 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_CreateDeviceObjects()

bool ImGui_ImplOpenGL3_CreateDeviceObjects ( )

Definition at line 496 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_CreateFontsTexture()

bool ImGui_ImplOpenGL3_CreateFontsTexture ( )

Definition at line 420 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_DestroyDeviceObjects()

void ImGui_ImplOpenGL3_DestroyDeviceObjects ( )

Definition at line 676 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_DestroyFontsTexture()

void ImGui_ImplOpenGL3_DestroyFontsTexture ( )

Definition at line 449 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_Init()

bool ImGui_ImplOpenGL3_Init ( const char *  glsl_version)

Definition at line 153 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_NewFrame()

void ImGui_ImplOpenGL3_NewFrame ( )

Definition at line 226 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_RenderDrawData()

void ImGui_ImplOpenGL3_RenderDrawData ( ImDrawData draw_data)

Definition at line 285 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_SetupRenderState()

static void ImGui_ImplOpenGL3_SetupRenderState ( ImDrawData draw_data,
int  fb_width,
int  fb_height,
GLuint  vertex_array_object 
)
static

Definition at line 232 of file imgui_impl_opengl3.cpp.

◆ ImGui_ImplOpenGL3_Shutdown()

void ImGui_ImplOpenGL3_Shutdown ( )

Definition at line 221 of file imgui_impl_opengl3.cpp.

Variable Documentation

◆ g_AttribLocationProjMtx

int g_AttribLocationProjMtx = 0
static

Definition at line 148 of file imgui_impl_opengl3.cpp.

◆ g_AttribLocationTex

int g_AttribLocationTex = 0
static

Definition at line 148 of file imgui_impl_opengl3.cpp.

◆ g_AttribLocationVtxColor

int g_AttribLocationVtxColor = 0
static

Definition at line 149 of file imgui_impl_opengl3.cpp.

◆ g_AttribLocationVtxPos

int g_AttribLocationVtxPos = 0
static

Definition at line 149 of file imgui_impl_opengl3.cpp.

◆ g_AttribLocationVtxUV

int g_AttribLocationVtxUV = 0
static

Definition at line 149 of file imgui_impl_opengl3.cpp.

◆ g_ElementsHandle

unsigned int g_ElementsHandle = 0
static

Definition at line 150 of file imgui_impl_opengl3.cpp.

◆ g_FontTexture

GLuint g_FontTexture = 0
static

Definition at line 146 of file imgui_impl_opengl3.cpp.

◆ g_FragHandle

GLuint g_FragHandle = 0
static

Definition at line 147 of file imgui_impl_opengl3.cpp.

◆ g_GlslVersionString

char g_GlslVersionString[32] = ""
static

Definition at line 145 of file imgui_impl_opengl3.cpp.

◆ g_GlVersion

GLuint g_GlVersion = 0
static

Definition at line 144 of file imgui_impl_opengl3.cpp.

◆ g_ShaderHandle

GLuint g_ShaderHandle = 0
static

Definition at line 147 of file imgui_impl_opengl3.cpp.

◆ g_VboHandle

unsigned int g_VboHandle = 0
static

Definition at line 150 of file imgui_impl_opengl3.cpp.

◆ g_VertHandle

GLuint g_VertHandle = 0
static

Definition at line 147 of file imgui_impl_opengl3.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03