initial commit
This commit is contained in:
parent
81af403965
commit
573e1a9fa3
220 changed files with 150440 additions and 0 deletions
21
samples/ssao_buffer.h
Normal file
21
samples/ssao_buffer.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// SPDX-FileCopyrightText: 2025 Erin Catto
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct SsaoBuffer;
|
||||
struct GeoBuffer;
|
||||
|
||||
SsaoBuffer* CreateSsaoBuffer(int32_t width, int32_t height);
|
||||
|
||||
void BindSsaoBuffer(SsaoBuffer* buffer);
|
||||
void SetSsaoSamples(SsaoBuffer* buffer, uint32_t ssaoShader);
|
||||
void BindSsaoTextures(SsaoBuffer* buffer);
|
||||
|
||||
void BindSsaoBlurBuffer(SsaoBuffer* buffer);
|
||||
void BindSsaoColorTexture(SsaoBuffer* buffer);
|
||||
void BindSsaoBlurTexture(SsaoBuffer* buffer);
|
||||
|
||||
void DestroySsaoBuffer(SsaoBuffer* buffer);
|
||||
Loading…
Reference in a new issue