Replies: 6 comments 14 replies
-
|
So I need your opinion on something. Vulkan requires a engine version. Should that be the raylib version or the rlvk version? And there is also an application version parameter. Should that be something that just is always 1.0.0? Or should it be something that should be added to both rlgl and rlvk? And let rlgl just log it to the console? So developers can keep track of the version when in debug? |
Beta Was this translation helpful? Give feedback.
-
|
So after a period of kinda not doing anything with this, I decided to give it another shot. I'd like to have the way to go about this nailed down first. One of the first things to think about is how to get started adding Vulkan support. Someone in the discord suggested to split rlgl into a header file called rlgraphics and a .c file with all code. That way I can more easily add vulkan support and ensure that the function definitions stay the same. |
Beta Was this translation helpful? Give feedback.
-
|
@mandar1jn |
Beta Was this translation helpful? Give feedback.
-
|
Folks who continue to want this should look at how raylib has been abstracted to allow other backends. This has already been done for SDL. Look at |
Beta Was this translation helpful? Give feedback.
-
|
vulkan for hw rt. because opengl/webgl does not support hw rt. |
Beta Was this translation helpful? Give feedback.
-
|
I really feel like this should be more of a plan than just an idea. I'm not saying to ditch OpenGL entirely, but supporting Vulkan (maybe even by default) would most likely make Raylib more powerful than it has ever been So I feel like there should be more of a collective effort... Maybe I'm not considering everything though but, by observation, OpenGL is starting to get replaced by Vulkan a lot nowadays... For obvious reasons: OpenGL is getting 'outdated' with Vulkan being around. (For compatibility issues though, I guess OpenGL should stay optional. Though since Vulkan's API is pretty different from OpenGL's if I recall I don't think only a single or 2 devs can implement it on Raylib without breaking raylib. I personally think Raylib needs an actual plannified rewrite) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm planning on adding Vulkan support to Raylib, but there are some things I need to know first.
The goal is to be able to compile for both OpenGL and Vulkan without having to change your program.
How would you guys recommend I go about this?
Anything you'd like to see?
Beta Was this translation helpful? Give feedback.
All reactions