Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Multi-threaded rendering SFML .net  (Read 5341 times)

0 Members and 1 Guest are viewing this topic.

Rob92

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Multi-threaded rendering SFML .net
« on: April 21, 2016, 09:21:33 am »
Hello,

I want to create a loading screen with SFML .NET.
I read this:

http://www.sfml-dev.org/tutorials/2.0/graphics-draw.php

but there's no sfml thread in C# version of SFML.
or do I need to add some another module to my project?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Multi-threaded rendering SFML .net
« Reply #1 on: April 21, 2016, 09:30:21 am »
Quote
but there's no sfml thread in C# version of SFML.
C# has native threads.
Laurent Gomila - SFML developer

Rob92

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Multi-threaded rendering SFML .net
« Reply #2 on: April 21, 2016, 10:15:15 am »
Oh ok, I thought the sfml thread did some specific sfml work under the hood as well.
I'm not very experienced with threads  ::)

mkalex777

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Multi-threaded rendering SFML .net
« Reply #3 on: May 12, 2016, 02:07:19 am »
Quote
but there's no sfml thread in C# version of SFML.
C# has native threads.

actually it has managed thread. Managed thread != native thread, but it provides all functionality which is needed

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Multi-threaded rendering SFML .net
« Reply #4 on: May 12, 2016, 06:25:45 am »
Don't play with words... by "native" I mean that it has them built-in.
Laurent Gomila - SFML developer