Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TSpan.h
Go to the documentation of this file.
1#pragma once
2
3#include <span>
4
5namespace ph
6{
7
11template<typename T, std::size_t EXTENT = std::dynamic_extent>
12using TSpan = std::span<T, EXTENT>;
13
18template<typename T, std::size_t EXTENT = std::dynamic_extent>
19using TSpanView = std::span<const T, EXTENT>;
20
21}// end namespace ph
The root for all renderer implementations.
Definition EEngineProject.h:6
std::span< const T, EXTENT > TSpanView
Same as TSpan, except that the objects are const-qualified. Note that for pointer types,...
Definition TSpan.h:19
std::span< T, EXTENT > TSpan
A contiguous sequence of objects of type T. Effectively the same as std::span.
Definition TSpan.h:12