GithubHelp home page GithubHelp logo

Comments (5)

Perksey avatar Perksey commented on May 19, 2024

This one will have to be done by the community. Please propose a PR adding the following APIs;

New Struct VideoMode

  • Get-only properties for the bit depths, refresh rate, and resolution (Size)

IMonitor (and GlfwMonitor)

  • Get-only property for the video mode

IViewProperties (and its inheritors)

  • Get/set VideoMode property

from silk.net.

Pyrdacor avatar Pyrdacor commented on May 19, 2024

I noticed that the depth buffer bits are not part of the video mode nor monitor in glfw. Moreover it is only a soft constraint. Should I add the VideoMode stuff for resolution and refresh rate and support specifying the depth buffer bits only on windows creation?

from silk.net.

Perksey avatar Perksey commented on May 19, 2024

Oh I just realized you should be working on the views branch as my PR has not been merged yet. Here there are already monitor APIs to some extent, but they currently do not have the bit depth properties

from silk.net.

Perksey avatar Perksey commented on May 19, 2024

Also change the VideoMode property to get in IViewOptions and get set in ViewOptions and WindowOptions

from silk.net.

Perksey avatar Perksey commented on May 19, 2024

Resolved in #102.

from silk.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.