mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 03:52:30 +00:00
feat(gx): add incomplete 'CGxDeviceGLSDL' (#2)
* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
This commit is contained in:
parent
934e0fb600
commit
706c8903a1
2043 changed files with 663533 additions and 5 deletions
45
src/gx/glsdl/GLBatch.hpp
Normal file
45
src/gx/glsdl/GLBatch.hpp
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#ifndef GX_GL_SDL_GL_BATCH_HPP
|
||||
#define GX_GL_SDL_GL_BATCH_HPP
|
||||
|
||||
#include "gx/glsdl/GLBuffer.hpp"
|
||||
#include "gx/glsdl/GLShader.hpp"
|
||||
#include "gx/glsdl/GLTexture.hpp"
|
||||
#include "gx/glsdl/GLTypes.hpp"
|
||||
#include "gx/glsdl/GLVertexFormat.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class GLBatch {
|
||||
public:
|
||||
GLShader* var0;
|
||||
GLShader* var1;
|
||||
GLTexture* textures[16];
|
||||
GLBuffer* var3;
|
||||
GLBuffer* var4[4];
|
||||
uint32_t var5[4];
|
||||
uint32_t var6[4];
|
||||
GLVertexFormat* var7;
|
||||
uint32_t var8;
|
||||
uint32_t var9;
|
||||
uint32_t var10;
|
||||
uint32_t var11;
|
||||
uint32_t var12;
|
||||
uint32_t var13;
|
||||
uint32_t var14;
|
||||
int32_t var15;
|
||||
bool var16;
|
||||
bool var17;
|
||||
GLStates var18;
|
||||
GLTexture2D* colorBuffer[4];
|
||||
GLTexture2D* var20;
|
||||
uint32_t var21[128];
|
||||
char var22[64];
|
||||
char var23[1024];
|
||||
uint32_t var24;
|
||||
bool var25;
|
||||
int64_t var26;
|
||||
int64_t var27;
|
||||
float var28[4096];
|
||||
float var29[1024];
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue