Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
PrimitiveChannel.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Core/Intersection/UvwMapper/UvwMapper.h
"
4
5
#include <memory>
6
7
namespace
ph
8
{
9
16
class
PrimitiveChannel
final
17
{
18
public
:
19
PrimitiveChannel
();
20
explicit
PrimitiveChannel
(
const
std::shared_ptr<UvwMapper>& mapper);
21
22
inline
const
UvwMapper
*
getMapper
()
const
23
{
24
return
m_mapper.get();
25
}
26
27
private
:
28
std::shared_ptr<UvwMapper> m_mapper;
29
};
30
31
}
// end namespace ph
UvwMapper.h
ph::PrimitiveChannel
Definition
PrimitiveChannel.h:17
ph::PrimitiveChannel::PrimitiveChannel
PrimitiveChannel()
Definition
PrimitiveChannel.cpp:9
ph::PrimitiveChannel::getMapper
const UvwMapper * getMapper() const
Definition
PrimitiveChannel.h:22
ph::UvwMapper
Definition
UvwMapper.h:10
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
Source
Core
Intersection
PrimitiveChannel.h
Generated by
1.11.0