diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-07-21 04:12:06 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-07-21 04:12:06 +0000 |
| commit | 7678b1b1d95389fc18b47a84e773e506b5152f9e (patch) | |
| tree | ed7842cc63fe61c6c0b76c8a43ef6decc85b2cd9 /Graphics/GraphicsTools | |
| parent | Fixed issue with depth clamping in GL backend (diff) | |
| download | DiligentCore-7678b1b1d95389fc18b47a84e773e506b5152f9e.tar.gz DiligentCore-7678b1b1d95389fc18b47a84e773e506b5152f9e.zip | |
Added Sam_Aniso4xWrap sampler
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/include/CommonlyUsedStates.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Graphics/GraphicsTools/include/CommonlyUsedStates.h b/Graphics/GraphicsTools/include/CommonlyUsedStates.h index 35ee4b3d..93ed7d25 100644 --- a/Graphics/GraphicsTools/include/CommonlyUsedStates.h +++ b/Graphics/GraphicsTools/include/CommonlyUsedStates.h @@ -193,6 +193,18 @@ namespace Diligent 16 // MaxAnisotropy }; + static const SamplerDesc Sam_Aniso4xWrap + { + FILTER_TYPE_ANISOTROPIC, + FILTER_TYPE_ANISOTROPIC, + FILTER_TYPE_ANISOTROPIC, + TEXTURE_ADDRESS_WRAP, + TEXTURE_ADDRESS_WRAP, + TEXTURE_ADDRESS_WRAP, + 0.f, // MipLODBias + 4 // MaxAnisotropy + }; + static const SamplerDesc Sam_Aniso8xWrap { FILTER_TYPE_ANISOTROPIC, |
