srp
software rendering pipeline
Loading...
Searching...
No Matches
utils.h File Reference
#include <stddef.h>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INDEX_VOID_PTR(ptr, idx, nBytesPerElement)    ( ( (uint8_t*) (ptr) ) + (idx) * (nBytesPerElement) )
 
#define ADD_VOID_PTR(ptr, nBytes)    ( ( (uint8_t*) (ptr) ) + (nBytes) )
 

Detailed Description

Various utility macros