summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.h
blob: 00f5450855e69ec8b9b0b344d9fc369ea25a39f3 (plain)
1
2
3
4
5
6
7
8
9
10
// This file is part of the 64k demo project.
// It defines the public interface for the GPU rendering system.
// Coordinates WebGPU lifecycle and draw calls.

#pragma once
struct GLFWwindow;

void gpu_init(GLFWwindow *window);
void gpu_draw(float audio_peak, float aspect_ratio, float time);
void gpu_shutdown();