Graphics: Improve TextureSampler handling
This commit is contained in:
@@ -22,6 +22,9 @@ namespace Nz
|
||||
SamplerWrap wrapModeU = SamplerWrap_Clamp;
|
||||
SamplerWrap wrapModeV = SamplerWrap_Clamp;
|
||||
SamplerWrap wrapModeW = SamplerWrap_Clamp;
|
||||
|
||||
inline bool operator==(const TextureSamplerInfo& samplerInfo) const;
|
||||
inline bool operator!=(const TextureSamplerInfo& samplerInfo) const;
|
||||
};
|
||||
|
||||
class NAZARA_RENDERER_API TextureSampler
|
||||
@@ -37,6 +40,9 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
template<>
|
||||
struct std::hash<Nz::TextureSamplerInfo>;
|
||||
|
||||
#include <Nazara/Renderer/TextureSampler.inl>
|
||||
|
||||
#endif // NAZARA_TEXTURE_HPP
|
||||
|
||||
Reference in New Issue
Block a user