|
MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
#include <Constant.hpp>


Public Member Functions | |
| Constant ()=delete | |
| Constant (float value) | |
| Constant (const Constant &constant)=delete | |
| Constant (Constant &&constant) noexcept=delete | |
| ~Constant () final=default | |
| Constant & | operator= (const Constant &constant)=delete |
| Constant & | operator= (Constant &&constant) noexcept=delete |
| float | getSample (::std::uint32_t sample) final |
Public Member Functions inherited from MobileRT::Sampler | |
| Sampler ()=default | |
| Sampler (::std::uint32_t width, ::std::uint32_t height, ::std::uint32_t samples) | |
| Sampler (const Sampler &sampler)=delete | |
| Sampler (Sampler &&sampler) noexcept=delete | |
| virtual | ~Sampler () |
| Sampler & | operator= (const Sampler &sampler)=delete |
| Sampler & | operator= (Sampler &&sampler) noexcept=delete |
| void | resetSampling () |
| void | stopSampling () |
| float | getSample () |
Private Attributes | |
| const float | value_ {} |
Additional Inherited Members | |
Public Attributes inherited from MobileRT::Sampler | |
| ::std::atomic<::std::uint32_t > | sample_ {} |
| const ::std::uint32_t | domainSize_ {::std::numeric_limits<::std::uint32_t>::max()} |
| ::std::uint32_t | samples_ {::std::numeric_limits<::std::uint32_t>::max()} |
Protected Member Functions inherited from MobileRT::Sampler | |
| template<const ::std::size_t S> | |
| float | getSampleFromArray (const ::std::array< float, S > &values) |
This sampler always returns the same value.
|
explicitdelete |
|
explicit |
|
delete |
|
deletenoexcept |
|
finaldefault |
|
finalvirtual |
Calculates a new sample.
| sample | The index of the desired sample. |
Implements MobileRT::Sampler.
|
private |