|
srp
software rendering pipeline
|
#include <framebuffer.h>
Public Attributes | |
| size_t | width |
| size_t | height |
| size_t | size |
| uint32_t * | color |
| float * | depth |
Holds RBGA8888 color buffer and depth buffer
| uint32_t* SRPFramebuffer::color |
Pointer to the color buffer
| float* SRPFramebuffer::depth |
Pointer to the depth buffer
| size_t SRPFramebuffer::height |
Height
| size_t SRPFramebuffer::size |
Total amount of pixels (width * height)
| size_t SRPFramebuffer::width |
Width