Results 1 to 2 of 2

Thread: OpenGL ES & .NET

  1. #1
    Junior Member
    Join Date
    Jun 2005

    OpenGL ES & .NET

    Hi all,
    I need support in following question:
    I tried to use the Vincent-lib in a .Net application, so I took all rendering functions in a c++ dll. Then, I imported this dll (DllImport[]) into a small c# sample application (for PDA). This application passes a HWND-Handle to the dll to init the render stuff. (see code below)
    Code :

    But nothing happens. Is it generally possible to use OpenGL ES in a c# Application? Where can I find informations about this?


  2. #2
    Senior Member
    Join Date
    Sep 2003
    Seattle, WA

    Re: OpenGL ES & .NET

    I don't know what you are doing in your dll, but for Windows Mobile rendering only works if done within the WM_PAINT callback.

    Also, the rendering context (eglCreateContext) gets associated with the current thread, so if someone swaps out the thread behind you back, this might also lead to this situation.

    Can you show your wrapper code around libGLES_CM?

    - HM

Similar Threads

  1. .NET bindings for OpenGL ES
    By hmwill in forum OpenGL ES
    Replies: 1
    Last Post: 02-10-2005, 04:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean