srp
software rendering pipeline
Loading...
Searching...
No Matches
framebuffer.c File Reference
#include <stdio.h>
#include <string.h>
#include "core/framebuffer_p.h"
#include "utils/message_callback_p.h"
#include "math/utils.h"
Include dependency graph for framebuffer.c:

Functions

SRPFramebuffersrpNewFramebuffer (size_t width, size_t height)
 
void srpFreeFramebuffer (SRPFramebuffer *this)
 
SRP_FORCEINLINE void framebufferGetColorAndDepthPointers (const SRPFramebuffer *this, size_t x, size_t y, uint32_t **pColor, float **pDepth)
 
void framebufferNDCToScreenSpace (const SRPFramebuffer *this, const float *NDC, float *SS)
 
void srpFramebufferClear (const SRPFramebuffer *this)
 

Detailed Description

Framebuffer implementation