srp
software rendering pipeline
Loading...
Searching...
No Matches
point.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 "core/framebuffer_p.h"
11#include "srp/shaders.h"
12#include "srp/vec.h"
13
18typedef struct SRPPoint {
20 size_t id;
22
28 SRPPoint* point, const SRPFramebuffer* fb,
29 const SRPShaderProgram* restrict sp
30);
31
35void setupPoint(SRPPoint* p);
36
// ingroup Rasterization
void setupPoint(SRPPoint *p)
Definition point.c:76
void rasterizePoint(SRPPoint *point, const SRPFramebuffer *fb, const SRPShaderProgram *restrict sp)
Definition point.c:32
Definition framebuffer.h:18
Definition point.h:18
size_t id
Definition point.h:20
SRPVertexShaderOut v
Definition point.h:19
Definition shaders.h:93
Definition shaders.h:34