Skip to main content

ICubemapArrayMethods

Trait ICubemapArrayMethods 

Source
pub trait ICubemapArrayMethods: ICubemapArray {
    // Provided methods
    fn get_is_readable(self) -> bool { ... }
    fn apply_impl(
        self,
        update_mipmaps: impl Into<bool>,
        make_no_longer_readable: impl Into<bool>,
    ) { ... }
    fn set_pixels(
        self,
        colors: impl Into<Array<Color>>,
        face: impl Into<CubemapFace>,
        array_element: impl Into<i32>,
        miplevel: impl Into<i32>,
    ) { ... }
    fn set_pixels_2(
        self,
        colors: impl Into<Array<Color>>,
        face: impl Into<CubemapFace>,
        array_element: impl Into<i32>,
    ) { ... }
    fn ctor(
        self,
        width: impl Into<i32>,
        cubemap_count: impl Into<i32>,
        format: impl Into<DefaultFormat>,
        flags: impl Into<TextureCreationFlags>,
    ) { ... }
    fn ctor_2(
        self,
        width: impl Into<i32>,
        cubemap_count: impl Into<i32>,
        format: impl Into<GraphicsFormat>,
        flags: impl Into<TextureCreationFlags>,
    ) { ... }
    fn ctor_3(
        self,
        width: impl Into<i32>,
        cubemap_count: impl Into<i32>,
        format: impl Into<GraphicsFormat>,
        flags: impl Into<TextureCreationFlags>,
        mip_count: impl Into<i32>,
    ) { ... }
    fn ctor_4(
        self,
        width: impl Into<i32>,
        cubemap_count: 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>,
        cubemap_count: 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>,
        cubemap_count: impl Into<i32>,
        texture_format: impl Into<TextureFormat>,
        mip_chain: impl Into<bool>,
    ) { ... }
    fn apply(
        self,
        update_mipmaps: impl Into<bool>,
        make_no_longer_readable: impl Into<bool>,
    ) { ... }
    fn apply_2(self) { ... }
}

Provided Methods§

Source

fn get_is_readable(self) -> bool

get_isReadable() overload

Source

fn apply_impl( self, update_mipmaps: impl Into<bool>, make_no_longer_readable: impl Into<bool>, )

ApplyImpl(bool, bool) overload

Source

fn set_pixels( self, colors: impl Into<Array<Color>>, face: impl Into<CubemapFace>, array_element: impl Into<i32>, miplevel: impl Into<i32>, )

SetPixels(::unity::Array<crate::unity_engine::color::Color>, crate::unity_engine::cubemapface::CubemapFace, i32, i32) overload

Source

fn set_pixels_2( self, colors: impl Into<Array<Color>>, face: impl Into<CubemapFace>, array_element: impl Into<i32>, )

SetPixels(::unity::Array<crate::unity_engine::color::Color>, crate::unity_engine::cubemapface::CubemapFace, i32) overload

Source

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

.ctor(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>, cubemap_count: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, )

.ctor(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>, cubemap_count: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, mip_count: impl Into<i32>, )

.ctor(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>, cubemap_count: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_count: impl Into<i32>, linear: impl Into<bool>, )

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

Source

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

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

Source

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

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

Source

fn apply( self, update_mipmaps: impl Into<bool>, make_no_longer_readable: impl Into<bool>, )

Apply(bool, bool) overload

Source

fn apply_2(self)

Apply() 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: ICubemapArray> ICubemapArrayMethods for __T

Available on crate feature unity_engine-cubemaparray only.