Struct libktx_rs::sources::Ktx2CreateInfo [−][src]
pub struct Ktx2CreateInfo {
pub vk_format: u32,
pub dfd: Option<Vec<u32>>,
pub common: CommonCreateInfo,
}Expand description
Texture creation info for KTX2 textures (crate::texture::Ktx2).
This is also a TextureSource, which creates a new KTX2 texture according to self.
Fields
vk_format: u32dfd: Option<Vec<u32>>common: CommonCreateInfoTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Attempts to create a new texture by consuming self.
Auto Trait Implementations
impl RefUnwindSafe for Ktx2CreateInfoimpl Send for Ktx2CreateInfoimpl Sync for Ktx2CreateInfoimpl Unpin for Ktx2CreateInfoimpl UnwindSafe for Ktx2CreateInfoBlanket Implementations
Mutably borrows from an owned value. Read more