box3d/samples/ssao_buffer.h

21 lines
541 B
C
Raw Normal View History

2026-05-10 13:36:52 -07:00
// 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);