Function TRAP::Graphics::API::VulkanInits::SamplerCreateInfo#

Function Documentation#

constexpr VkSamplerCreateInfo TRAP::Graphics::API::VulkanInits::SamplerCreateInfo(VkFilter magFilter, VkFilter minFilter, VkSamplerMipmapMode mipMapMode, VkSamplerAddressMode u, VkSamplerAddressMode v, VkSamplerAddressMode w, f32 mipLodBias, f32 minLod, f32 maxLod, f32 maxAnisotropy, VkCompareOp compareOp)#

Create a Vulkan sampler create info.

Parameters:
  • magFilter – Vulkan magnification filter.

  • minFilter – Vulkan minification filter.

  • mipMapMode – Vulkan mip map mode.

  • u – Vulkan sampler address mode.

  • v – Vulkan sampler address mode.

  • w – Vulkan sampler address mode.

  • mipLodBias – Vulkan mip map lod bias.

  • minLod – Minimum lod.

  • maxLod – Maximum lod.

  • maxAnisotropy – Vulkan max anisotropy.

  • compareOp – Vulkan compare op.

Returns:

VkSamplerCreateInfo.