Skip to content

What are graphics5 and audio2? #1336

Answered by RobDangerous
algorev asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Audio2 is an API where you just send a stream of audio-samples - see the Audio2-based Audio1 implementation (kha.audio2.Audio1) for an example of how to use it.
  2. Graphics5 is a lower level GPU API where you have to synchronize resources of GPU resources manually and which allows multithreaded usage. But it's only a Kinc thing, not a Kha thing - I deactivated it in Kha because I consider it to be too advanced for Haxe programmers. The code is still in there, that's why you can still see a graphics5_ package. If Haxe will ever receive better multithreading support I might revive it but I don't think that will happen.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@algorev
Comment options

Answer selected by algorev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants