K
K
Kaktys_DH2020-11-09 21:24:05
C++ / C#
Kaktys_DH, 2020-11-09 21:24:05

Is it possible to use sfml without openGL in C++?

Or is openGL necessary, or is it just more convenient, or is it not needed at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Shatunov, 2020-11-10
@Kaktys_DH

The fact is that OpenGL is the so-called. GAPI , i.e. graphics application programming interface.
Based on this GAPI, engines, frameworks and simple projects are built. SFML , being a framework, is similarly based on OpenGL to work with graphics.
In this regard, if you do not plan to work with graphics, then you can simply not use the Window and Graphics modules . As a result, you will not have any dependence on OpenGL.
But if it is important for you to use SFML graphics, then your project will not be built in its standard distribution without OpenGL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question