Results 1 to 2 of 2

Thread: OpenGL ES & .NET

  1. #1
    Junior Member
    Join Date
    Jun 2005
    Location
    Germany
    Posts
    1

    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?

    Thanks,
    Karin

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

    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 general technical discussions
    Replies: 1
    Last Post: 02-10-2005, 05:40 PM
  2. iPAQ & OPENGL????
    By XeXo in forum OpenML Coding & Technical Issues
    Replies: 1
    Last Post: 11-12-2002, 06:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •