Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
SampleContext.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4
5namespace ph
6{
7
8class SampleContext final
9{
10public:
11 std::size_t sampleBatchIndex;
12
13 explicit SampleContext(std::size_t sampleBatchIndex);
14};
15
16// In-header Implementations:
17
18inline SampleContext::SampleContext(const std::size_t sampleBatchIndex) :
19 sampleBatchIndex(sampleBatchIndex)
20{}
21
22}// namespace ph
Definition SampleContext.h:9
std::size_t sampleBatchIndex
Definition SampleContext.h:11
SampleContext(std::size_t sampleBatchIndex)
Definition SampleContext.h:18
The root for all renderer implementations.
Definition EEngineProject.h:6