pub struct RenderTexture(/* private fields */);Expand description
IL2CPP class: UnityEngine.RenderTexture
Inherits: Texture
Implementations§
Source§impl RenderTexture
impl RenderTexture
Sourcepub fn get_active() -> RenderTexture
pub fn get_active() -> RenderTexture
GetActive() overload
Sourcepub fn set_active(rt: impl Into<RenderTexture>)
pub fn set_active(rt: impl Into<RenderTexture>)
SetActive(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcepub fn internal_create(rt: impl Into<RenderTexture>)
pub fn internal_create(rt: impl Into<RenderTexture>)
Internal_Create(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcepub fn supports_stencil(rt: impl Into<RenderTexture>) -> bool
pub fn supports_stencil(rt: impl Into<RenderTexture>) -> bool
SupportsStencil(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcepub fn get_temporary_internal(
desc: impl Into<RenderTextureDescriptor>,
) -> RenderTexture
pub fn get_temporary_internal( desc: impl Into<RenderTextureDescriptor>, ) -> RenderTexture
GetTemporary_Internal(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overload
Sourcepub fn release_temporary(temp: impl Into<RenderTexture>)
pub fn release_temporary(temp: impl Into<RenderTexture>)
ReleaseTemporary(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcepub fn validate_render_texture_desc(desc: impl Into<RenderTextureDescriptor>)
pub fn validate_render_texture_desc(desc: impl Into<RenderTextureDescriptor>)
ValidateRenderTextureDesc(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overload
Sourcepub fn get_compatible_format(
render_texture_format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
) -> GraphicsFormat
pub fn get_compatible_format( render_texture_format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, ) -> GraphicsFormat
GetCompatibleFormat(crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite) overload
Sourcepub fn get_temporary(desc: impl Into<RenderTextureDescriptor>) -> RenderTexture
pub fn get_temporary(desc: impl Into<RenderTextureDescriptor>) -> RenderTexture
GetTemporary(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overload
Sourcepub fn get_temporary_impl(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
vr_usage: impl Into<VRTextureUsage>,
use_dynamic_scale: impl Into<bool>,
) -> RenderTexture
pub fn get_temporary_impl( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, vr_usage: impl Into<VRTextureUsage>, use_dynamic_scale: impl Into<bool>, ) -> RenderTexture
GetTemporaryImpl(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool) overload
Sourcepub fn get_temporary_2(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
vr_usage: impl Into<VRTextureUsage>,
use_dynamic_scale: impl Into<bool>,
) -> RenderTexture
pub fn get_temporary_2( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, vr_usage: impl Into<VRTextureUsage>, use_dynamic_scale: impl Into<bool>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool) overload
Sourcepub fn get_temporary_3(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
vr_usage: impl Into<VRTextureUsage>,
) -> RenderTexture
pub fn get_temporary_3( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, vr_usage: impl Into<VRTextureUsage>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage) overload
Sourcepub fn get_temporary_4(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
) -> RenderTexture
pub fn get_temporary_4( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless) overload
Sourcepub fn get_temporary_5(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
anti_aliasing: impl Into<i32>,
) -> RenderTexture
pub fn get_temporary_5( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, anti_aliasing: impl Into<i32>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32) overload
Sourcepub fn get_temporary_6(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<GraphicsFormat>,
) -> RenderTexture
pub fn get_temporary_6( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<GraphicsFormat>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) overload
Sourcepub fn get_temporary_7(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
vr_usage: impl Into<VRTextureUsage>,
use_dynamic_scale: impl Into<bool>,
) -> RenderTexture
pub fn get_temporary_7( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, vr_usage: impl Into<VRTextureUsage>, use_dynamic_scale: impl Into<bool>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage, bool) overload
Sourcepub fn get_temporary_8(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
vr_usage: impl Into<VRTextureUsage>,
) -> RenderTexture
pub fn get_temporary_8( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, vr_usage: impl Into<VRTextureUsage>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, crate::unity_engine::vrtextureusage::VRTextureUsage) overload
Sourcepub fn get_temporary_9(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
anti_aliasing: impl Into<i32>,
memoryless_mode: impl Into<RenderTextureMemoryless>,
) -> RenderTexture
pub fn get_temporary_9( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, anti_aliasing: impl Into<i32>, memoryless_mode: impl Into<RenderTextureMemoryless>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless) overload
Sourcepub fn get_temporary_10(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
anti_aliasing: impl Into<i32>,
) -> RenderTexture
pub fn get_temporary_10( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, anti_aliasing: impl Into<i32>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32) overload
Sourcepub fn get_temporary_11(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
) -> RenderTexture
pub fn get_temporary_11( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite) overload
Sourcepub fn get_temporary_12(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
) -> RenderTexture
pub fn get_temporary_12( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, format: impl Into<RenderTextureFormat>, ) -> RenderTexture
GetTemporary(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat) overload
Sourcepub fn get_temporary_13(
width: impl Into<i32>,
height: impl Into<i32>,
depth_buffer: impl Into<i32>,
) -> RenderTexture
pub fn get_temporary_13( width: impl Into<i32>, height: impl Into<i32>, depth_buffer: impl Into<i32>, ) -> RenderTexture
GetTemporary(i32, i32, i32) overload
Sourcepub fn get_temporary_14(
width: impl Into<i32>,
height: impl Into<i32>,
) -> RenderTexture
pub fn get_temporary_14( width: impl Into<i32>, height: impl Into<i32>, ) -> RenderTexture
GetTemporary(i32, i32) overload
Sourcepub fn get_enabled() -> bool
pub fn get_enabled() -> bool
get_enabled() overload
Sourcepub fn set_enabled(value: impl Into<bool>)
pub fn set_enabled(value: impl Into<bool>)
set_enabled(bool) overload
Sourcepub fn get_temporary_internal_injected() -> (RenderTexture, RenderTextureDescriptor)
pub fn get_temporary_internal_injected() -> (RenderTexture, RenderTextureDescriptor)
GetTemporary_Internal_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overload
Source§impl RenderTexture
impl RenderTexture
pub fn get_width_method_info() -> &'static MethodInfo
pub fn set_width_method_info() -> &'static MethodInfo
pub fn get_height_method_info() -> &'static MethodInfo
pub fn set_height_method_info() -> &'static MethodInfo
pub fn get_dimension_method_info() -> &'static MethodInfo
pub fn set_dimension_method_info() -> &'static MethodInfo
pub fn get_graphics_format_method_info() -> &'static MethodInfo
pub fn set_graphics_format_method_info() -> &'static MethodInfo
pub fn get_use_mip_map_method_info() -> &'static MethodInfo
pub fn set_use_mip_map_method_info() -> &'static MethodInfo
pub fn get_s_rgb_method_info() -> &'static MethodInfo
pub fn get_vr_usage_method_info() -> &'static MethodInfo
pub fn set_vr_usage_method_info() -> &'static MethodInfo
pub fn get_memoryless_mode_method_info() -> &'static MethodInfo
pub fn set_memoryless_mode_method_info() -> &'static MethodInfo
pub fn get_format_method_info() -> &'static MethodInfo
pub fn set_format_method_info() -> &'static MethodInfo
pub fn get_stencil_format_method_info() -> &'static MethodInfo
pub fn set_stencil_format_method_info() -> &'static MethodInfo
pub fn get_auto_generate_mips_method_info() -> &'static MethodInfo
pub fn set_auto_generate_mips_method_info() -> &'static MethodInfo
pub fn get_volume_depth_method_info() -> &'static MethodInfo
pub fn set_volume_depth_method_info() -> &'static MethodInfo
pub fn get_anti_aliasing_method_info() -> &'static MethodInfo
pub fn set_anti_aliasing_method_info() -> &'static MethodInfo
pub fn get_bind_texture_ms_method_info() -> &'static MethodInfo
pub fn set_bind_texture_ms_method_info() -> &'static MethodInfo
pub fn get_enable_random_write_method_info() -> &'static MethodInfo
pub fn set_enable_random_write_method_info() -> &'static MethodInfo
pub fn get_use_dynamic_scale_method_info() -> &'static MethodInfo
pub fn set_use_dynamic_scale_method_info() -> &'static MethodInfo
pub fn get_is_power_of_two_method_info() -> &'static MethodInfo
pub fn set_is_power_of_two_method_info() -> &'static MethodInfo
pub fn get_active_method_info() -> &'static MethodInfo
pub fn set_active_method_info() -> &'static MethodInfo
pub fn get_color_buffer_method_info() -> &'static MethodInfo
pub fn get_depth_buffer_method_info() -> &'static MethodInfo
pub fn get_native_depth_buffer_ptr_method_info() -> &'static MethodInfo
pub fn discard_contents_method_info() -> &'static MethodInfo
pub fn mark_restore_expected_method_info() -> &'static MethodInfo
pub fn discard_contents_2_method_info() -> &'static MethodInfo
pub fn resolve_aa_method_info() -> &'static MethodInfo
pub fn resolve_aa_to_method_info() -> &'static MethodInfo
pub fn resolve_anti_aliased_surface_method_info() -> &'static MethodInfo
pub fn resolve_anti_aliased_surface_2_method_info() -> &'static MethodInfo
pub fn set_global_shader_property_method_info() -> &'static MethodInfo
pub fn create_method_info() -> &'static MethodInfo
pub fn release_method_info() -> &'static MethodInfo
pub fn is_created_method_info() -> &'static MethodInfo
pub fn generate_mips_method_info() -> &'static MethodInfo
pub fn convert_to_equirect_method_info() -> &'static MethodInfo
pub fn set_srgb_read_write_method_info() -> &'static MethodInfo
pub fn internal_create_method_info() -> &'static MethodInfo
pub fn supports_stencil_method_info() -> &'static MethodInfo
pub fn set_render_texture_descriptor_method_info() -> &'static MethodInfo
pub fn get_descriptor_method_info() -> &'static MethodInfo
pub fn get_temporary_internal_method_info() -> &'static MethodInfo
pub fn release_temporary_method_info() -> &'static MethodInfo
pub fn get_depth_method_info() -> &'static MethodInfo
pub fn set_depth_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 ctor_10_method_info() -> &'static MethodInfo
pub fn set_descriptor_method_info() -> &'static MethodInfo
pub fn validate_render_texture_desc_method_info() -> &'static MethodInfo
pub fn get_compatible_format_method_info() -> &'static MethodInfo
pub fn get_temporary_method_info() -> &'static MethodInfo
pub fn get_temporary_impl_method_info() -> &'static MethodInfo
pub fn get_temporary_2_method_info() -> &'static MethodInfo
pub fn get_temporary_3_method_info() -> &'static MethodInfo
pub fn get_temporary_4_method_info() -> &'static MethodInfo
pub fn get_temporary_5_method_info() -> &'static MethodInfo
pub fn get_temporary_6_method_info() -> &'static MethodInfo
pub fn get_temporary_7_method_info() -> &'static MethodInfo
pub fn get_temporary_8_method_info() -> &'static MethodInfo
pub fn get_temporary_9_method_info() -> &'static MethodInfo
pub fn get_temporary_10_method_info() -> &'static MethodInfo
pub fn get_temporary_11_method_info() -> &'static MethodInfo
pub fn get_temporary_12_method_info() -> &'static MethodInfo
pub fn get_temporary_13_method_info() -> &'static MethodInfo
pub fn get_temporary_14_method_info() -> &'static MethodInfo
pub fn get_is_cubemap_method_info() -> &'static MethodInfo
pub fn set_is_cubemap_method_info() -> &'static MethodInfo
pub fn get_is_volume_method_info() -> &'static MethodInfo
pub fn set_is_volume_method_info() -> &'static MethodInfo
pub fn get_enabled_method_info() -> &'static MethodInfo
pub fn set_enabled_method_info() -> &'static MethodInfo
pub fn get_texel_offset_method_info() -> &'static MethodInfo
pub fn get_color_buffer_injected_method_info() -> &'static MethodInfo
pub fn get_depth_buffer_injected_method_info() -> &'static MethodInfo
pub fn set_render_texture_descriptor_injected_method_info() -> &'static MethodInfo
pub fn get_descriptor_injected_method_info() -> &'static MethodInfo
pub fn get_temporary_internal_injected_method_info() -> &'static MethodInfo
Source§impl RenderTexture
impl RenderTexture
Sourcepub unsafe fn get_width(this: impl Into<IlInstance>) -> i32
pub unsafe fn get_width(this: impl Into<IlInstance>) -> i32
Direct (non-virtual) call to RenderTexture’s own get_width. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn set_width(this: impl Into<IlInstance>, value: i32)
pub unsafe fn set_width(this: impl Into<IlInstance>, value: i32)
Direct (non-virtual) call to RenderTexture’s own set_width. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_height(this: impl Into<IlInstance>) -> i32
pub unsafe fn get_height(this: impl Into<IlInstance>) -> i32
Direct (non-virtual) call to RenderTexture’s own get_height. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn set_height(this: impl Into<IlInstance>, value: i32)
pub unsafe fn set_height(this: impl Into<IlInstance>, value: i32)
Direct (non-virtual) call to RenderTexture’s own set_height. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_dimension(this: impl Into<IlInstance>) -> TextureDimension
pub unsafe fn get_dimension(this: impl Into<IlInstance>) -> TextureDimension
Direct (non-virtual) call to RenderTexture’s own get_dimension. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn set_dimension(
this: impl Into<IlInstance>,
value: TextureDimension,
)
pub unsafe fn set_dimension( this: impl Into<IlInstance>, value: TextureDimension, )
Direct (non-virtual) call to RenderTexture’s own set_dimension. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Source§impl RenderTexture
impl RenderTexture
Sourcepub fn new_2(desc: RenderTextureDescriptor) -> Self
pub fn new_2(desc: RenderTextureDescriptor) -> Self
.ctor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) — overload selector
Sourcepub fn new_3(texture_to_copy: RenderTexture) -> Self
pub fn new_3(texture_to_copy: RenderTexture) -> Self
.ctor(crate::unity_engine::rendertexture::RenderTexture) — overload selector
Sourcepub fn new_4(width: i32, height: i32, depth: i32, format: DefaultFormat) -> Self
pub fn new_4(width: i32, height: i32, depth: i32, format: DefaultFormat) -> Self
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat) — overload selector
Sourcepub fn new_5(
width: i32,
height: i32,
depth: i32,
format: GraphicsFormat,
) -> Self
pub fn new_5( width: i32, height: i32, depth: i32, format: GraphicsFormat, ) -> Self
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) — overload selector
Sourcepub fn new_6(
width: i32,
height: i32,
depth: i32,
format: GraphicsFormat,
mip_count: i32,
) -> Self
pub fn new_6( width: i32, height: i32, depth: i32, format: GraphicsFormat, mip_count: i32, ) -> Self
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32) — overload selector
Sourcepub fn new_7(
width: i32,
height: i32,
depth: i32,
format: RenderTextureFormat,
read_write: RenderTextureReadWrite,
) -> Self
pub fn new_7( width: i32, height: i32, depth: i32, format: RenderTextureFormat, read_write: RenderTextureReadWrite, ) -> Self
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite) — overload selector
Sourcepub fn new_8(
width: i32,
height: i32,
depth: i32,
format: RenderTextureFormat,
) -> Self
pub fn new_8( width: i32, height: i32, depth: i32, format: RenderTextureFormat, ) -> Self
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat) — overload selector
Sourcepub fn new_9(width: i32, height: i32, depth: i32) -> Self
pub fn new_9(width: i32, height: i32, depth: i32) -> Self
.ctor(i32, i32, i32) — overload selector
Sourcepub fn new_10(
width: i32,
height: i32,
depth: i32,
format: RenderTextureFormat,
mip_count: i32,
) -> Self
pub fn new_10( width: i32, height: i32, depth: i32, format: RenderTextureFormat, mip_count: i32, ) -> Self
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, i32) — overload selector
Trait Implementations§
Source§impl ClassIdentity for RenderTexture
impl ClassIdentity for RenderTexture
Source§impl Clone for RenderTexture
impl Clone for RenderTexture
Source§fn clone(&self) -> RenderTexture
fn clone(&self) -> RenderTexture
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl FromIlInstance for RenderTexture
impl FromIlInstance for RenderTexture
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 RenderTexture
impl IObject_2 for RenderTexture
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
impl Copy for RenderTexture
impl IObject for RenderTexture
impl IRenderTexture for RenderTexture
impl ITexture for RenderTexture
Auto Trait Implementations§
impl Freeze for RenderTexture
impl RefUnwindSafe for RenderTexture
impl !Send for RenderTexture
impl !Sync for RenderTexture
impl Unpin for RenderTexture
impl UnwindSafe for RenderTexture
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<__T> IRenderTextureMethods for __Twhere
__T: IRenderTexture,
impl<__T> IRenderTextureMethods for __Twhere
__T: IRenderTexture,
Source§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 get_dimension(self) -> TextureDimension
fn get_dimension(self) -> TextureDimension
get_dimension() 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_graphics_format(self) -> GraphicsFormat
fn get_graphics_format(self) -> GraphicsFormat
get_graphicsFormat() overloadSource§fn set_graphics_format(self, value: impl Into<GraphicsFormat>)
fn set_graphics_format(self, value: impl Into<GraphicsFormat>)
set_graphicsFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) overloadSource§fn get_use_mip_map(self) -> bool
fn get_use_mip_map(self) -> bool
get_useMipMap() overloadSource§fn set_use_mip_map(self, value: impl Into<bool>)
fn set_use_mip_map(self, value: impl Into<bool>)
set_useMipMap(bool) overloadSource§fn get_vr_usage(self) -> VRTextureUsage
fn get_vr_usage(self) -> VRTextureUsage
get_vrUsage() overloadSource§fn set_vr_usage(self, value: impl Into<VRTextureUsage>)
fn set_vr_usage(self, value: impl Into<VRTextureUsage>)
set_vrUsage(crate::unity_engine::vrtextureusage::VRTextureUsage) overloadSource§fn get_memoryless_mode(self) -> RenderTextureMemoryless
fn get_memoryless_mode(self) -> RenderTextureMemoryless
get_memorylessMode() overloadSource§fn set_memoryless_mode(self, value: impl Into<RenderTextureMemoryless>)
fn set_memoryless_mode(self, value: impl Into<RenderTextureMemoryless>)
set_memorylessMode(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless) overloadSource§fn get_format(self) -> RenderTextureFormat
fn get_format(self) -> RenderTextureFormat
get_format() overloadSource§fn set_format(self, value: impl Into<RenderTextureFormat>)
fn set_format(self, value: impl Into<RenderTextureFormat>)
set_format(crate::unity_engine::rendertextureformat::RenderTextureFormat) overloadSource§fn get_stencil_format(self) -> GraphicsFormat
fn get_stencil_format(self) -> GraphicsFormat
get_stencilFormat() overloadSource§fn set_stencil_format(self, value: impl Into<GraphicsFormat>)
fn set_stencil_format(self, value: impl Into<GraphicsFormat>)
set_stencilFormat(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) overloadSource§fn get_auto_generate_mips(self) -> bool
fn get_auto_generate_mips(self) -> bool
get_autoGenerateMips() overloadSource§fn set_auto_generate_mips(self, value: impl Into<bool>)
fn set_auto_generate_mips(self, value: impl Into<bool>)
set_autoGenerateMips(bool) overloadSource§fn get_volume_depth(self) -> i32
fn get_volume_depth(self) -> i32
get_volumeDepth() overloadSource§fn set_volume_depth(self, value: impl Into<i32>)
fn set_volume_depth(self, value: impl Into<i32>)
set_volumeDepth(i32) overloadSource§fn get_anti_aliasing(self) -> i32
fn get_anti_aliasing(self) -> i32
get_antiAliasing() overloadSource§fn set_anti_aliasing(self, value: impl Into<i32>)
fn set_anti_aliasing(self, value: impl Into<i32>)
set_antiAliasing(i32) overloadSource§fn get_bind_texture_ms(self) -> bool
fn get_bind_texture_ms(self) -> bool
get_bindTextureMS() overloadSource§fn set_bind_texture_ms(self, value: impl Into<bool>)
fn set_bind_texture_ms(self, value: impl Into<bool>)
set_bindTextureMS(bool) overloadSource§fn get_enable_random_write(self) -> bool
fn get_enable_random_write(self) -> bool
get_enableRandomWrite() overloadSource§fn set_enable_random_write(self, value: impl Into<bool>)
fn set_enable_random_write(self, value: impl Into<bool>)
set_enableRandomWrite(bool) overloadSource§fn get_use_dynamic_scale(self) -> bool
fn get_use_dynamic_scale(self) -> bool
get_useDynamicScale() overloadSource§fn set_use_dynamic_scale(self, value: impl Into<bool>)
fn set_use_dynamic_scale(self, value: impl Into<bool>)
set_useDynamicScale(bool) overloadSource§fn get_is_power_of_two(self) -> bool
fn get_is_power_of_two(self) -> bool
GetIsPowerOfTwo() overloadSource§fn set_is_power_of_two(self, value: impl Into<bool>)
fn set_is_power_of_two(self, value: impl Into<bool>)
set_isPowerOfTwo(bool) overloadSource§fn get_color_buffer(self) -> RenderBuffer
fn get_color_buffer(self) -> RenderBuffer
GetColorBuffer() overloadSource§fn get_depth_buffer(self) -> RenderBuffer
fn get_depth_buffer(self) -> RenderBuffer
GetDepthBuffer() overloadSource§fn get_native_depth_buffer_ptr(self) -> IntPtr
fn get_native_depth_buffer_ptr(self) -> IntPtr
GetNativeDepthBufferPtr() overloadSource§fn discard_contents(
self,
discard_color: impl Into<bool>,
discard_depth: impl Into<bool>,
)
fn discard_contents( self, discard_color: impl Into<bool>, discard_depth: impl Into<bool>, )
DiscardContents(bool, bool) overloadSource§fn mark_restore_expected(self)
fn mark_restore_expected(self)
MarkRestoreExpected() overloadSource§fn discard_contents_2(self)
fn discard_contents_2(self)
DiscardContents() overloadSource§fn resolve_aa(self)
fn resolve_aa(self)
ResolveAA() overloadSource§fn resolve_aa_to(self, rt: impl Into<RenderTexture>)
fn resolve_aa_to(self, rt: impl Into<RenderTexture>)
ResolveAATo(crate::unity_engine::rendertexture::RenderTexture) overloadSource§fn resolve_anti_aliased_surface(self)
fn resolve_anti_aliased_surface(self)
ResolveAntiAliasedSurface() overloadSource§fn resolve_anti_aliased_surface_2(self, target: impl Into<RenderTexture>)
fn resolve_anti_aliased_surface_2(self, target: impl Into<RenderTexture>)
ResolveAntiAliasedSurface(crate::unity_engine::rendertexture::RenderTexture) overloadSource§fn set_global_shader_property(self, property_name: impl Into<Il2CppString>)
fn set_global_shader_property(self, property_name: impl Into<Il2CppString>)
SetGlobalShaderProperty(::unity::Il2CppString) overloadSource§fn is_created(self) -> bool
fn is_created(self) -> bool
IsCreated() overloadSource§fn generate_mips(self)
fn generate_mips(self)
GenerateMips() overloadSource§fn convert_to_equirect(
self,
equirect: impl Into<RenderTexture>,
eye: impl Into<Camera_MonoOrStereoscopicEye>,
)
fn convert_to_equirect( self, equirect: impl Into<RenderTexture>, eye: impl Into<Camera_MonoOrStereoscopicEye>, )
ConvertToEquirect(crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::camera::Camera_MonoOrStereoscopicEye) overloadSource§fn set_srgb_read_write(self, srgb: impl Into<bool>)
fn set_srgb_read_write(self, srgb: impl Into<bool>)
SetSRGBReadWrite(bool) overloadSource§fn set_render_texture_descriptor(self, desc: impl Into<RenderTextureDescriptor>)
fn set_render_texture_descriptor(self, desc: impl Into<RenderTextureDescriptor>)
SetRenderTextureDescriptor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overloadSource§fn get_descriptor(self) -> RenderTextureDescriptor
fn get_descriptor(self) -> RenderTextureDescriptor
GetDescriptor() overloadSource§fn ctor_2(self, desc: impl Into<RenderTextureDescriptor>)
fn ctor_2(self, desc: impl Into<RenderTextureDescriptor>)
.ctor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overloadSource§fn ctor_3(self, texture_to_copy: impl Into<RenderTexture>)
fn ctor_3(self, texture_to_copy: impl Into<RenderTexture>)
.ctor(crate::unity_engine::rendertexture::RenderTexture) overloadSource§fn ctor_4(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<DefaultFormat>,
)
fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<DefaultFormat>, )
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::defaultformat::DefaultFormat) overloadSource§fn ctor_5(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<GraphicsFormat>,
)
fn ctor_5( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<GraphicsFormat>, )
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat) overloadSource§fn ctor_6(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<GraphicsFormat>,
mip_count: impl Into<i32>,
)
fn ctor_6( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<GraphicsFormat>, mip_count: impl Into<i32>, )
.ctor(i32, i32, i32, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32) overloadSource§fn ctor_7(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
read_write: impl Into<RenderTextureReadWrite>,
)
fn ctor_7( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<RenderTextureFormat>, read_write: impl Into<RenderTextureReadWrite>, )
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite) overloadSource§fn ctor_8(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
)
fn ctor_8( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<RenderTextureFormat>, )
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat) overloadSource§fn ctor_9(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
)
fn ctor_9( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, )
.ctor(i32, i32, i32) overloadSource§fn ctor_10(
self,
width: impl Into<i32>,
height: impl Into<i32>,
depth: impl Into<i32>,
format: impl Into<RenderTextureFormat>,
mip_count: impl Into<i32>,
)
fn ctor_10( self, width: impl Into<i32>, height: impl Into<i32>, depth: impl Into<i32>, format: impl Into<RenderTextureFormat>, mip_count: impl Into<i32>, )
.ctor(i32, i32, i32, crate::unity_engine::rendertextureformat::RenderTextureFormat, i32) overloadSource§fn set_descriptor(self, value: impl Into<RenderTextureDescriptor>)
fn set_descriptor(self, value: impl Into<RenderTextureDescriptor>)
set_descriptor(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overloadSource§fn get_is_cubemap(self) -> bool
fn get_is_cubemap(self) -> bool
get_isCubemap() overloadSource§fn set_is_cubemap(self, value: impl Into<bool>)
fn set_is_cubemap(self, value: impl Into<bool>)
set_isCubemap(bool) overloadSource§fn get_is_volume(self) -> bool
fn get_is_volume(self) -> bool
get_isVolume() overloadSource§fn set_is_volume(self, value: impl Into<bool>)
fn set_is_volume(self, value: impl Into<bool>)
set_isVolume(bool) overloadSource§fn get_texel_offset(self) -> Vector2
fn get_texel_offset(self) -> Vector2
GetTexelOffset() overloadSource§fn get_color_buffer_injected(self) -> RenderBuffer
fn get_color_buffer_injected(self) -> RenderBuffer
GetColorBuffer_Injected(*mutcrate::unity_engine::renderbuffer::RenderBuffer) overloadSource§fn get_depth_buffer_injected(self) -> RenderBuffer
fn get_depth_buffer_injected(self) -> RenderBuffer
GetDepthBuffer_Injected(*mutcrate::unity_engine::renderbuffer::RenderBuffer) overloadSource§fn set_render_texture_descriptor_injected(self) -> RenderTextureDescriptor
fn set_render_texture_descriptor_injected(self) -> RenderTextureDescriptor
SetRenderTextureDescriptor_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overloadSource§fn get_descriptor_injected(self) -> RenderTextureDescriptor
fn get_descriptor_injected(self) -> RenderTextureDescriptor
GetDescriptor_Injected(*mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overloadSource§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> 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