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§
Sourcefn get_is_readable(self) -> bool
fn get_is_readable(self) -> bool
get_isReadable() overload
Sourcefn 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 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
Sourcefn apply_impl(
self,
update_mipmaps: impl Into<bool>,
make_no_longer_readable: impl Into<bool>,
)
fn apply_impl( self, update_mipmaps: impl Into<bool>, make_no_longer_readable: impl Into<bool>, )
ApplyImpl(bool, bool) overload
Sourcefn set_pixels(self, colors: impl Into<Array<Color>>, miplevel: impl Into<i32>)
fn set_pixels(self, colors: impl Into<Array<Color>>, miplevel: impl Into<i32>)
SetPixels(::unity::Array<crate::unity_engine::color::Color>, i32) overload
Sourcefn ctor(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<DefaultFormat>,
flags: impl Into<TextureCreationFlags>,
)
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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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 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
Sourcefn apply(
self,
update_mipmaps: impl Into<bool>,
make_no_longer_readable: impl Into<bool>,
)
fn apply( self, update_mipmaps: impl Into<bool>, make_no_longer_readable: impl Into<bool>, )
Apply(bool, bool) overload
Sourcefn 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( 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
Sourcefn set_pixel_impl_injected(
self,
image: impl Into<i32>,
x: impl Into<i32>,
y: impl Into<i32>,
z: impl Into<i32>,
) -> Color
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§
impl<__T: ITexture3D> ITexture3DMethods for __T
unity_engine-texture3d only.