#include <sampler.hpp>
Public Member Functions | |
Sampler (uint32 nbs=1) | |
uint32 | sample_number_1d () |
uint32 | sample_number_2d () |
uint32 | sample_number_3d () |
uint32 | memory () |
bool | is_ok () |
virtual uint32 | generate_1d (uint32 size, float *array)=0 |
virtual uint32 | generate_2d (uint32 size, vec2 *array)=0 |
virtual uint32 | generate_3d (uint32 size, vec3 *array)=0 |
Sampler (const int &iNSamples, const int &iNDimensions) | |
virtual bool | next (float *)=0 |
Protected Attributes | |
uint32 | _memory_used |
bool | _ok |
uint32 | _sample1d |
uint32 | _sample2d |
uint32 | _sample3d |