template<typename AlbedoSampler, typename EmissiveSampler, typename TransparencySampler>
class Enlighten::MaterialSampler
Material sampler reads albedo, emissive and transparency for the cluster.
Functions
Name | Description |
---|---|
BeginCluster() | Begins a cluster. |
EndCluster(const Geo::v128 &) | Ends a cluster. |
GetAlbedo() | Gets the albedo. |
GetEmissive() | Get the emissive value. |
GetTransparency() | Get the transparency value. |
MaterialSampler(const IndirectInputLightingParameters &, const InputWorkspaceInternal &) | Constructor. |
operator++() | Prefix ++. |
operator++(int) | Postfix ++. |
SampleQuad() | Samples a quad. |
GEO_CONTROLLED_INLINE void Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::BeginCluster
public: GEO_CONTROLLED_INLINE void BeginCluster()
Begins a cluster.
GEO_CONTROLLED_INLINE void Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::EndCluster
public: GEO_CONTROLLED_INLINE void EndCluster
(
const Geo::v128 & normalizationVector
)
Ends a cluster.
Geo::v128 Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::GetAlbedo
public: Geo::v128 GetAlbedo() const
Gets the albedo.
Geo::v128 Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::GetEmissive
public: Geo::v128 GetEmissive() const
Get the emissive value.
Geo::v128 Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::GetTransparency
public: Geo::v128 GetTransparency() const
Get the transparency value.
Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::MaterialSampler
public: MaterialSampler
(
const IndirectInputLightingParameters & params,
const InputWorkspaceInternal & inputWorkspace
)
Constructor.
GEO_CONTROLLED_INLINE MaterialSampler& Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::operator++
public: GEO_CONTROLLED_INLINEMaterialSampler & operator++()
Prefix ++.
GEO_CONTROLLED_INLINE const MaterialSampler Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::operator++
public: GEO_CONTROLLED_INLINE const MaterialSampler operator++
(
int
)
Postfix ++.
GEO_CONTROLLED_INLINE void Enlighten::MaterialSampler< AlbedoSampler, EmissiveSampler, TransparencySampler >::SampleQuad
public: GEO_CONTROLLED_INLINE void SampleQuad()
Samples a quad.