srp
software rendering pipeline
Loading...
Searching...
No Matches
framebuffer_p.h
Go to the documentation of this file.
1
// Software Rendering Pipeline (SRP) library
2
// Licensed under GNU GPLv3
3
8
#pragma once
9
10
#include <stdbool.h>
11
#include "
srp/framebuffer.h
"
12
#include "
utils/defines.h
"
13
22
void
framebufferGetColorAndDepthPointers
(
23
const
SRPFramebuffer
*
this
,
size_t
x,
size_t
y,
24
uint32_t** pColor,
float
** pDepth
25
);
26
34
void
framebufferNDCToScreenSpace
35
(
const
SRPFramebuffer
*
this
,
const
float
* NDC,
float
* SS);
36
// ingroup Framebuffer_internal
defines.h
framebuffer.h
framebufferGetColorAndDepthPointers
void framebufferGetColorAndDepthPointers(const SRPFramebuffer *this, size_t x, size_t y, uint32_t **pColor, float **pDepth)
Definition
framebuffer.c:37
framebufferNDCToScreenSpace
void framebufferNDCToScreenSpace(const SRPFramebuffer *this, const float *NDC, float *SS)
Definition
framebuffer.c:47
SRPFramebuffer
Definition
framebuffer.h:18
src
core
framebuffer_p.h
Generated by
1.9.8