Fermat
|
G-buffer storage class, to be used from the host to allocate g-buffer storage
#include <framebuffer.h>
Public Methods | |
void | resize (const uint32_t _res_x, const uint32_t _res_y) |
size_t | size () const |
void | clear () |
GBufferView | view () |
Public Members | |
uint32_t | res_x |
uint32_t | res_y |
DomainBuffer< CUDA_BUFFER, float4 > | geo |
DomainBuffer< CUDA_BUFFER, float4 > | uv |
DomainBuffer< CUDA_BUFFER, uint32 > | tri |
DomainBuffer< CUDA_BUFFER, float > | depth |
DomainBuffer< CUDA_BUFFER, uint4 > | material |
|
inline |
clear the G-buffer with invalid bits
|
inline |
set the resolution
|
inline |
return the total number of pixels
|
inline |
return a view object