From 7678b1b1d95389fc18b47a84e773e506b5152f9e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 20 Jul 2019 21:12:06 -0700 Subject: Added Sam_Aniso4xWrap sampler --- Graphics/GraphicsTools/include/CommonlyUsedStates.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Graphics/GraphicsTools') 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, -- cgit v1.2.3