Skip to main content

ITexture3DMethods

Trait ITexture3DMethods 

Source
pub trait ITexture3DMethods: ITexture3D {
Show 16 methods // Provided methods fn get_is_readable(self) -> bool { ... } fn set_pixel_impl( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, ) { ... } 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>>, miplevel: impl Into<i32>, ) { ... } 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>, ) { ... } fn ctor_5( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_count: impl Into<i32>, native_tex: impl Into<IntPtr>, ) { ... } 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>, ) { ... } fn ctor_7( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_chain: impl Into<bool>, native_tex: impl Into<IntPtr>, ) { ... } fn apply( self, update_mipmaps: impl Into<bool>, make_no_longer_readable: impl Into<bool>, ) { ... } fn apply_2(self, update_mipmaps: impl Into<bool>) { ... } fn apply_3(self) { ... } fn set_pixel( self, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, mip_level: impl Into<i32>, ) { ... } fn set_pixel_impl_injected( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, ) -> Color { ... }
}

Provided Methods§

Source

fn get_is_readable(self) -> bool

get_isReadable() overload

Source

fn set_pixel_impl( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, )

SetPixelImpl(i32, i32, i32, i32, crate::unity_engine::color::Color) 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>>, miplevel: impl Into<i32>)

SetPixels(::unity::Array<crate::unity_engine::color::Color>, i32) 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>, )

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

Source

fn ctor_5( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_count: impl Into<i32>, native_tex: impl Into<IntPtr>, )

.ctor(i32, i32, i32, crate::unity_engine::textureformat::TextureFormat, i32, ::unity::IntPtr) 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

Source

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

.ctor(i32, i32, i32, crate::unity_engine::textureformat::TextureFormat, bool, ::unity::IntPtr) 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, update_mipmaps: impl Into<bool>)

Apply(bool) overload

Source

fn apply_3(self)

Apply() overload

Source

fn set_pixel( self, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, mip_level: impl Into<i32>, )

SetPixel(i32, i32, i32, crate::unity_engine::color::Color, i32) overload

Source

fn set_pixel_impl_injected( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>, ) -> Color

SetPixelImpl_Injected(i32, i32, i32, i32, *mutcrate::unity_engine::color::Color) 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: ITexture3D> ITexture3DMethods for __T

Available on crate feature unity_engine-texture3d only.