daily update on 20231016 by nitload youmu, vao,vbo,ebo struct added
This commit is contained in:
@@ -6,7 +6,7 @@ namespace StgSharp.Graphics
|
||||
|
||||
using _glfw = _GLFWlibrary;
|
||||
|
||||
public static unsafe partial class GLFW
|
||||
internal static unsafe class GLFW
|
||||
{
|
||||
internal static _glfw glfw = new _glfw();
|
||||
|
||||
@@ -2045,4 +2045,31 @@ namespace StgSharp.Graphics
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
public enum ShaderType : int
|
||||
{
|
||||
FRAGMENT = 0x8B30,
|
||||
VERTEX = 0x8B31
|
||||
}
|
||||
|
||||
public enum BufferType : int
|
||||
{
|
||||
ARRAY_BUFFER = 0x8892,
|
||||
ELEMENT_ARRAY_BUFFER = 0x8893,
|
||||
ARRAY_BUFFER_BINDING = 0x8894
|
||||
}
|
||||
|
||||
public enum BufferReadType : int
|
||||
{
|
||||
STREAM_DRAW = 0x88E0,
|
||||
STREAM_READ = 0x88E1,
|
||||
STREAM_COPY = 0x88E2,
|
||||
STATIC_DRAW = 0x88E4,
|
||||
STATIC_READ = 0x88E5,
|
||||
STATIC_COPY = 0x88E6,
|
||||
DYNAMIC_DRAW = 0x88E8,
|
||||
DYNAMIC_READ = 0x88E9,
|
||||
DYNAMIC_COPY = 0x88EA
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user