pub struct Texture2D(/* private fields */);Expand description
IL2CPP class: UnityEngine.Texture2D
Inherits: Texture
Implementations§
Source§impl Texture2D
impl Texture2D
Sourcepub fn get_white_texture() -> Texture2D
pub fn get_white_texture() -> Texture2D
get_whiteTexture() overload
Sourcepub fn get_black_texture() -> Texture2D
pub fn get_black_texture() -> Texture2D
get_blackTexture() overload
Sourcepub fn get_red_texture() -> Texture2D
pub fn get_red_texture() -> Texture2D
get_redTexture() overload
Sourcepub fn get_gray_texture() -> Texture2D
pub fn get_gray_texture() -> Texture2D
get_grayTexture() overload
Sourcepub fn get_linear_gray_texture() -> Texture2D
pub fn get_linear_gray_texture() -> Texture2D
get_linearGrayTexture() overload
Sourcepub fn get_normal_texture() -> Texture2D
pub fn get_normal_texture() -> Texture2D
get_normalTexture() overload
Sourcepub fn internal_create_impl(
mono: impl Into<Texture2D>,
w: impl Into<i32>,
h: impl Into<i32>,
mip_count: impl Into<i32>,
format: impl Into<GraphicsFormat>,
flags: impl Into<TextureCreationFlags>,
native_tex: impl Into<IntPtr>,
) -> bool
pub fn internal_create_impl( mono: impl Into<Texture2D>, w: impl Into<i32>, h: impl Into<i32>, mip_count: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, native_tex: impl Into<IntPtr>, ) -> bool
Internal_CreateImpl(crate::unity_engine::texture2d::Texture2D, i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags, ::unity::IntPtr) overload
Sourcepub fn internal_create(
mono: impl Into<Texture2D>,
w: impl Into<i32>,
h: impl Into<i32>,
mip_count: impl Into<i32>,
format: impl Into<GraphicsFormat>,
flags: impl Into<TextureCreationFlags>,
native_tex: impl Into<IntPtr>,
)
pub fn internal_create( mono: impl Into<Texture2D>, w: impl Into<i32>, h: impl Into<i32>, mip_count: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, native_tex: impl Into<IntPtr>, )
Internal_Create(crate::unity_engine::texture2d::Texture2D, i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags, ::unity::IntPtr) overload
Sourcepub fn generate_atlas_impl(
sizes: impl Into<Array<Vector2>>,
padding: impl Into<i32>,
atlas_size: impl Into<i32>,
rect: impl Into<Array<Rect>>,
)
pub fn generate_atlas_impl( sizes: impl Into<Array<Vector2>>, padding: impl Into<i32>, atlas_size: impl Into<i32>, rect: impl Into<Array<Rect>>, )
GenerateAtlasImpl(::unity::Array<crate::unity_engine::vector2::Vector2>, i32, i32, ::unity::Array<crate::unity_engine::rect::Rect>) overload
Sourcepub fn create_external_texture(
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<TextureFormat>,
mip_chain: impl Into<bool>,
linear: impl Into<bool>,
native_tex: impl Into<IntPtr>,
) -> Texture2D
pub fn create_external_texture( width: impl Into<i32>, height: impl Into<i32>, format: impl Into<TextureFormat>, mip_chain: impl Into<bool>, linear: impl Into<bool>, native_tex: impl Into<IntPtr>, ) -> Texture2D
CreateExternalTexture(i32, i32, crate::unity_engine::textureformat::TextureFormat, bool, bool, ::unity::IntPtr) overload
Sourcepub fn generate_atlas(
sizes: impl Into<Array<Vector2>>,
padding: impl Into<i32>,
atlas_size: impl Into<i32>,
results: impl Into<List_1<Rect>>,
) -> bool
pub fn generate_atlas( sizes: impl Into<Array<Vector2>>, padding: impl Into<i32>, atlas_size: impl Into<i32>, results: impl Into<List_1<Rect>>, ) -> bool
GenerateAtlas(::unity::Array<crate::unity_engine::vector2::Vector2>, i32, i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::rect::Rect>) overload
Source§impl Texture2D
impl Texture2D
pub fn get_format_method_info() -> &'static MethodInfo
pub fn get_white_texture_method_info() -> &'static MethodInfo
pub fn get_black_texture_method_info() -> &'static MethodInfo
pub fn get_red_texture_method_info() -> &'static MethodInfo
pub fn get_gray_texture_method_info() -> &'static MethodInfo
pub fn get_linear_gray_texture_method_info() -> &'static MethodInfo
pub fn get_normal_texture_method_info() -> &'static MethodInfo
pub fn compress_method_info() -> &'static MethodInfo
pub fn internal_create_impl_method_info() -> &'static MethodInfo
pub fn internal_create_method_info() -> &'static MethodInfo
pub fn get_is_readable_method_info() -> &'static MethodInfo
pub fn get_vt_only_method_info() -> &'static MethodInfo
pub fn apply_impl_method_info() -> &'static MethodInfo
pub fn resize_impl_method_info() -> &'static MethodInfo
pub fn set_pixel_impl_method_info() -> &'static MethodInfo
pub fn get_pixel_impl_method_info() -> &'static MethodInfo
pub fn get_pixel_bilinear_impl_method_info() -> &'static MethodInfo
pub fn resize_with_format_impl_method_info() -> &'static MethodInfo
pub fn read_pixels_impl_method_info() -> &'static MethodInfo
pub fn set_pixels_impl_method_info() -> &'static MethodInfo
pub fn load_raw_texture_data_impl_method_info() -> &'static MethodInfo
pub fn load_raw_texture_data_impl_array_method_info() -> &'static MethodInfo
pub fn set_pixel_data_impl_array_method_info() -> &'static MethodInfo
pub fn set_pixel_data_impl_method_info() -> &'static MethodInfo
pub fn get_writable_image_data_method_info() -> &'static MethodInfo
pub fn get_raw_image_data_size_method_info() -> &'static MethodInfo
pub fn generate_atlas_impl_method_info() -> &'static MethodInfo
pub fn get_is_pre_processed_method_info() -> &'static MethodInfo
pub fn get_streaming_mipmaps_method_info() -> &'static MethodInfo
pub fn get_streaming_mipmaps_priority_method_info() -> &'static MethodInfo
pub fn get_requested_mipmap_level_method_info() -> &'static MethodInfo
pub fn set_requested_mipmap_level_method_info() -> &'static MethodInfo
pub fn get_minimum_mipmap_level_method_info() -> &'static MethodInfo
pub fn set_minimum_mipmap_level_method_info() -> &'static MethodInfo
pub fn get_load_all_mips_method_info() -> &'static MethodInfo
pub fn set_load_all_mips_method_info() -> &'static MethodInfo
pub fn get_calculated_mipmap_level_method_info() -> &'static MethodInfo
pub fn get_desired_mipmap_level_method_info() -> &'static MethodInfo
pub fn get_loading_mipmap_level_method_info() -> &'static MethodInfo
pub fn get_loaded_mipmap_level_method_info() -> &'static MethodInfo
pub fn clear_requested_mipmap_level_method_info() -> &'static MethodInfo
pub fn is_requested_mipmap_level_loaded_method_info() -> &'static MethodInfo
pub fn clear_minimum_mipmap_level_method_info() -> &'static MethodInfo
pub fn update_external_texture_method_info() -> &'static MethodInfo
pub fn set_all_pixels32_method_info() -> &'static MethodInfo
pub fn set_block_of_pixels32_method_info() -> &'static MethodInfo
pub fn get_raw_texture_data_method_info() -> &'static MethodInfo
pub fn get_pixels_method_info() -> &'static MethodInfo
pub fn get_pixels_2_method_info() -> &'static MethodInfo
pub fn get_pixels32_method_info() -> &'static MethodInfo
pub fn get_pixels32_2_method_info() -> &'static MethodInfo
pub fn pack_textures_method_info() -> &'static MethodInfo
pub fn pack_textures_2_method_info() -> &'static MethodInfo
pub fn pack_textures_3_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn ctor_3_method_info() -> &'static MethodInfo
pub fn ctor_4_method_info() -> &'static MethodInfo
pub fn ctor_5_method_info() -> &'static MethodInfo
pub fn ctor_6_method_info() -> &'static MethodInfo
pub fn ctor_7_method_info() -> &'static MethodInfo
pub fn ctor_8_method_info() -> &'static MethodInfo
pub fn ctor_9_method_info() -> &'static MethodInfo
pub fn create_external_texture_method_info() -> &'static MethodInfo
pub fn set_pixel_method_info() -> &'static MethodInfo
pub fn set_pixel_2_method_info() -> &'static MethodInfo
pub fn set_pixels_method_info() -> &'static MethodInfo
pub fn set_pixels_2_method_info() -> &'static MethodInfo
pub fn set_pixels_3_method_info() -> &'static MethodInfo
pub fn set_pixels_4_method_info() -> &'static MethodInfo
pub fn get_pixel_method_info() -> &'static MethodInfo
pub fn get_pixel_2_method_info() -> &'static MethodInfo
pub fn get_pixel_bilinear_method_info() -> &'static MethodInfo
pub fn get_pixel_bilinear_2_method_info() -> &'static MethodInfo
pub fn load_raw_texture_data_method_info() -> &'static MethodInfo
pub fn load_raw_texture_data_2_method_info() -> &'static MethodInfo
pub fn apply_method_info() -> &'static MethodInfo
pub fn apply_2_method_info() -> &'static MethodInfo
pub fn apply_3_method_info() -> &'static MethodInfo
pub fn resize_method_info() -> &'static MethodInfo
pub fn resize_2_method_info() -> &'static MethodInfo
pub fn resize_3_method_info() -> &'static MethodInfo
pub fn read_pixels_method_info() -> &'static MethodInfo
pub fn read_pixels_2_method_info() -> &'static MethodInfo
pub fn generate_atlas_method_info() -> &'static MethodInfo
pub fn set_pixels32_method_info() -> &'static MethodInfo
pub fn set_pixels32_2_method_info() -> &'static MethodInfo
pub fn set_pixels32_3_method_info() -> &'static MethodInfo
pub fn set_pixels32_4_method_info() -> &'static MethodInfo
pub fn get_pixels_3_method_info() -> &'static MethodInfo
pub fn get_pixels_4_method_info() -> &'static MethodInfo
pub fn set_pixel_impl_injected_method_info() -> &'static MethodInfo
pub fn get_pixel_impl_injected_method_info() -> &'static MethodInfo
pub fn get_pixel_bilinear_impl_injected_method_info() -> &'static MethodInfo
pub fn read_pixels_impl_injected_method_info() -> &'static MethodInfo
Source§impl Texture2D
impl Texture2D
Sourcepub unsafe fn get_is_readable(this: impl Into<IlInstance>) -> bool
pub unsafe fn get_is_readable(this: impl Into<IlInstance>) -> bool
Direct (non-virtual) call to Texture2D’s own get_isReadable. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Source§impl Texture2D
impl Texture2D
Sourcepub fn new(
width: i32,
height: i32,
format: GraphicsFormat,
flags: TextureCreationFlags,
mip_count: i32,
native_tex: IntPtr,
) -> Self
pub fn new( width: i32, height: i32, format: GraphicsFormat, flags: TextureCreationFlags, mip_count: i32, native_tex: IntPtr, ) -> Self
.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags, i32, ::unity::IntPtr) — overload selector
Sourcepub fn new_2(
width: i32,
height: i32,
format: DefaultFormat,
flags: TextureCreationFlags,
) -> Self
pub fn new_2( width: i32, height: i32, format: DefaultFormat, flags: TextureCreationFlags, ) -> Self
.ctor(i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) — overload selector
Sourcepub fn new_3(
width: i32,
height: i32,
format: GraphicsFormat,
flags: TextureCreationFlags,
) -> Self
pub fn new_3( width: i32, height: i32, format: GraphicsFormat, flags: TextureCreationFlags, ) -> Self
.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) — overload selector
Sourcepub fn new_4(
width: i32,
height: i32,
format: GraphicsFormat,
mip_count: i32,
flags: TextureCreationFlags,
) -> Self
pub fn new_4( width: i32, height: i32, format: GraphicsFormat, mip_count: i32, flags: TextureCreationFlags, ) -> Self
.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) — overload selector
Sourcepub fn new_5(
width: i32,
height: i32,
texture_format: TextureFormat,
mip_count: i32,
linear: bool,
native_tex: IntPtr,
) -> Self
pub fn new_5( width: i32, height: i32, texture_format: TextureFormat, mip_count: i32, linear: bool, native_tex: IntPtr, ) -> Self
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, i32, bool, ::unity::IntPtr) — overload selector
Sourcepub fn new_6(
width: i32,
height: i32,
texture_format: TextureFormat,
mip_count: i32,
linear: bool,
) -> Self
pub fn new_6( width: i32, height: i32, texture_format: TextureFormat, mip_count: i32, linear: bool, ) -> Self
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, i32, bool) — overload selector
Sourcepub fn new_7(
width: i32,
height: i32,
texture_format: TextureFormat,
mip_chain: bool,
linear: bool,
) -> Self
pub fn new_7( width: i32, height: i32, texture_format: TextureFormat, mip_chain: bool, linear: bool, ) -> Self
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, bool, bool) — overload selector
Sourcepub fn new_8(
width: i32,
height: i32,
texture_format: TextureFormat,
mip_chain: bool,
) -> Self
pub fn new_8( width: i32, height: i32, texture_format: TextureFormat, mip_chain: bool, ) -> Self
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, bool) — overload selector
Trait Implementations§
Source§impl ClassIdentity for Texture2D
impl ClassIdentity for Texture2D
Source§impl FromIlInstance for Texture2D
impl FromIlInstance for Texture2D
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
class is a subtype of Self or layout compatibleSource§impl IObject_2 for Texture2D
impl IObject_2 for Texture2D
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
impl Copy for Texture2D
impl IAssetReferenceT_1<Texture2D> for AssetReferenceTexture2D
impl IObject for Texture2D
impl ITResourceHandle_1<Texture2D> for ResourceTexture2D
impl ITexture for Texture2D
impl ITexture2D for Texture2D
Auto Trait Implementations§
impl Freeze for Texture2D
impl RefUnwindSafe for Texture2D
impl !Send for Texture2D
impl !Sync for Texture2D
impl Unpin for Texture2D
impl UnwindSafe for Texture2D
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
Source§impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn resolve(self, resolver: IExposedPropertyTable) -> T0where
Self: Sized,
Source§impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: HashSet_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn initialize() -> IntPtr
Source§impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
Source§impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, initialize: bool)where
Self: Sized,
fn ctor_2(self, max_capacity: i32)where
Self: Sized,
fn add_range(self, items: IEnumerable_1<T0>)where
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_buffer(self, index: i32) -> Array<T0>where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn try_move(self) -> (bool, Array<T0>)where
Self: Sized,
fn allocate_buffer(self)where
Self: Sized,
Source§impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: LinkedList_1<T0>)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
Source§impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_count(self) -> i32where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_item(self) -> (*mut T0, i32)where
Self: Sized,
fn get_unchecked(self) -> (*mut T0, i32)where
Self: Sized,
fn try_add(self) -> (bool, T0)where
Self: Sized,
fn try_copy_to(self, other: ListBuffer_1<T0>) -> boolwhere
Self: Sized,
Source§impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: List_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn move_next_rare(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IObjectMethods for __Twhere
__T: IObject,
impl<__T> IObjectMethods for __Twhere
__T: IObject,
Source§fn equals(self, obj: impl Into<Object>) -> bool
fn equals(self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn memberwise_clone(self) -> Object
fn memberwise_clone(self) -> Object
MemberwiseClone() overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§fn field_getter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
) -> IlInstance
fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance
FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overloadSource§fn field_setter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
val: impl Into<Object>,
)
fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )
FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overloadSource§impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)where
Self: Sized,
fn system_i_disposable_dispose(self)where
Self: Sized,
Source§impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
Source§fn get_instance_id(self) -> i32
fn get_instance_id(self) -> i32
GetInstanceID() overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn equals(self, other: impl Into<Object>) -> bool
fn equals(self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn ensure_running_on_main_thread(self)
fn ensure_running_on_main_thread(self)
EnsureRunningOnMainThread() overloadSource§fn get_cached_ptr(self) -> IntPtr
fn get_cached_ptr(self) -> IntPtr
GetCachedPtr() overloadSource§fn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_name() overloadSource§fn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overloadSource§fn get_hide_flags(self) -> HideFlags
fn get_hide_flags(self) -> HideFlags
get_hideFlags() overloadSource§fn set_hide_flags(self, value: impl Into<HideFlags>)
fn set_hide_flags(self, value: impl Into<HideFlags>)
set_hideFlags(crate::unity_engine::hideflags::HideFlags) overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, q: Queue_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn throw_enumeration_not_started_or_ended(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IScriptPlayable_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IScriptPlayable_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_null() -> ScriptPlayable_1<T0>
fn create(graph: PlayableGraph, input_count: i32) -> ScriptPlayable_1<T0>
fn create_2( graph: PlayableGraph, template: T0, input_count: i32, ) -> ScriptPlayable_1<T0>
fn create_handle( graph: PlayableGraph, template: T0, input_count: i32, ) -> PlayableHandle
fn create_script_instance() -> Object
fn clone_script_instance(source: IPlayableBehaviour_Interface) -> Object
fn clone_script_instance_from_engine_object(source: Object_2) -> Object
fn ctor(self, handle: PlayableHandle)where
Self: Sized,
fn get_handle(self) -> PlayableHandlewhere
Self: Sized,
fn get_behaviour(self) -> T0where
Self: Sized,
fn op_implicit(playable: ScriptPlayable_1<T0>) -> Playable
fn op_explicit(playable: Playable) -> ScriptPlayable_1<T0>
fn equals(self, other: ScriptPlayable_1<T0>) -> boolwhere
Self: Sized,
fn cctor()
Source§impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(
self,
dictionary: SortedDictionary_2<T0, T1>,
get_enumerator_ret_type: i32,
)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn dispose(self)where
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn get_not_started_or_ended(self) -> boolwhere
Self: Sized,
fn reset(self)where
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
Source§impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: SortedSet_1<T0>)where
Self: Sized,
fn ctor_2(self, set: SortedSet_1<T0>, reverse: bool)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
fn initialize(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn dispose(self)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn get_not_started_or_ended(self) -> boolwhere
Self: Sized,
fn reset(self)where
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn cctor()
Source§impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, stack: Stack_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn throw_enumeration_not_started_or_ended(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, stack: Array<T0>)where
Self: Sized,
fn ctor_2(self, capacity: i32)where
Self: Sized,
fn ctor_3(self, capacity: i32, rollover_size: i32)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn get_rollover_size(self) -> i32where
Self: Sized,
fn set_rollover_size(self, value: i32)where
Self: Sized,
fn set_default(stack: Array<TMP_TextProcessingStack_1<T0>>, item: T0)
fn clear(self)where
Self: Sized,
fn set_default_2(self, item: T0)where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn remove(self) -> T0where
Self: Sized,
fn push(self, item: T0)where
Self: Sized,
fn pop(self) -> T0where
Self: Sized,
fn peek(self) -> T0where
Self: Sized,
fn current_item(self) -> T0where
Self: Sized,
fn previous_item(self) -> T0where
Self: Sized,
Source§impl<__T> ITexture2DMethods for __Twhere
__T: ITexture2D,
impl<__T> ITexture2DMethods for __Twhere
__T: ITexture2D,
Source§fn get_format(self) -> TextureFormat
fn get_format(self) -> TextureFormat
get_format() overloadSource§fn get_is_readable(self) -> bool
fn get_is_readable(self) -> bool
get_isReadable() overloadSource§fn get_vt_only(self) -> bool
fn get_vt_only(self) -> bool
get_vtOnly() overloadSource§fn 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) overloadSource§fn resize_impl(self, width: impl Into<i32>, height: impl Into<i32>) -> bool
fn resize_impl(self, width: impl Into<i32>, height: impl Into<i32>) -> bool
ResizeImpl(i32, i32) overloadSource§fn set_pixel_impl(
self,
image: impl Into<i32>,
x: impl Into<i32>,
y: impl Into<i32>,
color: impl Into<Color>,
)
fn set_pixel_impl( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, color: impl Into<Color>, )
SetPixelImpl(i32, i32, i32, crate::unity_engine::color::Color) overloadSource§fn get_pixel_impl(
self,
image: impl Into<i32>,
x: impl Into<i32>,
y: impl Into<i32>,
) -> Color
fn get_pixel_impl( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, ) -> Color
GetPixelImpl(i32, i32, i32) overloadSource§fn get_pixel_bilinear_impl(
self,
image: impl Into<i32>,
u: impl Into<f32>,
v: impl Into<f32>,
) -> Color
fn get_pixel_bilinear_impl( self, image: impl Into<i32>, u: impl Into<f32>, v: impl Into<f32>, ) -> Color
GetPixelBilinearImpl(i32, f32, f32) overloadSource§fn resize_with_format_impl(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<GraphicsFormat>,
has_mip_map: impl Into<bool>,
) -> bool
fn resize_with_format_impl( self, width: impl Into<i32>, height: impl Into<i32>, format: impl Into<GraphicsFormat>, has_mip_map: impl Into<bool>, ) -> bool
ResizeWithFormatImpl(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, bool) overloadSource§fn read_pixels_impl(
self,
source: impl Into<Rect>,
dest_x: impl Into<i32>,
dest_y: impl Into<i32>,
recalculate_mip_maps: impl Into<bool>,
)
fn read_pixels_impl( self, source: impl Into<Rect>, dest_x: impl Into<i32>, dest_y: impl Into<i32>, recalculate_mip_maps: impl Into<bool>, )
ReadPixelsImpl(crate::unity_engine::rect::Rect, i32, i32, bool) overloadSource§fn set_pixels_impl(
self,
x: impl Into<i32>,
y: impl Into<i32>,
w: impl Into<i32>,
h: impl Into<i32>,
pixel: impl Into<Array<Color>>,
miplevel: impl Into<i32>,
frame: impl Into<i32>,
)
fn set_pixels_impl( self, x: impl Into<i32>, y: impl Into<i32>, w: impl Into<i32>, h: impl Into<i32>, pixel: impl Into<Array<Color>>, miplevel: impl Into<i32>, frame: impl Into<i32>, )
SetPixelsImpl(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color::Color>, i32, i32) overloadSource§fn load_raw_texture_data_impl(
self,
data: impl Into<IntPtr>,
size: impl Into<i32>,
) -> bool
fn load_raw_texture_data_impl( self, data: impl Into<IntPtr>, size: impl Into<i32>, ) -> bool
LoadRawTextureDataImpl(::unity::IntPtr, i32) overloadSource§fn load_raw_texture_data_impl_array(self, data: impl Into<Array<u8>>) -> bool
fn load_raw_texture_data_impl_array(self, data: impl Into<Array<u8>>) -> bool
LoadRawTextureDataImplArray(::unity::Array<u8>) overloadSource§fn set_pixel_data_impl_array(
self,
data: impl Into<IlInstance>,
mip_level: impl Into<i32>,
element_size: impl Into<i32>,
data_array_size: impl Into<i32>,
source_data_start_index: impl Into<i32>,
) -> bool
fn set_pixel_data_impl_array( self, data: impl Into<IlInstance>, mip_level: impl Into<i32>, element_size: impl Into<i32>, data_array_size: impl Into<i32>, source_data_start_index: impl Into<i32>, ) -> bool
SetPixelDataImplArray(::unity::IlInstance, i32, i32, i32, i32) overloadSource§fn set_pixel_data_impl(
self,
data: impl Into<IntPtr>,
mip_level: impl Into<i32>,
element_size: impl Into<i32>,
data_array_size: impl Into<i32>,
source_data_start_index: impl Into<i32>,
) -> bool
fn set_pixel_data_impl( self, data: impl Into<IntPtr>, mip_level: impl Into<i32>, element_size: impl Into<i32>, data_array_size: impl Into<i32>, source_data_start_index: impl Into<i32>, ) -> bool
SetPixelDataImpl(::unity::IntPtr, i32, i32, i32, i32) overloadSource§fn get_writable_image_data(self, frame: impl Into<i32>) -> IntPtr
fn get_writable_image_data(self, frame: impl Into<i32>) -> IntPtr
GetWritableImageData(i32) overloadSource§fn get_raw_image_data_size(self) -> i64
fn get_raw_image_data_size(self) -> i64
GetRawImageDataSize() overloadSource§fn get_is_pre_processed(self) -> bool
fn get_is_pre_processed(self) -> bool
get_isPreProcessed() overloadSource§fn get_streaming_mipmaps(self) -> bool
fn get_streaming_mipmaps(self) -> bool
get_streamingMipmaps() overloadSource§fn get_streaming_mipmaps_priority(self) -> i32
fn get_streaming_mipmaps_priority(self) -> i32
get_streamingMipmapsPriority() overloadSource§fn get_requested_mipmap_level(self) -> i32
fn get_requested_mipmap_level(self) -> i32
get_requestedMipmapLevel() overloadSource§fn set_requested_mipmap_level(self, value: impl Into<i32>)
fn set_requested_mipmap_level(self, value: impl Into<i32>)
set_requestedMipmapLevel(i32) overloadSource§fn get_minimum_mipmap_level(self) -> i32
fn get_minimum_mipmap_level(self) -> i32
get_minimumMipmapLevel() overloadSource§fn set_minimum_mipmap_level(self, value: impl Into<i32>)
fn set_minimum_mipmap_level(self, value: impl Into<i32>)
set_minimumMipmapLevel(i32) overloadSource§fn get_load_all_mips(self) -> bool
fn get_load_all_mips(self) -> bool
get_loadAllMips() overloadSource§fn set_load_all_mips(self, value: impl Into<bool>)
fn set_load_all_mips(self, value: impl Into<bool>)
set_loadAllMips(bool) overloadSource§fn get_calculated_mipmap_level(self) -> i32
fn get_calculated_mipmap_level(self) -> i32
get_calculatedMipmapLevel() overloadSource§fn get_desired_mipmap_level(self) -> i32
fn get_desired_mipmap_level(self) -> i32
get_desiredMipmapLevel() overloadSource§fn get_loading_mipmap_level(self) -> i32
fn get_loading_mipmap_level(self) -> i32
get_loadingMipmapLevel() overloadSource§fn get_loaded_mipmap_level(self) -> i32
fn get_loaded_mipmap_level(self) -> i32
get_loadedMipmapLevel() overloadSource§fn clear_requested_mipmap_level(self)
fn clear_requested_mipmap_level(self)
ClearRequestedMipmapLevel() overloadSource§fn is_requested_mipmap_level_loaded(self) -> bool
fn is_requested_mipmap_level_loaded(self) -> bool
IsRequestedMipmapLevelLoaded() overloadSource§fn clear_minimum_mipmap_level(self)
fn clear_minimum_mipmap_level(self)
ClearMinimumMipmapLevel() overloadSource§fn update_external_texture(self, native_tex: impl Into<IntPtr>)
fn update_external_texture(self, native_tex: impl Into<IntPtr>)
UpdateExternalTexture(::unity::IntPtr) overloadSource§fn set_all_pixels32(
self,
colors: impl Into<Array<Color32>>,
miplevel: impl Into<i32>,
)
fn set_all_pixels32( self, colors: impl Into<Array<Color32>>, miplevel: impl Into<i32>, )
SetAllPixels32(::unity::Array<crate::unity_engine::color32::Color32>, i32) overloadSource§fn set_block_of_pixels32(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
colors: impl Into<Array<Color32>>,
miplevel: impl Into<i32>,
)
fn set_block_of_pixels32( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, colors: impl Into<Array<Color32>>, miplevel: impl Into<i32>, )
SetBlockOfPixels32(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color32::Color32>, i32) overloadSource§fn get_raw_texture_data(self) -> Array<u8>
fn get_raw_texture_data(self) -> Array<u8>
GetRawTextureData() overloadSource§fn get_pixels(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
miplevel: impl Into<i32>,
) -> Array<Color>
fn get_pixels( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, miplevel: impl Into<i32>, ) -> Array<Color>
GetPixels(i32, i32, i32, i32, i32) overloadSource§fn get_pixels_2(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
) -> Array<Color>
fn get_pixels_2( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, ) -> Array<Color>
GetPixels(i32, i32, i32, i32) overloadSource§fn get_pixels32(self, miplevel: impl Into<i32>) -> Array<Color32>
fn get_pixels32(self, miplevel: impl Into<i32>) -> Array<Color32>
GetPixels32(i32) overloadSource§fn get_pixels32_2(self) -> Array<Color32>
fn get_pixels32_2(self) -> Array<Color32>
GetPixels32() overloadSource§fn pack_textures(
self,
textures: impl Into<Array<Texture2D>>,
padding: impl Into<i32>,
maximum_atlas_size: impl Into<i32>,
make_no_longer_readable: impl Into<bool>,
) -> Array<Rect>
fn pack_textures( self, textures: impl Into<Array<Texture2D>>, padding: impl Into<i32>, maximum_atlas_size: impl Into<i32>, make_no_longer_readable: impl Into<bool>, ) -> Array<Rect>
PackTextures(::unity::Array<crate::unity_engine::texture2d::Texture2D>, i32, i32, bool) overloadSource§fn pack_textures_2(
self,
textures: impl Into<Array<Texture2D>>,
padding: impl Into<i32>,
maximum_atlas_size: impl Into<i32>,
) -> Array<Rect>
fn pack_textures_2( self, textures: impl Into<Array<Texture2D>>, padding: impl Into<i32>, maximum_atlas_size: impl Into<i32>, ) -> Array<Rect>
PackTextures(::unity::Array<crate::unity_engine::texture2d::Texture2D>, i32, i32) overloadSource§fn pack_textures_3(
self,
textures: impl Into<Array<Texture2D>>,
padding: impl Into<i32>,
) -> Array<Rect>
fn pack_textures_3( self, textures: impl Into<Array<Texture2D>>, padding: impl Into<i32>, ) -> Array<Rect>
PackTextures(::unity::Array<crate::unity_engine::texture2d::Texture2D>, i32) overloadSource§fn ctor(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<GraphicsFormat>,
flags: impl Into<TextureCreationFlags>,
mip_count: impl Into<i32>,
native_tex: impl Into<IntPtr>,
)
fn ctor( self, width: impl Into<i32>, height: impl Into<i32>, format: impl Into<GraphicsFormat>, flags: impl Into<TextureCreationFlags>, mip_count: impl Into<i32>, native_tex: impl Into<IntPtr>, )
.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags, i32, ::unity::IntPtr) overloadSource§fn ctor_2(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<DefaultFormat>,
flags: impl Into<TextureCreationFlags>,
)
fn ctor_2( self, width: impl Into<i32>, height: 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) overloadSource§fn ctor_3(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<GraphicsFormat>,
flags: impl Into<TextureCreationFlags>,
)
fn ctor_3( self, width: impl Into<i32>, height: 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) overloadSource§fn ctor_4(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<GraphicsFormat>,
mip_count: impl Into<i32>,
flags: impl Into<TextureCreationFlags>,
)
fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, format: impl Into<GraphicsFormat>, mip_count: impl Into<i32>, flags: impl Into<TextureCreationFlags>, )
.ctor(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::experimental::rendering::texturecreationflags::TextureCreationFlags) overloadSource§fn ctor_5(
self,
width: impl Into<i32>,
height: impl Into<i32>,
texture_format: impl Into<TextureFormat>,
mip_count: impl Into<i32>,
linear: impl Into<bool>,
native_tex: impl Into<IntPtr>,
)
fn ctor_5( self, width: impl Into<i32>, height: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_count: impl Into<i32>, linear: impl Into<bool>, native_tex: impl Into<IntPtr>, )
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, i32, bool, ::unity::IntPtr) overloadSource§fn ctor_6(
self,
width: impl Into<i32>,
height: impl Into<i32>,
texture_format: impl Into<TextureFormat>,
mip_count: impl Into<i32>,
linear: impl Into<bool>,
)
fn ctor_6( self, width: impl Into<i32>, height: 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) overloadSource§fn ctor_7(
self,
width: impl Into<i32>,
height: impl Into<i32>,
texture_format: impl Into<TextureFormat>,
mip_chain: impl Into<bool>,
linear: impl Into<bool>,
)
fn ctor_7( self, width: impl Into<i32>, height: 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) overloadSource§fn ctor_8(
self,
width: impl Into<i32>,
height: impl Into<i32>,
texture_format: impl Into<TextureFormat>,
mip_chain: impl Into<bool>,
)
fn ctor_8( self, width: impl Into<i32>, height: impl Into<i32>, texture_format: impl Into<TextureFormat>, mip_chain: impl Into<bool>, )
.ctor(i32, i32, crate::unity_engine::textureformat::TextureFormat, bool) overloadSource§fn set_pixel(
self,
x: impl Into<i32>,
y: impl Into<i32>,
color: impl Into<Color>,
)
fn set_pixel( self, x: impl Into<i32>, y: impl Into<i32>, color: impl Into<Color>, )
SetPixel(i32, i32, crate::unity_engine::color::Color) overloadSource§fn set_pixel_2(
self,
x: impl Into<i32>,
y: impl Into<i32>,
color: impl Into<Color>,
mip_level: impl Into<i32>,
)
fn set_pixel_2( self, x: impl Into<i32>, y: impl Into<i32>, color: impl Into<Color>, mip_level: impl Into<i32>, )
SetPixel(i32, i32, crate::unity_engine::color::Color, i32) overloadSource§fn set_pixels(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
colors: impl Into<Array<Color>>,
miplevel: impl Into<i32>,
)
fn set_pixels( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, colors: impl Into<Array<Color>>, miplevel: impl Into<i32>, )
SetPixels(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color::Color>, i32) overloadSource§fn set_pixels_2(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
colors: impl Into<Array<Color>>,
)
fn set_pixels_2( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, colors: impl Into<Array<Color>>, )
SetPixels(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color::Color>) overloadSource§fn set_pixels_3(self, colors: impl Into<Array<Color>>, miplevel: impl Into<i32>)
fn set_pixels_3(self, colors: impl Into<Array<Color>>, miplevel: impl Into<i32>)
SetPixels(::unity::Array<crate::unity_engine::color::Color>, i32) overloadSource§fn set_pixels_4(self, colors: impl Into<Array<Color>>)
fn set_pixels_4(self, colors: impl Into<Array<Color>>)
SetPixels(::unity::Array<crate::unity_engine::color::Color>) overloadSource§fn get_pixel_2(
self,
x: impl Into<i32>,
y: impl Into<i32>,
mip_level: impl Into<i32>,
) -> Color
fn get_pixel_2( self, x: impl Into<i32>, y: impl Into<i32>, mip_level: impl Into<i32>, ) -> Color
GetPixel(i32, i32, i32) overloadSource§fn get_pixel_bilinear(self, u: impl Into<f32>, v: impl Into<f32>) -> Color
fn get_pixel_bilinear(self, u: impl Into<f32>, v: impl Into<f32>) -> Color
GetPixelBilinear(f32, f32) overloadSource§fn get_pixel_bilinear_2(
self,
u: impl Into<f32>,
v: impl Into<f32>,
mip_level: impl Into<i32>,
) -> Color
fn get_pixel_bilinear_2( self, u: impl Into<f32>, v: impl Into<f32>, mip_level: impl Into<i32>, ) -> Color
GetPixelBilinear(f32, f32, i32) overloadSource§fn load_raw_texture_data(self, data: impl Into<IntPtr>, size: impl Into<i32>)
fn load_raw_texture_data(self, data: impl Into<IntPtr>, size: impl Into<i32>)
LoadRawTextureData(::unity::IntPtr, i32) overloadSource§fn load_raw_texture_data_2(self, data: impl Into<Array<u8>>)
fn load_raw_texture_data_2(self, data: impl Into<Array<u8>>)
LoadRawTextureData(::unity::Array<u8>) overloadfn set_pixel_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<Array<M0>>, mip_level: impl Into<i32>, source_data_start_index: impl Into<i32>, )
Source§fn 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) overloadSource§fn resize(self, width: impl Into<i32>, height: impl Into<i32>) -> bool
fn resize(self, width: impl Into<i32>, height: impl Into<i32>) -> bool
Resize(i32, i32) overloadSource§fn resize_2(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<TextureFormat>,
has_mip_map: impl Into<bool>,
) -> bool
fn resize_2( self, width: impl Into<i32>, height: impl Into<i32>, format: impl Into<TextureFormat>, has_mip_map: impl Into<bool>, ) -> bool
Resize(i32, i32, crate::unity_engine::textureformat::TextureFormat, bool) overloadSource§fn resize_3(
self,
width: impl Into<i32>,
height: impl Into<i32>,
format: impl Into<GraphicsFormat>,
has_mip_map: impl Into<bool>,
) -> bool
fn resize_3( self, width: impl Into<i32>, height: impl Into<i32>, format: impl Into<GraphicsFormat>, has_mip_map: impl Into<bool>, ) -> bool
Resize(i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, bool) overloadSource§fn read_pixels(
self,
source: impl Into<Rect>,
dest_x: impl Into<i32>,
dest_y: impl Into<i32>,
recalculate_mip_maps: impl Into<bool>,
)
fn read_pixels( self, source: impl Into<Rect>, dest_x: impl Into<i32>, dest_y: impl Into<i32>, recalculate_mip_maps: impl Into<bool>, )
ReadPixels(crate::unity_engine::rect::Rect, i32, i32, bool) overloadSource§fn read_pixels_2(
self,
source: impl Into<Rect>,
dest_x: impl Into<i32>,
dest_y: impl Into<i32>,
)
fn read_pixels_2( self, source: impl Into<Rect>, dest_x: impl Into<i32>, dest_y: impl Into<i32>, )
ReadPixels(crate::unity_engine::rect::Rect, i32, i32) overloadSource§fn set_pixels32(
self,
colors: impl Into<Array<Color32>>,
miplevel: impl Into<i32>,
)
fn set_pixels32( self, colors: impl Into<Array<Color32>>, miplevel: impl Into<i32>, )
SetPixels32(::unity::Array<crate::unity_engine::color32::Color32>, i32) overloadSource§fn set_pixels32_2(self, colors: impl Into<Array<Color32>>)
fn set_pixels32_2(self, colors: impl Into<Array<Color32>>)
SetPixels32(::unity::Array<crate::unity_engine::color32::Color32>) overloadSource§fn set_pixels32_3(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
colors: impl Into<Array<Color32>>,
miplevel: impl Into<i32>,
)
fn set_pixels32_3( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, colors: impl Into<Array<Color32>>, miplevel: impl Into<i32>, )
SetPixels32(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color32::Color32>, i32) overloadSource§fn set_pixels32_4(
self,
x: impl Into<i32>,
y: impl Into<i32>,
block_width: impl Into<i32>,
block_height: impl Into<i32>,
colors: impl Into<Array<Color32>>,
)
fn set_pixels32_4( self, x: impl Into<i32>, y: impl Into<i32>, block_width: impl Into<i32>, block_height: impl Into<i32>, colors: impl Into<Array<Color32>>, )
SetPixels32(i32, i32, i32, i32, ::unity::Array<crate::unity_engine::color32::Color32>) overloadSource§fn get_pixels_3(self, miplevel: impl Into<i32>) -> Array<Color>
fn get_pixels_3(self, miplevel: impl Into<i32>) -> Array<Color>
GetPixels(i32) overloadSource§fn get_pixels_4(self) -> Array<Color>
fn get_pixels_4(self) -> Array<Color>
GetPixels() overloadSource§fn set_pixel_impl_injected(
self,
image: impl Into<i32>,
x: impl Into<i32>,
y: impl Into<i32>,
) -> Color
fn set_pixel_impl_injected( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, ) -> Color
SetPixelImpl_Injected(i32, i32, i32, *mutcrate::unity_engine::color::Color) overloadSource§fn get_pixel_impl_injected(
self,
image: impl Into<i32>,
x: impl Into<i32>,
y: impl Into<i32>,
) -> Color
fn get_pixel_impl_injected( self, image: impl Into<i32>, x: impl Into<i32>, y: impl Into<i32>, ) -> Color
GetPixelImpl_Injected(i32, i32, i32, *mutcrate::unity_engine::color::Color) overloadSource§fn get_pixel_bilinear_impl_injected(
self,
image: impl Into<i32>,
u: impl Into<f32>,
v: impl Into<f32>,
) -> Color
fn get_pixel_bilinear_impl_injected( self, image: impl Into<i32>, u: impl Into<f32>, v: impl Into<f32>, ) -> Color
GetPixelBilinearImpl_Injected(i32, f32, f32, *mutcrate::unity_engine::color::Color) overloadSource§fn read_pixels_impl_injected(
self,
dest_x: impl Into<i32>,
dest_y: impl Into<i32>,
recalculate_mip_maps: impl Into<bool>,
) -> Rect
fn read_pixels_impl_injected( self, dest_x: impl Into<i32>, dest_y: impl Into<i32>, recalculate_mip_maps: impl Into<bool>, ) -> Rect
ReadPixelsImpl_Injected(*mutcrate::unity_engine::rect::Rect, i32, i32, bool) overloadSource§impl<__T> ITextureMethods for __Twhere
__T: ITexture,
impl<__T> ITextureMethods for __Twhere
__T: ITexture,
Source§fn get_mipmap_count(self) -> i32
fn get_mipmap_count(self) -> i32
get_mipmapCount() overloadSource§fn get_graphics_format(self) -> GraphicsFormat
fn get_graphics_format(self) -> GraphicsFormat
get_graphicsFormat() overloadSource§fn get_data_width(self) -> i32
fn get_data_width(self) -> i32
GetDataWidth() overloadSource§fn get_data_height(self) -> i32
fn get_data_height(self) -> i32
GetDataHeight() overloadSource§fn get_dimension(self) -> TextureDimension
fn get_dimension(self) -> TextureDimension
GetDimension() overloadSource§fn get_height(self) -> i32
fn get_height(self) -> i32
get_height() overloadSource§fn set_height(self, value: impl Into<i32>)
fn set_height(self, value: impl Into<i32>)
set_height(i32) overloadSource§fn set_dimension(self, value: impl Into<TextureDimension>)
fn set_dimension(self, value: impl Into<TextureDimension>)
set_dimension(crate::unity_engine::rendering::texturedimension::TextureDimension) overloadSource§fn get_is_readable(self) -> bool
fn get_is_readable(self) -> bool
get_isReadable() overloadSource§fn get_wrap_mode(self) -> TextureWrapMode
fn get_wrap_mode(self) -> TextureWrapMode
get_wrapMode() overloadSource§fn set_wrap_mode(self, value: impl Into<TextureWrapMode>)
fn set_wrap_mode(self, value: impl Into<TextureWrapMode>)
set_wrapMode(crate::unity_engine::texturewrapmode::TextureWrapMode) overloadSource§fn set_filter_mode(self, value: impl Into<FilterMode>)
fn set_filter_mode(self, value: impl Into<FilterMode>)
set_filterMode(crate::unity_engine::filtermode::FilterMode) overloadSource§fn set_aniso_level(self, value: impl Into<i32>)
fn set_aniso_level(self, value: impl Into<i32>)
set_anisoLevel(i32) overloadSource§fn set_mip_map_bias(self, value: impl Into<f32>)
fn set_mip_map_bias(self, value: impl Into<f32>)
set_mipMapBias(f32) overloadSource§fn get_texel_size(self) -> Vector2
fn get_texel_size(self) -> Vector2
get_texelSize() overloadSource§fn internal_get_active_texture_color_space(self) -> i32
fn internal_get_active_texture_color_space(self) -> i32
Internal_GetActiveTextureColorSpace() overloadSource§fn get_active_texture_color_space(self) -> ColorSpace
fn get_active_texture_color_space(self) -> ColorSpace
get_activeTextureColorSpace() overloadSource§fn get_pixel_data_size(
self,
mip_level: impl Into<i32>,
element: impl Into<i32>,
) -> i32
fn get_pixel_data_size( self, mip_level: impl Into<i32>, element: impl Into<i32>, ) -> i32
GetPixelDataSize(i32, i32) overloadSource§fn get_pixel_data_offset(
self,
mip_level: impl Into<i32>,
element: impl Into<i32>,
) -> i32
fn get_pixel_data_offset( self, mip_level: impl Into<i32>, element: impl Into<i32>, ) -> i32
GetPixelDataOffset(i32, i32) overloadSource§fn validate_format(self, format: impl Into<TextureFormat>) -> bool
fn validate_format(self, format: impl Into<TextureFormat>) -> bool
ValidateFormat(crate::unity_engine::textureformat::TextureFormat) overloadSource§fn validate_format_2(
self,
format: impl Into<GraphicsFormat>,
usage: impl Into<FormatUsage>,
) -> bool
fn validate_format_2( self, format: impl Into<GraphicsFormat>, usage: impl Into<FormatUsage>, ) -> bool
ValidateFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, crate::unity_engine::experimental::rendering::formatusage::FormatUsage) overloadSource§fn create_non_readable_exception(self, t: impl Into<Texture>) -> UnityException
fn create_non_readable_exception(self, t: impl Into<Texture>) -> UnityException
CreateNonReadableException(crate::unity_engine::texture::Texture) overloadSource§fn get_texel_size_injected(self) -> Vector2
fn get_texel_size_injected(self) -> Vector2
get_texelSize_Injected(*mutcrate::unity_engine::vector2::Vector2) overload