|
srp
software rendering pipeline
|
Internal stuff that cannot be easily grouped into other modules. More...

Files | |
| file | stb_image.c |
| file | type.c |
| file | type_p.h |
| file | voidptr.h |
| size_t | srpSizeofType (SRPType type) |
| #define | SRP_FORCEINLINE inline |
| #define | INDEX_VOID_PTR(ptr, idx, nBytesPerElement) ( ( (uint8_t*) (ptr) ) + (idx) * (nBytesPerElement) ) |
| #define | ADD_VOID_PTR(ptr, nBytes) ( ( (uint8_t*) (ptr) ) + (nBytes) ) |
Internal stuff that cannot be easily grouped into other modules.
| #define ADD_VOID_PTR | ( | ptr, | |
| nBytes | |||
| ) | ( ( (uint8_t*) (ptr) ) + (nBytes) ) |
Add nBytes bytes to the void*
| #define INDEX_VOID_PTR | ( | ptr, | |
| idx, | |||
| nBytesPerElement | |||
| ) | ( ( (uint8_t*) (ptr) ) + (idx) * (nBytesPerElement) ) |
Index void* as if it was an array with nBytesPerElement bytes per element
| size_t srpSizeofType | ( | SRPType | type | ) |
Determine the size of specific type defined by SRPType enum