librashader/librashader-runtime-gl/src/texture.rs
2022-11-27 02:10:11 -05:00

11 lines
244 B
Rust

use librashader_common::{FilterMode, WrapMode};
use crate::GlImage;
#[derive(Default, Debug, Copy, Clone)]
pub struct Texture {
pub image: GlImage,
pub filter: FilterMode,
pub mip_filter: FilterMode,
pub wrap_mode: WrapMode,
}