UgSampler
Vulkan sampler creation and destruction
create
Create a sampler with linear filtering and repeat wrap mode
VkSampler create(UgContext.It& ctx);Parameters
ctx— Vulkan context
Returns — Newly created sampler handle
destroy
Destroy a sampler
U0 destroy(UgContext.It& ctx, VkSampler sampler);Parameters
ctx— Vulkan contextsampler— Sampler to destroy