* Update Viewport on resize in all of the GL tutorials.
* Update camera uniforms when updating viewport.
* Hook resize in Tutorial 3.2 (missed).
* Fix Tutorial 4.1 model file missing exception.
* Started texture sample
* created textures project
* add textures project to sln
* removed existing texture tutorial
* renamed abstractions project from 1.3 to 1.4
* implemented quad tutorial code as a base for textures
* added texture tutorial
* updated title i forgot to update
* added textures to abstractions tutorial
* removed temporary garbage from the project file
* found the solution to the broken solution
* Apply suggestions from code review
Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
* texture.cs fixes
* added a comment about mip level range
* added comment about uniform initialization
---------
Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
* Load Assimp from source, rather than nuget in GL tut 4.1
* Make all OpenGL examples dispose their IWindow objects properly
* Make all Direct3D11 examples dispose their IWindow objects properly
* Starting work to add the model loading tutorial from LearnOpenGL
* Checking in model loading tutorial project along with a model file
* Renamed cube.obj to cube.model to get around gitignore
* Added Assimp package to get Assimp native libs to load.
* Updated render loop to fix aspect ratio issue
* Added dispose to model and mesh and removed unused boilerplate
* Apply suggestions from code review
Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
Co-authored-by: ThomasMiz <32400648+ThomasMiz@users.noreply.github.com>
* Regenerate with ClangSharp 15.0.3
* Add control descriptor for typemapping native
* Fix most errors in the d3d hello quad
* Fix compilation
* Use explicit zsh: command not found: in
* Initial Generation
* Update generation to remove Impl suffix
* WebGPUTest: Get API, create instance, get adapter, device, and create shader, plus error handling
* WebGPU: WGPUBindGroupLayout -> BindGroupLayout
* Begin porting https://github.com/gfx-rs/wgpu-native/tree/master/examples/compute
* Almost get compute working
* WGPU extension
* Actually commit the generator.json changes
* Properly support IsDeviceExtensionPresent and TryGetDeviceExtension
* Add WGPU extension to solution
* Add Silk.NET.Windowing.Extensions.WebGPU to create surface from window
* Fix naming of Silk.NET.Windowing.Extensions.WebGPU
* Formatting
* WebGPUTriangle: Get surface
* Add android support to WebGPU windowing extension
* Make WebGPU surface creation take a IView instead of an IWindow
* Create adapter and device
* WebGPUTriangle: Shader creation
* WebGPUTriangle: Create pipeline
* TEMPORARY FIX: make Wgpu.gen.cs *manually* be an extension of the right type
@Perksey help pls
* HACK: manually import namespace, this struct is either in the wrong namespace or in the wrong project
* Get triangle on screen
* Hack to fix missing wgpuGetProcAddress function in wgpu-native
* WebGPUTriangle: Manually free all resources
* Dawn extension, V1
* Make WebGPU extensions generate with the right core name
* Make function pointer wrappers generate with the right namespace
* Implement getting of Dawn extension, and add to solution
* Add beginning of disposal wrapper
* Dont generate double structs and enums
* Dont write duplicate functions
* Remove accidental print statements
* Dont duplicate overloads too
* WebGPU Disposal: Fix disposal wrapper for TextureView
* WebGPU Disposal: Add almost all remaining objects
* WebGPUWindow: Add optional Instance parameter
* Fore matting
* Format WebGPU experiments
* Fix WebGPU compute test
NOTE: this currently only works on wgpu, not Dawn
* Properly generate enum types in fields
* Fix examples to use proper enums
* Make WebGPU surface creation an extension method on IView
* Some formatting in WebGPUTriangle to fix warnings
* WebGPUTriangle: Remove useless string concatenation in warning message
* why
* WebGPUWindow: Move to platform not supported exctepion
* Move WebGPU surface creation to Silk.NET.WebGPU
* Fix class name being wrong in clang backend
* WebGPUSurface: Formatting
* Update Assimp binaries (#1129)
* Update Vulkan Loader binaries (#1128)
* Update GLFW binaries (#1127)
* GlfwWindow: Various fixes
Apply WindowOptions.IsContextControlDisabled/ShouldSwapAutomatically
Dont set context version window hints if theres no API
Dont set OpenGLForwardCompat or OpenGLDebugContext on non-OpenGL
Dont set context profile on non-OpenGL
Use Glfw.DontCare in more places
Some reformatting
* Begin working on textured quad example
* Update ImageSharp from 2.1.0 -> 2.1.3
* texture ON screen
* WebGPUTexturedQuad: Move shader to separate file
* Port CoreRTTest to latest ImageSharp
Does this test even need to exist still???
* Remove unnessesary hack in GlfwWindow
Turns out i read the source wrong
* WebGPUTexturedQuad: 2d projection matrix to keep the quad the same size always
* Move WebGPUTexturedQuad to the lab
* Fix formatting in ProjectWriter
* Move TypeMapper to TryGetValue
* Fix formatting in ClassWriter
* BuildTools: Remove ClassName from Project
* BuildTools: More formatting fixes
* Fix more gneneera hsith
* Make core project check smarter
* WebGPUSurface: Add support for WASM/HTML Canvas surface creation
Now, we dont actually support WASM yet, but this code is here for that time (soon hopefully!)
* Update src/Core/Silk.NET.BuildTools/Cpp/Clang.cs
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
* Formatting fixes
* i didnt actually save the file (i dont use vscode that much i dont like how it doesnt save automatically)
* Fix generator.cs issues
* Clang: properly set flow for const pointers
* Fix surface creation and update WebGPU examples
* Update src/Core/Silk.NET.BuildTools/Generator.cs
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
* formatting fix i forgot to commit thanks vscode
* Fix WebGPU compute test
* Make Disposal project follow the rest of the extensions
* Add flag to prevent obsolete enum generation
* TypeMapper: Make TypeMapper native name check more thorough
* Update WebGPU compute sample to latest bindings
* Fix webgpu compute test again
Co-authored-by: silkdotnet <85832961+silkdotnet@users.noreply.github.com>
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
* GLES demos
* Fix duplicate project in sln
* Finishing samples
* new silk logo
* Remove img.Mutate like was done with the other examples
* Only reference actually needed projects
* Some comments
* Sln files are fun
* It would be nice to be able to see this error locally
* running with nuke helps :D
* Visual Studio lied to me
* Removing superfluous Use() calls from SetUniform
Both as good practice and the approach used, these are superfluous and potentially confusing when debugging
* Small Spelling and Grammar adjustments
* nints and start of Vulkan Function Tables (closes#387)
* Missed a bit
* Add {RESULT}
* Vulkan function tables
* XR function tables and build fixes
* Fix build
How many times am I gonna do this?
* Use Regex for faster Substitution
* Update release notes, update NativePackages
Co-authored-by: Kai Jellinghaus <contact@kaij.tech>
Co-authored-by: Craig Dean <thargy@yahoo.com>
* Progress commit, by no means done or ready
* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
* Push latest progress on iOS and Android
* Update most NuGet packages
* Push latest progress on iOS
* Push latest progress on Android
* Introduce PInvokeOverride
* Add ZeroStart
* Zero start of alloced memory
* Don't inline zeroing
* Remove Debug statement
* Less debug more functioning
* Cast count to int
* Stop forwarding SilkMarshal to Marshal, as this is inconsistent
* Add Allocate/FreeStringPtr use new methods in SilkTouch
* See previous
* Push GLSL ES shaders
* Rename Allocate/FreeString and fix a bug
* A workingish prototype of Silk on Android
* This is Silk.NET on Android
* Update src/Lab/Triangle/Triangle.csproj
Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
* Update src/Input/Silk.NET.Input.Common/Interfaces/IKeyboard.cs
* Update src/Input/Silk.NET.Input.Common/Interfaces/IKeyboard.cs
Co-authored-by: Kai Jellinghaus <contact@kaij.tech>
Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
* Make editorconfig more readable
* Add some missing options to editorconfig
* Fix wrong autoguessed editorconfig option to a more appropriate value
* Fix formatting in all nongenerated source files
* Change formatting of explicit type casts to include a space