Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TSwizzledTexture.h File Reference
#include "Core/Texture/TTexture.h"
#include "Core/Texture/SampleLocation.h"
#include "Utility/traits.h"
#include <Common/assertion.h>
#include <Common/primitive_type.h>
#include <cstddef>
#include <array>
#include <memory>
#include <utility>
#include <type_traits>

Go to the source code of this file.

Classes

class  ph::TSwizzledTexture< InputT, OutputT, OUTPUT_N >
 Swizzle an array-like input type to the other array-like output type. Output type OutputT can have any number of elements (no need to be the same as input type InputT). For any elements in OutputT that is not part of the swizzle, the value will be as if the element is zero-initialized (or default-initialized depending on the actual type). More...
 

Namespaces

namespace  ph
 The root for all renderer implementations.