initial commit
This commit is contained in:
parent
81af403965
commit
573e1a9fa3
220 changed files with 150440 additions and 0 deletions
17
samples/geo_buffer.h
Normal file
17
samples/geo_buffer.h
Normal 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);
|
||||
Loading…
Reference in a new issue