daily update on 20240206 by nitload youmu
This commit is contained in:
@@ -60,18 +60,21 @@ namespace StgSharp
|
||||
SetMetadata(800, 600, "Hello, STG#!", IntPtr.Zero, null);
|
||||
MakeAsCurrentContext();
|
||||
SetSizeLimit(800, 600, 800, 600);
|
||||
gl.SetFrameBufferSizeCallback(windowID, FormSizeCallback);
|
||||
FrameBufferSizeCallback =
|
||||
(IntPtr id, uint width, uint height)
|
||||
=>
|
||||
{
|
||||
GL.Viewport(0, 0, width, height);
|
||||
};
|
||||
|
||||
this.LoadGLapi(null);
|
||||
|
||||
shader = CreateShader();
|
||||
shader.CompileVertexShader(
|
||||
File.ReadAllText("Shader\\vertex.vert")
|
||||
);
|
||||
shader.CompileFragmentShader(
|
||||
File.ReadAllText("Shader\\fragment.frag")
|
||||
);
|
||||
shader.Link();
|
||||
shader = CreateShader(ShaderType.Program, 1);
|
||||
var vertex = CreateShader(ShaderType.Vertex, 1);
|
||||
var fragment = CreateShader(ShaderType.Fragment, 1);
|
||||
vertex.Compile(File.ReadAllText("Shader\\vertex.vert"));
|
||||
fragment.Compile(File.ReadAllText("Shader\\fragment.frag"));
|
||||
shader.Link(0);
|
||||
|
||||
Triangle tri = new Triangle(
|
||||
-0.5f, -0.3f, 0.0f,
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Benchmark")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5d778e0f2f6e677453cebc990919697968c771f9")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("StgSharpDebug")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
e340c06b75b4a2ce53efde5f4632c7a375a08a6b1987e3663da0e443a4eb16a3
|
||||
064c7856d60414ec06cfa2c8f7e2587373d5fb684c182dbac647ea2ac6067752
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
6bee2f0b7bdd2034c75e15618c5bcce64515bb43097f5e90879477a87416cc44
|
||||
@@ -0,0 +1,5 @@
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Benchmark\net6.0\StgSharpDebug.GeneratedMSBuildEditorConfig.editorconfig
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Benchmark\net6.0\StgSharpDebug.AssemblyInfoInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Benchmark\net6.0\StgSharpDebug.AssemblyInfo.cs
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Benchmark\net6.0\StgSharpDebug.csproj.CoreCompileInputs.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Benchmark\net6.0\StgSharpDebug.sourcelink.json
|
||||
@@ -0,0 +1 @@
|
||||
{"documents":{"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\*":"https://raw.githubusercontent.com/Nitload-NSI/CCD_Github/5d778e0f2f6e677453cebc990919697968c771f9/*"}}
|
||||
@@ -1 +1 @@
|
||||
391927b304d81b4467b7c24029bc1a32d9fa98d5685bb9ee59251ec7a7db4755
|
||||
b0555e8bc2f4cecb5b9bba733e29ea69c5f126238a90078e0acf358b82ccc732
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"documents":{"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\*":"https://raw.githubusercontent.com/Nitload-NSI/CCD_Github/8148c10acd65bd764d3e12418a1ebd37938d8501/*"}}
|
||||
{"documents":{"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\*":"https://raw.githubusercontent.com/Nitload-NSI/CCD_Github/5d778e0f2f6e677453cebc990919697968c771f9/*"}}
|
||||
Reference in New Issue
Block a user