Renderer/MaterialContracts/Materials/SubsurfaceProfile.h¶
Public include <Renderer/MaterialContracts/Materials/SubsurfaceProfile.h>. SnBuild module MaterialContracts.
SnAPI::Renderer::SubsurfaceProfile¶
struct SnAPI::Renderer::SubsurfaceProfile
SnAPI::Renderer::SubsurfaceProfile::Reflectance¶
std::array<float, 3> SnAPI::Renderer::SubsurfaceProfile::Reflectance {0.5f, 0.5f, 0.5f}
See also SnAPI::Renderer::SubsurfaceProfile.
SnAPI::Renderer::SubsurfaceProfile::MeanFreePathMetres¶
std::array<float, 3> SnAPI::Renderer::SubsurfaceProfile::MeanFreePathMetres {0.001f, 0.001f, 0.001f}
See also SnAPI::Renderer::SubsurfaceProfile.
SnAPI::Renderer::SubsurfaceProfile::Validate¶
TResult< void > SnAPI::Renderer::SubsurfaceProfile::Validate() const
See also SnAPI::Renderer::SubsurfaceProfile, SnAPI::Renderer::TResult.
SnAPI::Renderer::SubsurfaceProfile::ResolveShapeDistances¶
TResult< std::array< float, 3 > > SnAPI::Renderer::SubsurfaceProfile::ResolveShapeDistances() const
See also SnAPI::Renderer::SubsurfaceProfile, SnAPI::Renderer::TResult.