Add new wrap mode "clampone". Pixels sampled outside of [0, 1] are white (1, 1, 1, 1).

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2019-12-27 13:57:20 -05:00
parent 76121ec152
commit 361cefbb05
7 changed files with 35 additions and 14 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ public:
bool rawTexStorage(TextureType target, int levels, PixelFormat pixelformat, bool &isSRGB, int width, int height, int depth = 1);
bool isTextureTypeSupported(TextureType type) const;
bool isClampZeroTextureWrapSupported() const;
bool isClampZeroOneTextureWrapSupported() const;
bool isPixelShaderHighpSupported() const;
bool isInstancingSupported() const;
bool isDepthCompareSampleSupported() const;