initial commit

This commit is contained in:
Erin Catto 2026-05-10 13:36:52 -07:00
commit 573e1a9fa3
220 changed files with 150440 additions and 0 deletions

17
samples/geo_buffer.h Normal file
View file

@ -0,0 +1,17 @@
// SPDX-FileCopyrightText: 2025 Erin Catto
// SPDX-License-Identifier: MIT
#pragma once
#include <stdint.h>
struct GeoBuffer;
GeoBuffer* CreateGeoBuffer(int32_t width, int32_t height);
void DestroyGeoBuffer(GeoBuffer* buffer);
void BindGeoBuffer(GeoBuffer* buffer);
//void tbBindGeoPositionNormal(GeoBuffer* buffer);
void BindGeoTextures(GeoBuffer* buffer);
void BindGeoPosition(GeoBuffer* buffer, int textureUnit);
void BindGeoDepthTexture(GeoBuffer* buffer, int textureUnit);