Files
stgsharp/源代码/StgShqrpGraphic/SSGinternal.h
T

46 lines
1004 B
C

#pragma once
#include "GLenv/include/glad/glad.h"
#include "GLenv/include/glad/glad.h"
#include "StgSharpGraphic.h"
#include <xmmintrin.h>
extern __m128* defaultVecPtr;
typedef struct sse_matmap
{
__m128* c0ptr;
__m128* c1ptr;
__m128* c2ptr;
__m128* c3ptr;
}sse_matmap;
typedef struct glIOPack
{
//these are gl functions used to create a new window
GLFWwindow* (*createWindow)(
int width,
int height,
const char* title,
GLFWmonitor* monitor,
GLFWwindow* share);
void(*makeContextCurrent)(GLFWwindow* window);
void(*swapInterval)(int interval);
void(*clearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
int(*windowShouldClose)(GLFWwindow* window);
void(*swapBuffer)(GLFWwindow* window);
//these are gl functions used to set a callback
GLFWframebuffersizefun(*SetFramebufferSizeCallback)
(GLFWwindow* window, GLFWframebuffersizefun callback);
}glIOpackage;
glIOpackage pack;