public void SetAttribute(string name, int value) { EnsureNotDisposed(); var loc = SDL_gpu.GPU_GetAttributeLocation(ProgramHandle, name); if (loc == -1) { _log.Warning($"Int attribute '{name}' does not exist."); return; } SDL_gpu.GPU_SetAttributei(loc, value); }