GithubHelp home page GithubHelp logo

ray1024 / glfw-ext Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 610 KB

a extra library of glfw

License: zlib License

CMake 3.55% C 85.68% Objective-C 8.29% M 0.92% Mathematica 1.57%
opengl glfw glfw3

glfw-ext's Introduction

GLFW-ext

1.introduction

This is a extra library of glfw from http://www.glfw.org/ (Only for version 3.1.2 for now.).
The extra feature is that you can create a glfw object and its associated context by with existing native handles. That solved many problems. Such as, render on a child window, render on a unknown window but handle, etc.

2.extra functions

glfwCreateWindowEx(void* winHwnd, int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);

brief : Creates a glfw window object and its associated context by with existing native handles.
param 1 : handle of the existing window.
param 2 : width The desired width, in screen coordinates, of the window. This must be greater than zero.
param 3 : height The desired height, in screen coordinates, of the window. This must be greater than zero.
param 4 : title The initial, UTF-8 encoded window title.
param 5 : monitor The monitor to use for full screen mode, or NULL to use windowed mode.
param 6 : share The window whose context to share resources with, or NULL to not share resources.
return : returns the object of glfw.

3.the prebuilt lib file

lib file

4.compiling GLFW

See the Compiling GLFW guide in the GLFW documentation.

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.