srp
software rendering pipeline
Loading...
Searching...
No Matches
triangle.h
Go to the documentation of this file.
1// Software Rendering Pipeline (SRP) library
2// Licensed under GNU GPLv3
3
4#pragma once
5
9#include "framebuffer.h"
10#include "shaders.h"
11
20void drawTriangle(
21 const SRPFramebuffer* fb, const SRPvsOutput vertices[3],
22 const SRPShaderProgram* restrict sp, size_t primitiveID
23);
24
// ingroup Rasterization
26
void drawTriangle(const SRPFramebuffer *fb, const SRPvsOutput vertices[3], const SRPShaderProgram *restrict sp, size_t primitiveID)
Definition triangle.c:77
Definition framebuffer.h:17
Definition shaders.h:86
Definition shaders.h:32