#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum AddressMode {
/// Clamp to the edge of the texture
ClampToEdge,
/// Repeat the texture
Repeat,
}
and adds it to
pub struct Texture {
// [...]
/// How to handle texture addressing
pub address_mode: AddressMode,
}
and implements setting the address mode in yakui-wgpu and yakui-vulkan
Addresses #175
Adds
and adds it to
and implements setting the address mode in
yakui-wgpu
andyakui-vulkan