tp::SamplerAddressing struct

Describes the addressing mode to be used by the sampler.

Constructors, destructors, conversion operators

SamplerAddressing(SamplerAddressMode addressModeU, SamplerAddressMode addressModeV, SamplerAddressMode addressModeW, BorderColor borderColor = BorderColor::FloatTransparentBlack)
SamplerAddressing(SamplerAddressMode addressModeUVW, BorderColor borderColor = BorderColor::FloatTransparentBlack)

Function documentation

tp::SamplerAddressing::SamplerAddressing(SamplerAddressMode addressModeU, SamplerAddressMode addressModeV, SamplerAddressMode addressModeW, BorderColor borderColor = BorderColor::FloatTransparentBlack)

Parameters
addressModeU The addressing mode to use for the U coordinate.
addressModeV The addressing mode to use for the V coordinate.
addressModeW The addressing mode to use for the W coordinate.
borderColor The border color to use for the relevant addressing modes.

tp::SamplerAddressing::SamplerAddressing(SamplerAddressMode addressModeUVW, BorderColor borderColor = BorderColor::FloatTransparentBlack)

Parameters
addressModeUVW The addressing mode to use for UVW coordinates.
borderColor The border color to use for the relevant addressing modes.