Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TSpan.h File Reference
#include <span>

Go to the source code of this file.

Namespaces

namespace  ph
 The root for all renderer implementations.
 

Typedefs

template<typename T , std::size_t EXTENT = std::dynamic_extent>
using ph::TSpan = std::span<T, EXTENT>
 A contiguous sequence of objects of type T. Effectively the same as std::span.
 
template<typename T , std::size_t EXTENT = std::dynamic_extent>
using ph::TSpanView = std::span<const T, EXTENT>
 Same as TSpan, except that the objects are const-qualified. Note that for pointer types, the const is applied on the pointer itself. For example, when T is const int*, the accessed type will be const int* const.