/// Creates a new stream texture source from the given [`RustKtxStream`] and texture creation flags.
Creates a new stream texture source from the given [`RustKtxStream`] and texture creation flags.
Creates a new stream texture source from the given [ ` RustKtxStream ` ] and texture creation flags .
pub fn new(
        inner: Arc<Mutex<RustKtxStream<'a, T>>>,
        texture_create_flags: TextureCreateFlags,
    ) -> Self {
        StreamSource {
            stream: inner,
            texture_create_flags,
        }
    }
pub fn new ( inner : Arc < Mutex < RustKtxStream < ' a , T > > > , texture_create_flags : TextureCreateFlags , ) -> Self { StreamSource { stream : inner , texture_create_flags , } }
Creates a new stream texture source from the given [`RustKtxStream`] and texture creation flags.
Creates a new stream texture source from the given [ ` RustKtxStream ` ] and texture creation flags .
inner
Arc<Mutex<RustKtxStream<'a, T>>>
texture_create_flags
TextureCreateFlags