class final
sampler_tsampler object for texture filtering and lookups
In Vulkan textures are accessed by samplers, this separates all the sampling information from the texture data. this means you could have multiple sampler objects for the same texture with different settings similar to the samplers available with OpenGL 3.3
member-functions
Function documentation
const vk::Sampler& core:: ivk:: sampler_t:: get(size_t mip = 0u) const noexcept
Details
Parameters | |
---|---|
mip in | the mip chain size to request. |
Returns | a vulkan sampler object for the given mip chain size. |
const core:: data:: sampler_t& core:: ivk:: sampler_t:: data() const noexcept
Returns | the data used by this sampler. |
---|