// @generated by tools/generate_api_shims.py; do not edit by hand.
#![allow(clippy::missing_errors_doc)]
#![allow(clippy::must_use_candidate)]
#![allow(clippy::all, clippy::pedantic, dead_code, unused_variables)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

/// C# type: `T:LibreMetaverse.Imaging.Skia.SkiaTextureCodec`.
pub struct SkiaTextureCodec;
impl SkiaTextureCodec {
    /// C# member: `M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.#ctor`.
    pub fn new() -> Result<Self, crate::Error> {
        libremetaverse_types::not_implemented(
            "M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.#ctor",
        )
    }
    /// C# member: `M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.Decode(System.IO.Stream)`.
    pub fn decode(
        &self,
        stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
    ) -> Result<libremetaverse_imaging::ManagedImage, crate::Error> {
        libremetaverse_types::not_implemented(
            "M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.Decode(System.IO.Stream)",
        )
    }
    /// C# member: `M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.ToManagedImage(SkiaSharp.SKBitmap)`.
    pub fn to_managed_image(
        bitmap: libremetaverse_imaging_skia::backend::SKBitmap,
    ) -> Result<libremetaverse_imaging::ManagedImage, crate::Error> {
        libremetaverse_types::not_implemented(
            "M:LibreMetaverse.Imaging.Skia.SkiaTextureCodec.ToManagedImage(SkiaSharp.SKBitmap)",
        )
    }
}
impl libremetaverse_imaging::ITextureCodec for SkiaTextureCodec {}
