srp
software rendering pipeline
Loading...
Searching...
No Matches
Framebuffer

Internals of the Framebuffer module. More...

Collaboration diagram for Framebuffer:
static uint32_t * framebufferGetPixelPointer (const SRPFramebuffer *this, size_t x, size_t y)
 
static double * framebufferGetDepthPointer (const SRPFramebuffer *this, size_t x, size_t y)
 

Detailed Description

Internals of the Framebuffer module.

Function Documentation

◆ framebufferGetDepthPointer()

double * framebufferGetDepthPointer ( const SRPFramebuffer this,
size_t  x,
size_t  y 
)
static

Get pointer to a pixel inside depth buffer

Parameters
[in]thisPointer to SRPFramebuffer
[in]x,yPosition of requested pixel
Returns
Requested pointer

◆ framebufferGetPixelPointer()

uint32_t * framebufferGetPixelPointer ( const SRPFramebuffer this,
size_t  x,
size_t  y 
)
static

Get pointer to a pixel inside color buffer

Parameters
[in]thisPointer to SRPFramebuffer
[in]x,yPosition of requested pixel
Returns
Requested pointer