srp
software rendering pipeline
Loading...
Searching...
No Matches
SRPFramebuffer Struct Reference

#include <framebuffer.h>

Public Attributes

size_t width
 
size_t height
 
size_t size
 
uint32_t * color
 
float * depth
 

Detailed Description

Holds RBGA8888 color buffer and depth buffer

Member Data Documentation

◆ color

uint32_t* SRPFramebuffer::color

Pointer to the color buffer

◆ depth

float* SRPFramebuffer::depth

Pointer to the depth buffer

◆ height

size_t SRPFramebuffer::height

Height

◆ size

size_t SRPFramebuffer::size

Total amount of pixels (width * height)

◆ width

size_t SRPFramebuffer::width

Width


The documentation for this struct was generated from the following file: