llvm::hlsl::rootsig::StaticSampler

Static sampler descriptor in a root signature.

Synopsis

Declared in <llvm/Frontend/HLSL/HLSLRootSignature.h>

struct StaticSampler;

Data Members

NameDescription
AddressU Addressing mode for the U coordinate (TextureAddressMode).
AddressV Addressing mode for the V coordinate (TextureAddressMode).
AddressW Addressing mode for the W coordinate (TextureAddressMode).
BorderColor Border color for samples outside [0, 1]StaticBorderColor).
CompFunc Comparison function for comparison sampling (ComparisonFunc).
Filter Filter used when sampling (SamplerFilter).
Flags Static sampler flags (StaticSamplerFlags).
MaxAnisotropy Clamping value for anisotropic filtering.
MaxLOD Upper end of the mipmap range to clamp access to.
MinLOD Lower end of the mipmap range to clamp access to.
MipLODBias Offset from the calculated mipmap level.
Reg Shader register the sampler is bound to.
Space Register space of the sampler.
Visibility Shader stages that can access this sampler (ShaderVisibility).