blob: 3d0167ff3e38bda5200c4ddc74ab6f480904f4e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// This file is part of the 64k demo project.
// Helper functions for Renderer3D setup and common initialization patterns.
#pragma once
#include "3d/renderer.h"
#include "gpu/texture_manager.h"
// Sets up standard noise and sky textures for Renderer3D.
// Creates GPU-procedural noise (256x256, seed 1234, freq 16) and
// Perlin sky (512x256) textures in the TextureManager, then binds
// them to the renderer.
void setup_standard_textures(Renderer3D& renderer, TextureManager& tex_mgr,
WGPUDevice device, WGPUQueue queue);
|