pub struct Shader(/* private fields */);Expand description
IL2CPP class: UnityEngine.Shader
Inherits: Object_2
Implementations§
Source§impl Shader
impl Shader
Sourcepub fn get_global_shader_hardware_tier() -> ShaderHardwareTier
pub fn get_global_shader_hardware_tier() -> ShaderHardwareTier
get_globalShaderHardwareTier() overload
Sourcepub fn set_global_shader_hardware_tier(value: impl Into<ShaderHardwareTier>)
pub fn set_global_shader_hardware_tier(value: impl Into<ShaderHardwareTier>)
set_globalShaderHardwareTier(crate::unity_engine::rendering::shaderhardwaretier::ShaderHardwareTier) overload
Sourcepub fn find(name: impl Into<Il2CppString>) -> Shader
pub fn find(name: impl Into<Il2CppString>) -> Shader
Find(::unity::Il2CppString) overload
Sourcepub fn find_builtin(name: impl Into<Il2CppString>) -> Shader
pub fn find_builtin(name: impl Into<Il2CppString>) -> Shader
FindBuiltin(::unity::Il2CppString) overload
Sourcepub fn get_global_maximum_lod() -> i32
pub fn get_global_maximum_lod() -> i32
get_globalMaximumLOD() overload
Sourcepub fn set_global_maximum_lod(value: impl Into<i32>)
pub fn set_global_maximum_lod(value: impl Into<i32>)
set_globalMaximumLOD(i32) overload
Sourcepub fn get_global_render_pipeline() -> Il2CppString
pub fn get_global_render_pipeline() -> Il2CppString
get_globalRenderPipeline() overload
Sourcepub fn set_global_render_pipeline(value: impl Into<Il2CppString>)
pub fn set_global_render_pipeline(value: impl Into<Il2CppString>)
set_globalRenderPipeline(::unity::Il2CppString) overload
Sourcepub fn enable_keyword(keyword: impl Into<Il2CppString>)
pub fn enable_keyword(keyword: impl Into<Il2CppString>)
EnableKeyword(::unity::Il2CppString) overload
Sourcepub fn disable_keyword(keyword: impl Into<Il2CppString>)
pub fn disable_keyword(keyword: impl Into<Il2CppString>)
DisableKeyword(::unity::Il2CppString) overload
Sourcepub fn is_keyword_enabled(keyword: impl Into<Il2CppString>) -> bool
pub fn is_keyword_enabled(keyword: impl Into<Il2CppString>) -> bool
IsKeywordEnabled(::unity::Il2CppString) overload
Sourcepub fn warmup_all_shaders()
pub fn warmup_all_shaders()
WarmupAllShaders() overload
Sourcepub fn tag_to_id(name: impl Into<Il2CppString>) -> i32
pub fn tag_to_id(name: impl Into<Il2CppString>) -> i32
TagToID(::unity::Il2CppString) overload
Sourcepub fn id_to_tag(name: impl Into<i32>) -> Il2CppString
pub fn id_to_tag(name: impl Into<i32>) -> Il2CppString
IDToTag(i32) overload
Sourcepub fn property_to_id(name: impl Into<Il2CppString>) -> i32
pub fn property_to_id(name: impl Into<Il2CppString>) -> i32
PropertyToID(::unity::Il2CppString) overload
Sourcepub fn set_global_float_impl(name: impl Into<i32>, value: impl Into<f32>)
pub fn set_global_float_impl(name: impl Into<i32>, value: impl Into<f32>)
SetGlobalFloatImpl(i32, f32) overload
Sourcepub fn set_global_vector_impl(name: impl Into<i32>, value: impl Into<Vector4>)
pub fn set_global_vector_impl(name: impl Into<i32>, value: impl Into<Vector4>)
SetGlobalVectorImpl(i32, crate::unity_engine::vector4::Vector4) overload
Sourcepub fn set_global_matrix_impl(name: impl Into<i32>, value: impl Into<Matrix4x4>)
pub fn set_global_matrix_impl(name: impl Into<i32>, value: impl Into<Matrix4x4>)
SetGlobalMatrixImpl(i32, crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn set_global_texture_impl(name: impl Into<i32>, value: impl Into<Texture>)
pub fn set_global_texture_impl(name: impl Into<i32>, value: impl Into<Texture>)
SetGlobalTextureImpl(i32, crate::unity_engine::texture::Texture) overload
Sourcepub fn set_global_render_texture_impl(
name: impl Into<i32>,
value: impl Into<RenderTexture>,
element: impl Into<RenderTextureSubElement>,
)
pub fn set_global_render_texture_impl( name: impl Into<i32>, value: impl Into<RenderTexture>, element: impl Into<RenderTextureSubElement>, )
SetGlobalRenderTextureImpl(i32, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement) overload
Sourcepub fn set_global_buffer_impl(
name: impl Into<i32>,
value: impl Into<ComputeBuffer>,
)
pub fn set_global_buffer_impl( name: impl Into<i32>, value: impl Into<ComputeBuffer>, )
SetGlobalBufferImpl(i32, crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcepub fn set_global_graphics_buffer_impl(
name: impl Into<i32>,
value: impl Into<GraphicsBuffer>,
)
pub fn set_global_graphics_buffer_impl( name: impl Into<i32>, value: impl Into<GraphicsBuffer>, )
SetGlobalGraphicsBufferImpl(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer) overload
Sourcepub fn set_global_constant_buffer_impl(
name: impl Into<i32>,
value: impl Into<ComputeBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_buffer_impl( name: impl Into<i32>, value: impl Into<ComputeBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantBufferImpl(i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32) overload
Sourcepub fn set_global_constant_graphics_buffer_impl(
name: impl Into<i32>,
value: impl Into<GraphicsBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_graphics_buffer_impl( name: impl Into<i32>, value: impl Into<GraphicsBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantGraphicsBufferImpl(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32) overload
Sourcepub fn get_global_float_impl(name: impl Into<i32>) -> f32
pub fn get_global_float_impl(name: impl Into<i32>) -> f32
GetGlobalFloatImpl(i32) overload
Sourcepub fn get_global_vector_impl(name: impl Into<i32>) -> Vector4
pub fn get_global_vector_impl(name: impl Into<i32>) -> Vector4
GetGlobalVectorImpl(i32) overload
Sourcepub fn get_global_matrix_impl(name: impl Into<i32>) -> Matrix4x4
pub fn get_global_matrix_impl(name: impl Into<i32>) -> Matrix4x4
GetGlobalMatrixImpl(i32) overload
Sourcepub fn get_global_texture_impl(name: impl Into<i32>) -> Texture
pub fn get_global_texture_impl(name: impl Into<i32>) -> Texture
GetGlobalTextureImpl(i32) overload
Sourcepub fn set_global_float_array_impl(
name: impl Into<i32>,
values: impl Into<Array<f32>>,
count: impl Into<i32>,
)
pub fn set_global_float_array_impl( name: impl Into<i32>, values: impl Into<Array<f32>>, count: impl Into<i32>, )
SetGlobalFloatArrayImpl(i32, ::unity::Array<f32>, i32) overload
Sourcepub fn set_global_vector_array_impl(
name: impl Into<i32>,
values: impl Into<Array<Vector4>>,
count: impl Into<i32>,
)
pub fn set_global_vector_array_impl( name: impl Into<i32>, values: impl Into<Array<Vector4>>, count: impl Into<i32>, )
SetGlobalVectorArrayImpl(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32) overload
Sourcepub fn set_global_matrix_array_impl(
name: impl Into<i32>,
values: impl Into<Array<Matrix4x4>>,
count: impl Into<i32>,
)
pub fn set_global_matrix_array_impl( name: impl Into<i32>, values: impl Into<Array<Matrix4x4>>, count: impl Into<i32>, )
SetGlobalMatrixArrayImpl(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>, i32) overload
Sourcepub fn get_global_float_array_impl(name: impl Into<i32>) -> Array<f32>
pub fn get_global_float_array_impl(name: impl Into<i32>) -> Array<f32>
GetGlobalFloatArrayImpl(i32) overload
Sourcepub fn get_global_vector_array_impl(name: impl Into<i32>) -> Array<Vector4>
pub fn get_global_vector_array_impl(name: impl Into<i32>) -> Array<Vector4>
GetGlobalVectorArrayImpl(i32) overload
Sourcepub fn get_global_matrix_array_impl(name: impl Into<i32>) -> Array<Matrix4x4>
pub fn get_global_matrix_array_impl(name: impl Into<i32>) -> Array<Matrix4x4>
GetGlobalMatrixArrayImpl(i32) overload
Sourcepub fn get_global_float_array_count_impl(name: impl Into<i32>) -> i32
pub fn get_global_float_array_count_impl(name: impl Into<i32>) -> i32
GetGlobalFloatArrayCountImpl(i32) overload
Sourcepub fn get_global_vector_array_count_impl(name: impl Into<i32>) -> i32
pub fn get_global_vector_array_count_impl(name: impl Into<i32>) -> i32
GetGlobalVectorArrayCountImpl(i32) overload
Sourcepub fn get_global_matrix_array_count_impl(name: impl Into<i32>) -> i32
pub fn get_global_matrix_array_count_impl(name: impl Into<i32>) -> i32
GetGlobalMatrixArrayCountImpl(i32) overload
Sourcepub fn extract_global_float_array_impl(
name: impl Into<i32>,
val: impl Into<Array<f32>>,
)
pub fn extract_global_float_array_impl( name: impl Into<i32>, val: impl Into<Array<f32>>, )
ExtractGlobalFloatArrayImpl(i32, ::unity::Array<f32>) overload
Sourcepub fn extract_global_vector_array_impl(
name: impl Into<i32>,
val: impl Into<Array<Vector4>>,
)
pub fn extract_global_vector_array_impl( name: impl Into<i32>, val: impl Into<Array<Vector4>>, )
ExtractGlobalVectorArrayImpl(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn extract_global_matrix_array_impl(
name: impl Into<i32>,
val: impl Into<Array<Matrix4x4>>,
)
pub fn extract_global_matrix_array_impl( name: impl Into<i32>, val: impl Into<Array<Matrix4x4>>, )
ExtractGlobalMatrixArrayImpl(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn set_global_float_array(
name: impl Into<i32>,
values: impl Into<Array<f32>>,
count: impl Into<i32>,
)
pub fn set_global_float_array( name: impl Into<i32>, values: impl Into<Array<f32>>, count: impl Into<i32>, )
SetGlobalFloatArray(i32, ::unity::Array<f32>, i32) overload
Sourcepub fn set_global_vector_array(
name: impl Into<i32>,
values: impl Into<Array<Vector4>>,
count: impl Into<i32>,
)
pub fn set_global_vector_array( name: impl Into<i32>, values: impl Into<Array<Vector4>>, count: impl Into<i32>, )
SetGlobalVectorArray(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32) overload
Sourcepub fn set_global_matrix_array(
name: impl Into<i32>,
values: impl Into<Array<Matrix4x4>>,
count: impl Into<i32>,
)
pub fn set_global_matrix_array( name: impl Into<i32>, values: impl Into<Array<Matrix4x4>>, count: impl Into<i32>, )
SetGlobalMatrixArray(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>, i32) overload
Sourcepub fn extract_global_float_array(
name: impl Into<i32>,
values: impl Into<List_1<f32>>,
)
pub fn extract_global_float_array( name: impl Into<i32>, values: impl Into<List_1<f32>>, )
ExtractGlobalFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcepub fn extract_global_vector_array(
name: impl Into<i32>,
values: impl Into<List_1<Vector4>>,
)
pub fn extract_global_vector_array( name: impl Into<i32>, values: impl Into<List_1<Vector4>>, )
ExtractGlobalVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn extract_global_matrix_array(
name: impl Into<i32>,
values: impl Into<List_1<Matrix4x4>>,
)
pub fn extract_global_matrix_array( name: impl Into<i32>, values: impl Into<List_1<Matrix4x4>>, )
ExtractGlobalMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn set_global_float(name: impl Into<Il2CppString>, value: impl Into<f32>)
pub fn set_global_float(name: impl Into<Il2CppString>, value: impl Into<f32>)
SetGlobalFloat(::unity::Il2CppString, f32) overload
Sourcepub fn set_global_float_2(name_id: impl Into<i32>, value: impl Into<f32>)
pub fn set_global_float_2(name_id: impl Into<i32>, value: impl Into<f32>)
SetGlobalFloat(i32, f32) overload
Sourcepub fn set_global_int(name: impl Into<Il2CppString>, value: impl Into<i32>)
pub fn set_global_int(name: impl Into<Il2CppString>, value: impl Into<i32>)
SetGlobalInt(::unity::Il2CppString, i32) overload
Sourcepub fn set_global_int_2(name_id: impl Into<i32>, value: impl Into<i32>)
pub fn set_global_int_2(name_id: impl Into<i32>, value: impl Into<i32>)
SetGlobalInt(i32, i32) overload
Sourcepub fn set_global_vector(
name: impl Into<Il2CppString>,
value: impl Into<Vector4>,
)
pub fn set_global_vector( name: impl Into<Il2CppString>, value: impl Into<Vector4>, )
SetGlobalVector(::unity::Il2CppString, crate::unity_engine::vector4::Vector4) overload
Sourcepub fn set_global_vector_2(name_id: impl Into<i32>, value: impl Into<Vector4>)
pub fn set_global_vector_2(name_id: impl Into<i32>, value: impl Into<Vector4>)
SetGlobalVector(i32, crate::unity_engine::vector4::Vector4) overload
Sourcepub fn set_global_color(name: impl Into<Il2CppString>, value: impl Into<Color>)
pub fn set_global_color(name: impl Into<Il2CppString>, value: impl Into<Color>)
SetGlobalColor(::unity::Il2CppString, crate::unity_engine::color::Color) overload
Sourcepub fn set_global_color_2(name_id: impl Into<i32>, value: impl Into<Color>)
pub fn set_global_color_2(name_id: impl Into<i32>, value: impl Into<Color>)
SetGlobalColor(i32, crate::unity_engine::color::Color) overload
Sourcepub fn set_global_matrix(
name: impl Into<Il2CppString>,
value: impl Into<Matrix4x4>,
)
pub fn set_global_matrix( name: impl Into<Il2CppString>, value: impl Into<Matrix4x4>, )
SetGlobalMatrix(::unity::Il2CppString, crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn set_global_matrix_2(name_id: impl Into<i32>, value: impl Into<Matrix4x4>)
pub fn set_global_matrix_2(name_id: impl Into<i32>, value: impl Into<Matrix4x4>)
SetGlobalMatrix(i32, crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn set_global_texture(
name: impl Into<Il2CppString>,
value: impl Into<Texture>,
)
pub fn set_global_texture( name: impl Into<Il2CppString>, value: impl Into<Texture>, )
SetGlobalTexture(::unity::Il2CppString, crate::unity_engine::texture::Texture) overload
Sourcepub fn set_global_texture_2(name_id: impl Into<i32>, value: impl Into<Texture>)
pub fn set_global_texture_2(name_id: impl Into<i32>, value: impl Into<Texture>)
SetGlobalTexture(i32, crate::unity_engine::texture::Texture) overload
Sourcepub fn set_global_texture_3(
name: impl Into<Il2CppString>,
value: impl Into<RenderTexture>,
element: impl Into<RenderTextureSubElement>,
)
pub fn set_global_texture_3( name: impl Into<Il2CppString>, value: impl Into<RenderTexture>, element: impl Into<RenderTextureSubElement>, )
SetGlobalTexture(::unity::Il2CppString, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement) overload
Sourcepub fn set_global_texture_4(
name_id: impl Into<i32>,
value: impl Into<RenderTexture>,
element: impl Into<RenderTextureSubElement>,
)
pub fn set_global_texture_4( name_id: impl Into<i32>, value: impl Into<RenderTexture>, element: impl Into<RenderTextureSubElement>, )
SetGlobalTexture(i32, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement) overload
Sourcepub fn set_global_buffer(
name: impl Into<Il2CppString>,
value: impl Into<ComputeBuffer>,
)
pub fn set_global_buffer( name: impl Into<Il2CppString>, value: impl Into<ComputeBuffer>, )
SetGlobalBuffer(::unity::Il2CppString, crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcepub fn set_global_buffer_2(
name_id: impl Into<i32>,
value: impl Into<ComputeBuffer>,
)
pub fn set_global_buffer_2( name_id: impl Into<i32>, value: impl Into<ComputeBuffer>, )
SetGlobalBuffer(i32, crate::unity_engine::computebuffer::ComputeBuffer) overload
Sourcepub fn set_global_buffer_3(
name: impl Into<Il2CppString>,
value: impl Into<GraphicsBuffer>,
)
pub fn set_global_buffer_3( name: impl Into<Il2CppString>, value: impl Into<GraphicsBuffer>, )
SetGlobalBuffer(::unity::Il2CppString, crate::unity_engine::graphicsbuffer::GraphicsBuffer) overload
Sourcepub fn set_global_buffer_4(
name_id: impl Into<i32>,
value: impl Into<GraphicsBuffer>,
)
pub fn set_global_buffer_4( name_id: impl Into<i32>, value: impl Into<GraphicsBuffer>, )
SetGlobalBuffer(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer) overload
Sourcepub fn set_global_constant_buffer(
name: impl Into<Il2CppString>,
value: impl Into<ComputeBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_buffer( name: impl Into<Il2CppString>, value: impl Into<ComputeBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantBuffer(::unity::Il2CppString, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32) overload
Sourcepub fn set_global_constant_buffer_2(
name_id: impl Into<i32>,
value: impl Into<ComputeBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_buffer_2( name_id: impl Into<i32>, value: impl Into<ComputeBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantBuffer(i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32) overload
Sourcepub fn set_global_constant_buffer_3(
name: impl Into<Il2CppString>,
value: impl Into<GraphicsBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_buffer_3( name: impl Into<Il2CppString>, value: impl Into<GraphicsBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantBuffer(::unity::Il2CppString, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32) overload
Sourcepub fn set_global_constant_buffer_4(
name_id: impl Into<i32>,
value: impl Into<GraphicsBuffer>,
offset: impl Into<i32>,
size: impl Into<i32>,
)
pub fn set_global_constant_buffer_4( name_id: impl Into<i32>, value: impl Into<GraphicsBuffer>, offset: impl Into<i32>, size: impl Into<i32>, )
SetGlobalConstantBuffer(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32) overload
Sourcepub fn set_global_float_array_2(
name: impl Into<Il2CppString>,
values: impl Into<List_1<f32>>,
)
pub fn set_global_float_array_2( name: impl Into<Il2CppString>, values: impl Into<List_1<f32>>, )
SetGlobalFloatArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcepub fn set_global_float_array_3(
name_id: impl Into<i32>,
values: impl Into<List_1<f32>>,
)
pub fn set_global_float_array_3( name_id: impl Into<i32>, values: impl Into<List_1<f32>>, )
SetGlobalFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcepub fn set_global_float_array_4(
name: impl Into<Il2CppString>,
values: impl Into<Array<f32>>,
)
pub fn set_global_float_array_4( name: impl Into<Il2CppString>, values: impl Into<Array<f32>>, )
SetGlobalFloatArray(::unity::Il2CppString, ::unity::Array<f32>) overload
Sourcepub fn set_global_float_array_5(
name_id: impl Into<i32>,
values: impl Into<Array<f32>>,
)
pub fn set_global_float_array_5( name_id: impl Into<i32>, values: impl Into<Array<f32>>, )
SetGlobalFloatArray(i32, ::unity::Array<f32>) overload
Sourcepub fn set_global_vector_array_2(
name: impl Into<Il2CppString>,
values: impl Into<List_1<Vector4>>,
)
pub fn set_global_vector_array_2( name: impl Into<Il2CppString>, values: impl Into<List_1<Vector4>>, )
SetGlobalVectorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn set_global_vector_array_3(
name_id: impl Into<i32>,
values: impl Into<List_1<Vector4>>,
)
pub fn set_global_vector_array_3( name_id: impl Into<i32>, values: impl Into<List_1<Vector4>>, )
SetGlobalVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn set_global_vector_array_4(
name: impl Into<Il2CppString>,
values: impl Into<Array<Vector4>>,
)
pub fn set_global_vector_array_4( name: impl Into<Il2CppString>, values: impl Into<Array<Vector4>>, )
SetGlobalVectorArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn set_global_vector_array_5(
name_id: impl Into<i32>,
values: impl Into<Array<Vector4>>,
)
pub fn set_global_vector_array_5( name_id: impl Into<i32>, values: impl Into<Array<Vector4>>, )
SetGlobalVectorArray(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn set_global_matrix_array_2(
name: impl Into<Il2CppString>,
values: impl Into<List_1<Matrix4x4>>,
)
pub fn set_global_matrix_array_2( name: impl Into<Il2CppString>, values: impl Into<List_1<Matrix4x4>>, )
SetGlobalMatrixArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn set_global_matrix_array_3(
name_id: impl Into<i32>,
values: impl Into<List_1<Matrix4x4>>,
)
pub fn set_global_matrix_array_3( name_id: impl Into<i32>, values: impl Into<List_1<Matrix4x4>>, )
SetGlobalMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn set_global_matrix_array_4(
name: impl Into<Il2CppString>,
values: impl Into<Array<Matrix4x4>>,
)
pub fn set_global_matrix_array_4( name: impl Into<Il2CppString>, values: impl Into<Array<Matrix4x4>>, )
SetGlobalMatrixArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn set_global_matrix_array_5(
name_id: impl Into<i32>,
values: impl Into<Array<Matrix4x4>>,
)
pub fn set_global_matrix_array_5( name_id: impl Into<i32>, values: impl Into<Array<Matrix4x4>>, )
SetGlobalMatrixArray(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn get_global_float(name: impl Into<Il2CppString>) -> f32
pub fn get_global_float(name: impl Into<Il2CppString>) -> f32
GetGlobalFloat(::unity::Il2CppString) overload
Sourcepub fn get_global_float_2(name_id: impl Into<i32>) -> f32
pub fn get_global_float_2(name_id: impl Into<i32>) -> f32
GetGlobalFloat(i32) overload
Sourcepub fn get_global_int(name: impl Into<Il2CppString>) -> i32
pub fn get_global_int(name: impl Into<Il2CppString>) -> i32
GetGlobalInt(::unity::Il2CppString) overload
Sourcepub fn get_global_int_2(name_id: impl Into<i32>) -> i32
pub fn get_global_int_2(name_id: impl Into<i32>) -> i32
GetGlobalInt(i32) overload
Sourcepub fn get_global_vector(name: impl Into<Il2CppString>) -> Vector4
pub fn get_global_vector(name: impl Into<Il2CppString>) -> Vector4
GetGlobalVector(::unity::Il2CppString) overload
Sourcepub fn get_global_vector_2(name_id: impl Into<i32>) -> Vector4
pub fn get_global_vector_2(name_id: impl Into<i32>) -> Vector4
GetGlobalVector(i32) overload
Sourcepub fn get_global_color(name: impl Into<Il2CppString>) -> Color
pub fn get_global_color(name: impl Into<Il2CppString>) -> Color
GetGlobalColor(::unity::Il2CppString) overload
Sourcepub fn get_global_color_2(name_id: impl Into<i32>) -> Color
pub fn get_global_color_2(name_id: impl Into<i32>) -> Color
GetGlobalColor(i32) overload
Sourcepub fn get_global_matrix(name: impl Into<Il2CppString>) -> Matrix4x4
pub fn get_global_matrix(name: impl Into<Il2CppString>) -> Matrix4x4
GetGlobalMatrix(::unity::Il2CppString) overload
Sourcepub fn get_global_matrix_2(name_id: impl Into<i32>) -> Matrix4x4
pub fn get_global_matrix_2(name_id: impl Into<i32>) -> Matrix4x4
GetGlobalMatrix(i32) overload
Sourcepub fn get_global_texture(name: impl Into<Il2CppString>) -> Texture
pub fn get_global_texture(name: impl Into<Il2CppString>) -> Texture
GetGlobalTexture(::unity::Il2CppString) overload
Sourcepub fn get_global_texture_2(name_id: impl Into<i32>) -> Texture
pub fn get_global_texture_2(name_id: impl Into<i32>) -> Texture
GetGlobalTexture(i32) overload
Sourcepub fn get_global_float_array(name: impl Into<Il2CppString>) -> Array<f32>
pub fn get_global_float_array(name: impl Into<Il2CppString>) -> Array<f32>
GetGlobalFloatArray(::unity::Il2CppString) overload
Sourcepub fn get_global_float_array_2(name_id: impl Into<i32>) -> Array<f32>
pub fn get_global_float_array_2(name_id: impl Into<i32>) -> Array<f32>
GetGlobalFloatArray(i32) overload
Sourcepub fn get_global_vector_array(name: impl Into<Il2CppString>) -> Array<Vector4>
pub fn get_global_vector_array(name: impl Into<Il2CppString>) -> Array<Vector4>
GetGlobalVectorArray(::unity::Il2CppString) overload
Sourcepub fn get_global_vector_array_2(name_id: impl Into<i32>) -> Array<Vector4>
pub fn get_global_vector_array_2(name_id: impl Into<i32>) -> Array<Vector4>
GetGlobalVectorArray(i32) overload
Sourcepub fn get_global_matrix_array(
name: impl Into<Il2CppString>,
) -> Array<Matrix4x4>
pub fn get_global_matrix_array( name: impl Into<Il2CppString>, ) -> Array<Matrix4x4>
GetGlobalMatrixArray(::unity::Il2CppString) overload
Sourcepub fn get_global_matrix_array_2(name_id: impl Into<i32>) -> Array<Matrix4x4>
pub fn get_global_matrix_array_2(name_id: impl Into<i32>) -> Array<Matrix4x4>
GetGlobalMatrixArray(i32) overload
Sourcepub fn get_global_float_array_3(
name: impl Into<Il2CppString>,
values: impl Into<List_1<f32>>,
)
pub fn get_global_float_array_3( name: impl Into<Il2CppString>, values: impl Into<List_1<f32>>, )
GetGlobalFloatArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcepub fn get_global_float_array_4(
name_id: impl Into<i32>,
values: impl Into<List_1<f32>>,
)
pub fn get_global_float_array_4( name_id: impl Into<i32>, values: impl Into<List_1<f32>>, )
GetGlobalFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcepub fn get_global_vector_array_3(
name: impl Into<Il2CppString>,
values: impl Into<List_1<Vector4>>,
)
pub fn get_global_vector_array_3( name: impl Into<Il2CppString>, values: impl Into<List_1<Vector4>>, )
GetGlobalVectorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn get_global_vector_array_4(
name_id: impl Into<i32>,
values: impl Into<List_1<Vector4>>,
)
pub fn get_global_vector_array_4( name_id: impl Into<i32>, values: impl Into<List_1<Vector4>>, )
GetGlobalVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload
Sourcepub fn get_global_matrix_array_3(
name: impl Into<Il2CppString>,
values: impl Into<List_1<Matrix4x4>>,
)
pub fn get_global_matrix_array_3( name: impl Into<Il2CppString>, values: impl Into<List_1<Matrix4x4>>, )
GetGlobalMatrixArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn get_global_matrix_array_4(
name_id: impl Into<i32>,
values: impl Into<List_1<Matrix4x4>>,
)
pub fn get_global_matrix_array_4( name_id: impl Into<i32>, values: impl Into<List_1<Matrix4x4>>, )
GetGlobalMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload
Sourcepub fn get_property_name(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Il2CppString
pub fn get_property_name( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Il2CppString
GetPropertyName(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_name_id(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> i32
pub fn get_property_name_id( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> i32
GetPropertyNameId(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_type(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> ShaderPropertyType
pub fn get_property_type( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> ShaderPropertyType
GetPropertyType(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_description(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Il2CppString
pub fn get_property_description( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Il2CppString
GetPropertyDescription(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_flags(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> ShaderPropertyFlags
pub fn get_property_flags( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> ShaderPropertyFlags
GetPropertyFlags(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_attributes(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Array<Il2CppString>
pub fn get_property_attributes( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Array<Il2CppString>
GetPropertyAttributes(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_default_value(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Vector4
pub fn get_property_default_value( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Vector4
GetPropertyDefaultValue(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_texture_dimension(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> TextureDimension
pub fn get_property_texture_dimension( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> TextureDimension
GetPropertyTextureDimension(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn get_property_texture_default_name(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Il2CppString
pub fn get_property_texture_default_name( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Il2CppString
GetPropertyTextureDefaultName(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn find_texture_stack_impl(
s: impl Into<Shader>,
property_idx: impl Into<i32>,
) -> (bool, Il2CppString, i32)
pub fn find_texture_stack_impl( s: impl Into<Shader>, property_idx: impl Into<i32>, ) -> (bool, Il2CppString, i32)
FindTextureStackImpl(crate::unity_engine::shader::Shader, i32, *mut::unity::Il2CppString, *muti32) overload
Sourcepub fn check_property_index(
s: impl Into<Shader>,
property_index: impl Into<i32>,
)
pub fn check_property_index( s: impl Into<Shader>, property_index: impl Into<i32>, )
CheckPropertyIndex(crate::unity_engine::shader::Shader, i32) overload
Sourcepub fn set_global_vector_impl_injected(name: impl Into<i32>) -> Vector4
pub fn set_global_vector_impl_injected(name: impl Into<i32>) -> Vector4
SetGlobalVectorImpl_Injected(i32, *mutcrate::unity_engine::vector4::Vector4) overload
Sourcepub fn set_global_matrix_impl_injected(name: impl Into<i32>) -> Matrix4x4
pub fn set_global_matrix_impl_injected(name: impl Into<i32>) -> Matrix4x4
SetGlobalMatrixImpl_Injected(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn get_global_vector_impl_injected(name: impl Into<i32>) -> Vector4
pub fn get_global_vector_impl_injected(name: impl Into<i32>) -> Vector4
GetGlobalVectorImpl_Injected(i32, *mutcrate::unity_engine::vector4::Vector4) overload
Sourcepub fn get_global_matrix_impl_injected(name: impl Into<i32>) -> Matrix4x4
pub fn get_global_matrix_impl_injected(name: impl Into<i32>) -> Matrix4x4
GetGlobalMatrixImpl_Injected(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn get_property_default_value_injected(
shader: impl Into<Shader>,
property_index: impl Into<i32>,
) -> Vector4
pub fn get_property_default_value_injected( shader: impl Into<Shader>, property_index: impl Into<i32>, ) -> Vector4
GetPropertyDefaultValue_Injected(crate::unity_engine::shader::Shader, i32, *mutcrate::unity_engine::vector4::Vector4) overload
Source§impl Shader
impl Shader
pub fn get_global_shader_hardware_tier_method_info() -> &'static MethodInfo
pub fn set_global_shader_hardware_tier_method_info() -> &'static MethodInfo
pub fn find_method_info() -> &'static MethodInfo
pub fn find_builtin_method_info() -> &'static MethodInfo
pub fn get_maximum_lod_method_info() -> &'static MethodInfo
pub fn set_maximum_lod_method_info() -> &'static MethodInfo
pub fn get_global_maximum_lod_method_info() -> &'static MethodInfo
pub fn set_global_maximum_lod_method_info() -> &'static MethodInfo
pub fn get_is_supported_method_info() -> &'static MethodInfo
pub fn get_global_render_pipeline_method_info() -> &'static MethodInfo
pub fn set_global_render_pipeline_method_info() -> &'static MethodInfo
pub fn enable_keyword_method_info() -> &'static MethodInfo
pub fn disable_keyword_method_info() -> &'static MethodInfo
pub fn is_keyword_enabled_method_info() -> &'static MethodInfo
pub fn get_render_queue_method_info() -> &'static MethodInfo
pub fn get_disable_batching_method_info() -> &'static MethodInfo
pub fn warmup_all_shaders_method_info() -> &'static MethodInfo
pub fn tag_to_id_method_info() -> &'static MethodInfo
pub fn id_to_tag_method_info() -> &'static MethodInfo
pub fn property_to_id_method_info() -> &'static MethodInfo
pub fn get_dependency_method_info() -> &'static MethodInfo
pub fn get_pass_count_method_info() -> &'static MethodInfo
pub fn find_pass_tag_value_method_info() -> &'static MethodInfo
pub fn internal_find_pass_tag_value_method_info() -> &'static MethodInfo
pub fn set_global_float_impl_method_info() -> &'static MethodInfo
pub fn set_global_vector_impl_method_info() -> &'static MethodInfo
pub fn set_global_matrix_impl_method_info() -> &'static MethodInfo
pub fn set_global_texture_impl_method_info() -> &'static MethodInfo
pub fn set_global_render_texture_impl_method_info() -> &'static MethodInfo
pub fn set_global_buffer_impl_method_info() -> &'static MethodInfo
pub fn set_global_graphics_buffer_impl_method_info() -> &'static MethodInfo
pub fn set_global_constant_buffer_impl_method_info() -> &'static MethodInfo
pub fn set_global_constant_graphics_buffer_impl_method_info() -> &'static MethodInfo
pub fn get_global_float_impl_method_info() -> &'static MethodInfo
pub fn get_global_vector_impl_method_info() -> &'static MethodInfo
pub fn get_global_matrix_impl_method_info() -> &'static MethodInfo
pub fn get_global_texture_impl_method_info() -> &'static MethodInfo
pub fn set_global_float_array_impl_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_impl_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_impl_method_info() -> &'static MethodInfo
pub fn get_global_float_array_impl_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_impl_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_impl_method_info() -> &'static MethodInfo
pub fn get_global_float_array_count_impl_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_count_impl_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_count_impl_method_info() -> &'static MethodInfo
pub fn extract_global_float_array_impl_method_info() -> &'static MethodInfo
pub fn extract_global_vector_array_impl_method_info() -> &'static MethodInfo
pub fn extract_global_matrix_array_impl_method_info() -> &'static MethodInfo
pub fn set_global_float_array_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_method_info() -> &'static MethodInfo
pub fn extract_global_float_array_method_info() -> &'static MethodInfo
pub fn extract_global_vector_array_method_info() -> &'static MethodInfo
pub fn extract_global_matrix_array_method_info() -> &'static MethodInfo
pub fn set_global_float_method_info() -> &'static MethodInfo
pub fn set_global_float_2_method_info() -> &'static MethodInfo
pub fn set_global_int_method_info() -> &'static MethodInfo
pub fn set_global_int_2_method_info() -> &'static MethodInfo
pub fn set_global_vector_method_info() -> &'static MethodInfo
pub fn set_global_vector_2_method_info() -> &'static MethodInfo
pub fn set_global_color_method_info() -> &'static MethodInfo
pub fn set_global_color_2_method_info() -> &'static MethodInfo
pub fn set_global_matrix_method_info() -> &'static MethodInfo
pub fn set_global_matrix_2_method_info() -> &'static MethodInfo
pub fn set_global_texture_method_info() -> &'static MethodInfo
pub fn set_global_texture_2_method_info() -> &'static MethodInfo
pub fn set_global_texture_3_method_info() -> &'static MethodInfo
pub fn set_global_texture_4_method_info() -> &'static MethodInfo
pub fn set_global_buffer_method_info() -> &'static MethodInfo
pub fn set_global_buffer_2_method_info() -> &'static MethodInfo
pub fn set_global_buffer_3_method_info() -> &'static MethodInfo
pub fn set_global_buffer_4_method_info() -> &'static MethodInfo
pub fn set_global_constant_buffer_method_info() -> &'static MethodInfo
pub fn set_global_constant_buffer_2_method_info() -> &'static MethodInfo
pub fn set_global_constant_buffer_3_method_info() -> &'static MethodInfo
pub fn set_global_constant_buffer_4_method_info() -> &'static MethodInfo
pub fn set_global_float_array_2_method_info() -> &'static MethodInfo
pub fn set_global_float_array_3_method_info() -> &'static MethodInfo
pub fn set_global_float_array_4_method_info() -> &'static MethodInfo
pub fn set_global_float_array_5_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_2_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_3_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_4_method_info() -> &'static MethodInfo
pub fn set_global_vector_array_5_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_2_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_3_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_4_method_info() -> &'static MethodInfo
pub fn set_global_matrix_array_5_method_info() -> &'static MethodInfo
pub fn get_global_float_method_info() -> &'static MethodInfo
pub fn get_global_float_2_method_info() -> &'static MethodInfo
pub fn get_global_int_method_info() -> &'static MethodInfo
pub fn get_global_int_2_method_info() -> &'static MethodInfo
pub fn get_global_vector_method_info() -> &'static MethodInfo
pub fn get_global_vector_2_method_info() -> &'static MethodInfo
pub fn get_global_color_method_info() -> &'static MethodInfo
pub fn get_global_color_2_method_info() -> &'static MethodInfo
pub fn get_global_matrix_method_info() -> &'static MethodInfo
pub fn get_global_matrix_2_method_info() -> &'static MethodInfo
pub fn get_global_texture_method_info() -> &'static MethodInfo
pub fn get_global_texture_2_method_info() -> &'static MethodInfo
pub fn get_global_float_array_method_info() -> &'static MethodInfo
pub fn get_global_float_array_2_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_2_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_2_method_info() -> &'static MethodInfo
pub fn get_global_float_array_3_method_info() -> &'static MethodInfo
pub fn get_global_float_array_4_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_3_method_info() -> &'static MethodInfo
pub fn get_global_vector_array_4_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_3_method_info() -> &'static MethodInfo
pub fn get_global_matrix_array_4_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_property_name_method_info() -> &'static MethodInfo
pub fn get_property_name_id_method_info() -> &'static MethodInfo
pub fn get_property_type_method_info() -> &'static MethodInfo
pub fn get_property_description_method_info() -> &'static MethodInfo
pub fn get_property_flags_method_info() -> &'static MethodInfo
pub fn get_property_attributes_method_info() -> &'static MethodInfo
pub fn get_property_default_value_method_info() -> &'static MethodInfo
pub fn get_property_texture_dimension_method_info() -> &'static MethodInfo
pub fn get_property_texture_default_name_method_info() -> &'static MethodInfo
pub fn find_texture_stack_impl_method_info() -> &'static MethodInfo
pub fn check_property_index_method_info() -> &'static MethodInfo
pub fn get_property_count_method_info() -> &'static MethodInfo
pub fn find_property_index_method_info() -> &'static MethodInfo
pub fn get_property_name_2_method_info() -> &'static MethodInfo
pub fn get_property_name_id_2_method_info() -> &'static MethodInfo
pub fn get_property_type_2_method_info() -> &'static MethodInfo
pub fn get_property_description_2_method_info() -> &'static MethodInfo
pub fn get_property_flags_2_method_info() -> &'static MethodInfo
pub fn get_property_attributes_2_method_info() -> &'static MethodInfo
pub fn get_property_default_float_value_method_info() -> &'static MethodInfo
pub fn get_property_default_vector_value_method_info() -> &'static MethodInfo
pub fn get_property_range_limits_method_info() -> &'static MethodInfo
pub fn get_property_texture_dimension_2_method_info() -> &'static MethodInfo
pub fn get_property_texture_default_name_2_method_info() -> &'static MethodInfo
pub fn find_texture_stack_method_info() -> &'static MethodInfo
pub fn set_global_vector_impl_injected_method_info() -> &'static MethodInfo
pub fn set_global_matrix_impl_injected_method_info() -> &'static MethodInfo
pub fn get_global_vector_impl_injected_method_info() -> &'static MethodInfo
pub fn get_global_matrix_impl_injected_method_info() -> &'static MethodInfo
pub fn get_property_default_value_injected_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Shader
impl ClassIdentity for Shader
Source§impl FromIlInstance for Shader
impl FromIlInstance for Shader
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 Shader
impl IObject_2 for Shader
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
impl Copy for Shader
impl IObject for Shader
impl IShader for Shader
Auto Trait Implementations§
impl Freeze for Shader
impl RefUnwindSafe for Shader
impl !Send for Shader
impl !Sync for Shader
impl Unpin for Shader
impl UnwindSafe for Shader
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<__T> IShaderMethods for __Twhere
__T: IShader,
impl<__T> IShaderMethods for __Twhere
__T: IShader,
Source§fn get_maximum_lod(self) -> i32
fn get_maximum_lod(self) -> i32
get_maximumLOD() overloadSource§fn set_maximum_lod(self, value: impl Into<i32>)
fn set_maximum_lod(self, value: impl Into<i32>)
set_maximumLOD(i32) overloadSource§fn get_is_supported(self) -> bool
fn get_is_supported(self) -> bool
get_isSupported() overloadSource§fn get_render_queue(self) -> i32
fn get_render_queue(self) -> i32
get_renderQueue() overloadSource§fn get_disable_batching(self) -> DisableBatchingType
fn get_disable_batching(self) -> DisableBatchingType
get_disableBatching() overloadSource§fn get_dependency(self, name: impl Into<Il2CppString>) -> Shader
fn get_dependency(self, name: impl Into<Il2CppString>) -> Shader
GetDependency(::unity::Il2CppString) overloadSource§fn get_pass_count(self) -> i32
fn get_pass_count(self) -> i32
get_passCount() overloadSource§fn find_pass_tag_value(
self,
pass_index: impl Into<i32>,
tag_name: impl Into<ShaderTagId>,
) -> ShaderTagId
fn find_pass_tag_value( self, pass_index: impl Into<i32>, tag_name: impl Into<ShaderTagId>, ) -> ShaderTagId
FindPassTagValue(i32, crate::unity_engine::rendering::shadertagid::ShaderTagId) overloadSource§fn internal_find_pass_tag_value(
self,
pass_index: impl Into<i32>,
tag_name: impl Into<i32>,
) -> i32
fn internal_find_pass_tag_value( self, pass_index: impl Into<i32>, tag_name: impl Into<i32>, ) -> i32
Internal_FindPassTagValue(i32, i32) overloadSource§fn get_property_count(self) -> i32
fn get_property_count(self) -> i32
GetPropertyCount() overloadSource§fn find_property_index(self, property_name: impl Into<Il2CppString>) -> i32
fn find_property_index(self, property_name: impl Into<Il2CppString>) -> i32
FindPropertyIndex(::unity::Il2CppString) overloadSource§fn get_property_name_2(self, property_index: impl Into<i32>) -> Il2CppString
fn get_property_name_2(self, property_index: impl Into<i32>) -> Il2CppString
GetPropertyName(i32) overloadSource§fn get_property_name_id_2(self, property_index: impl Into<i32>) -> i32
fn get_property_name_id_2(self, property_index: impl Into<i32>) -> i32
GetPropertyNameId(i32) overloadSource§fn get_property_type_2(
self,
property_index: impl Into<i32>,
) -> ShaderPropertyType
fn get_property_type_2( self, property_index: impl Into<i32>, ) -> ShaderPropertyType
GetPropertyType(i32) overloadSource§fn get_property_description_2(
self,
property_index: impl Into<i32>,
) -> Il2CppString
fn get_property_description_2( self, property_index: impl Into<i32>, ) -> Il2CppString
GetPropertyDescription(i32) overloadSource§fn get_property_flags_2(
self,
property_index: impl Into<i32>,
) -> ShaderPropertyFlags
fn get_property_flags_2( self, property_index: impl Into<i32>, ) -> ShaderPropertyFlags
GetPropertyFlags(i32) overloadSource§fn get_property_attributes_2(
self,
property_index: impl Into<i32>,
) -> Array<Il2CppString>
fn get_property_attributes_2( self, property_index: impl Into<i32>, ) -> Array<Il2CppString>
GetPropertyAttributes(i32) overloadSource§fn get_property_default_float_value(self, property_index: impl Into<i32>) -> f32
fn get_property_default_float_value(self, property_index: impl Into<i32>) -> f32
GetPropertyDefaultFloatValue(i32) overloadSource§fn get_property_default_vector_value(
self,
property_index: impl Into<i32>,
) -> Vector4
fn get_property_default_vector_value( self, property_index: impl Into<i32>, ) -> Vector4
GetPropertyDefaultVectorValue(i32) overloadSource§fn get_property_range_limits(self, property_index: impl Into<i32>) -> Vector2
fn get_property_range_limits(self, property_index: impl Into<i32>) -> Vector2
GetPropertyRangeLimits(i32) overloadSource§fn get_property_texture_dimension_2(
self,
property_index: impl Into<i32>,
) -> TextureDimension
fn get_property_texture_dimension_2( self, property_index: impl Into<i32>, ) -> TextureDimension
GetPropertyTextureDimension(i32) overloadSource§fn get_property_texture_default_name_2(
self,
property_index: impl Into<i32>,
) -> Il2CppString
fn get_property_texture_default_name_2( self, property_index: impl Into<i32>, ) -> Il2CppString
GetPropertyTextureDefaultName(i32) overloadSource§fn find_texture_stack(
self,
property_index: impl Into<i32>,
) -> (bool, Il2CppString, i32)
fn find_texture_stack( self, property_index: impl Into<i32>, ) -> (bool, Il2CppString, i32)
FindTextureStack(i32, *mut::unity::Il2CppString, *muti32) overload