Provide an API of similar non-complexity as raylib for 2D and 3D graphics #866
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not a 1:1 copy or anything.
I really like raylib's API design and would like to use it as inspiration for offering a similar 'introductory' API to people coming to Mach with little-no graphics experience, just wanting to make a simple 2D/3D game for example.
the trick is not to look at raylib's API and think "how can I copy this 1:1" but rather to look at the complexity of their API and think 'how can we do something similar with Mach, in a way that makes sense for Mach'
start from: we use an ECS, we use webgpu, we use Zig -> how can we achieve a simple graphics API on the level of raylib for users with similar goals, but still allow them to 'graduate' to 'I'm a real graphics programmer' once they run into limitations of that style of API
that's what it'll look like
lots of ways to do it
some look closer and further away than raylib's API