Skip to main content

ITexture2DArrayMethods

Trait ITexture2DArrayMethods 

Source
pub trait ITexture2DArrayMethods: ITexture2DArray {
    // Provided methods
    fn get_is_readable(self) -> bool { ... }
    fn ctor(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        format: impl Into<DefaultFormat>,
        flags: impl Into<TextureCreationFlags>,
    ) { ... }
    fn ctor_2(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        format: impl Into<GraphicsFormat>,
        flags: impl Into<TextureCreationFlags>,
    ) { ... }
    fn ctor_3(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        format: impl Into<GraphicsFormat>,
        flags: impl Into<TextureCreationFlags>,
        mip_count: impl Into<i32>,
    ) { ... }
    fn ctor_4(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        texture_format: impl Into<TextureFormat>,
        mip_count: impl Into<i32>,
        linear: impl Into<bool>,
    ) { ... }
    fn ctor_5(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        texture_format: impl Into<TextureFormat>,
        mip_chain: impl Into<bool>,
        linear: impl Into<bool>,
    ) { ... }
    fn ctor_6(
        self,
        width: impl Into<i32>,
        height: impl Into<i32>,
        depth: impl Into<i32>,
        texture_format: impl Into<TextureFormat>,
        mip_chain: impl Into<bool>,
    ) { ... }
}

Provided Methods§

Source

fn get_is_readable(self) -> bool

get_isReadable() overload

Source

fn ctor( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<DefaultFormat>, flags: impl Into<TextureCreationFlags>, )

.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) overload

Source

fn ctor_2( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, )

.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) overload

Source

fn ctor_3( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, mip_count: impl Into<i32>, )

.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags, i32) overload

Source

fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_count: impl Into<i32>, linear: impl Into<bool>, )

.ctor(i32, i32, i32, crate::unity_engine::textureformat::TextureFormat, i32, bool) overload

Source

fn ctor_5( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_chain: impl Into<bool>, linear: impl Into<bool>, )

.ctor(i32, i32, i32, crate::unity_engine::textureformat::TextureFormat, bool, bool) overload

Source

fn ctor_6( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_chain: impl Into<bool>, )

.ctor(i32, i32, i32, crate::unity_engine::textureformat::TextureFormat, bool) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITexture2DArray> ITexture2DArrayMethods for __T

Available on crate feature unity_engine-texture2darray only.