Struct libktx_rs::texture::Ktx1 [−][src]
pub struct Ktx1<'a, 'b: 'a> { /* fields omitted */ }Expand description
KTX1-specific Texture functionality.
Implementations
Returns a pointer to the underlying (C-allocated) sys::ktxTexture1.
SAFETY: Pointers are harmless. Dereferencing them is not!
Returns the OpenGL format of the texture’s data (e.g. GL_RGBA).
Also see Self::gl_internal_format, Self::gl_base_internal_format.
Returns the OpenGL format of the texture’s data (e.g. GL_RGBA).
Also see Self::gl_format, Self::gl_base_internal_format.
Returns the OpenGL base internal format of the texture’s data (e.g. GL_RGBA).
Also see Self::gl_format, Self::gl_internal_format.
Returns the OpenGL datatype of the texture’s data (e.g. GL_UNSIGNED_BYTE).
Will this KTX1 need transcoding?
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for Ktx1<'a, 'b>impl<'a, 'b> !UnwindSafe for Ktx1<'a, 'b>