Add some defaults in wgpu sampler descriptor
This commit is contained in:
parent
880c61f789
commit
1ad6bf50a6
1 changed files with 3 additions and 3 deletions
|
|
@ -57,9 +57,9 @@ namespace psemek::wgpu
|
|||
filter_mode mag_filter;
|
||||
filter_mode min_filter;
|
||||
mipmap_filter_mode mipmap_filter;
|
||||
geom::interval<float> lod_clamp;
|
||||
compare_function compare;
|
||||
std::uint16_t maxAnisotropy;
|
||||
geom::interval<float> lod_clamp = {0.f, 255.f};
|
||||
compare_function compare = compare_function::undefined;
|
||||
std::uint16_t maxAnisotropy = 1;
|
||||
};
|
||||
|
||||
void set_label(std::string const & label);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue