46 std::unique_ptr<API::Sampler>
build(VkResult* returnResult =
nullptr);
53 VkSamplerMipmapMode
_mipmapMode{VK_SAMPLER_MIPMAP_MODE_LINEAR};
VkBool32 _anisotropyEnable
void setMipmapMode(VkSamplerMipmapMode mipmapMode)
bool build(API::Sampler &instance, VkResult *returnResult=nullptr)
void setAddressModeU(VkSamplerAddressMode addressModeU)
Sampler & operator=(const Sampler &)=delete
VkBorderColor _borderColor
VkSamplerMipmapMode _mipmapMode
void setMagFilter(VkFilter magFilter)
void setMaxLod(float maxLod)
void setCompareOp(VkCompareOp compareOp)
VkSamplerAddressMode _addressModeU
VkBool32 _unnormalizedCoordinates
void setAddressModeW(VkSamplerAddressMode addressModeW)
void setAddressModeV(VkSamplerAddressMode addressModeV)
void enableAnisotropy(float maxAnisotropy)
Sampler(const API::Device &device)
const API::Device & _device
void setMipLodBias(float mipLodBias)
void setMinFilter(VkFilter minFilter)
VkSamplerAddressMode _addressModeV
VkSamplerAddressMode _addressModeW
void setMinLod(float minLod)
void setUnnormalizedCoordinates(VkBool32 unnormalizedCoordinates)
void setBorderColor(VkBorderColor borderColor)