Photon Engine 2.0.0-beta
A physically based renderer.
|
Common settings and operations for sampling a texture. More...
#include <TSampler.h>
Public Member Functions | |
TSampler () | |
TSampler (const math::EColorUsage sampleUsage) | |
TSampler (const math::EColorUsage sampleUsage, const uint32 sampledChannel) | |
OutputType | sample (const TTexture< OutputType > &texture, const SurfaceHit &X) const |
OutputType | sample (const TTexture< OutputType > &texture, const math::Vector3R &uvw) const |
OutputType | sample (const TTexture< OutputType > &texture, const math::Vector2R &uv) const |
OutputType | sampleOrDefault (const TTexture< OutputType > *texture, const SurfaceHit &X, const OutputType &defaultValue) const |
Common settings and operations for sampling a texture.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |