Eightvo
Eightvo
I am receiving an exception "Unhandled Exception: Veldrid.VeldridException: Unable to create OpenGL Context: "Could not create GL context: Bad Value (integer parameter out of range for operation)". This may indicate...
The ResourceFactory contains a function CreateFromSpirv. There are 4 existing method signatures... CreateFromSpirv(ShaderDescription computeShader); CreateFromSpirv(ShaderDescription computeShader, CrossCompileOptions opts); CreateFromSpirv(ShaderDescription vertShader, ShaderDescription fragShader); CreateFromSpirv(ShaderDescription vertShader, ShaderDescription fragShader, CrossCompileOptions opts); I think...
``` private bool doEmitSound(PlaySFX req, GameState state, Instant instant) { if (!allowSFX) return true; state.Messages.EmitMsg(new ConsoleInput($"Playing {req.Resource}")); if (!soundboard.ContainsKey(req.Resource)) soundboard.Add(req.Resource, new SoundStream(AssetManager.FindFileStream(req.Resource), sfxEngine)); soundboard[req.Resource].Volume = (currentVolume * req.Volume);//Should be at...
``` if (!String.IsNullOrEmpty(_nextSongToPlay)) { if (activeMusic!=null && activeMusic.State== SoundStreamState.Playing) { activeMusic.Stop(); activeMusic.Dispose(); } activeMusic = new SoundStream(System.IO.File.OpenRead(_nextSongToPlay), musicEngine); System.Threading.Thread.Sleep(100); activeMusic.Volume = currentVolume; activeMusic.Play(); _nextSongToPlay = null; } ``` It seems...