1#[cfg(feature = "unity_engine-rendering-commandbuffer-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/commandbuffer/CommandBuffer.md"))]
11 #[::unity::class(namespace = "UnityEngine.Rendering", name = "CommandBuffer")]
12 #[parent(crate::system::object::Object)]
13 pub struct CommandBuffer {
14 #[offset(16)]
15 #[rename(name = "m_Ptr")]
16 pub m_ptr: ::unity::IntPtr,
17 }
18}
19
20#[cfg(feature = "unity_engine-rendering-commandbuffer-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-rendering-commandbuffer")]
24impl CommandBuffer {
25 #[doc = "`InitBuffer()` overload"]
26 pub fn init_buffer() -> ::unity::IntPtr {
27 unsafe {
28 ::unity::il2cpp_call!((::unity::module_base()+0x2c41dd0usize)as*mut u8, ::unity::IntPtr;
29 )
30 }
31 }
32}
33
34#[cfg(feature = "unity_engine-rendering-commandbuffer")]
35pub trait ICommandBufferMethods: ICommandBuffer {
36 #[doc = "`Internal_SetSinglePassStereo(crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode)` overload"]
37 fn internal_set_single_pass_stereo(
38 self,
39 mode: impl ::core::convert::Into<crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode>,
40 ) -> () {
41 unsafe {
42 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2c41d80usize)as*mut u8,();
44(CommandBuffer)__receiver,(crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode)::core::convert::Into::into(mode))
45 }
46 }
47 #[doc = "`CreateGPUFence_Internal(crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType, crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)` overload"]
48 fn create_gpu_fence_internal(
49 self,
50 fence_type: impl ::core::convert::Into<crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType>,
51 stage: impl ::core::convert::Into<crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags>,
52 ) -> ::unity::IntPtr {
53 unsafe {
54 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
55 ::unity::il2cpp_call!((::unity::module_base()+0x2c41e10usize)as*mut u8, ::unity::IntPtr;
56(CommandBuffer)__receiver,(crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType)::core::convert::Into::into(fence_type),(crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)::core::convert::Into::into(stage))
57 }
58 }
59 #[doc = "`WaitOnGPUFence_Internal(::unity::IntPtr, crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)` overload"]
60 fn wait_on_gpu_fence_internal(
61 self,
62 fence_ptr: impl ::core::convert::Into<::unity::IntPtr>,
63 stage: impl ::core::convert::Into<crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags>,
64 ) -> () {
65 unsafe {
66 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2c41e70usize)as*mut u8,();
68(CommandBuffer)__receiver,(::unity::IntPtr)::core::convert::Into::into(fence_ptr),(crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)::core::convert::Into::into(stage))
69 }
70 }
71 #[doc = "`ReleaseBuffer()` overload"]
72 fn release_buffer(self) -> () {
73 unsafe {
74 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2c41ed0usize)as*mut u8,();
76(CommandBuffer)__receiver)
77 }
78 }
79 #[doc = "`Internal_SetComputeTextureParam(crate::unity_engine::computeshader::ComputeShader, i32, i32, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, i32, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
80 fn internal_set_compute_texture_param(
81 self,
82 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
83 kernel_index: impl ::core::convert::Into<i32>,
84 name_id: impl ::core::convert::Into<i32>,
85 mip_level: impl ::core::convert::Into<i32>,
86 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
87 ) -> crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier {
88 unsafe {
89 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
91 ::unity::il2cpp_call!((::unity::module_base()+0x2c41f20usize)as*mut u8,();
92(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(kernel_index),(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element));
93 __out_0.assume_init()
94 }
95 }
96 #[doc = "`Internal_SetComputeConstantComputeBufferParam(crate::unity_engine::computeshader::ComputeShader, i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32)` overload"]
97 fn internal_set_compute_constant_compute_buffer_param(
98 self,
99 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
100 name_id: impl ::core::convert::Into<i32>,
101 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
102 offset: impl ::core::convert::Into<i32>,
103 size: impl ::core::convert::Into<i32>,
104 ) -> () {
105 unsafe {
106 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x2c41fb0usize)as*mut u8,();
108(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
109 }
110 }
111 #[doc = "`Internal_DispatchCompute(crate::unity_engine::computeshader::ComputeShader, i32, i32, i32, i32)` overload"]
112 fn internal_dispatch_compute(
113 self,
114 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
115 kernel_index: impl ::core::convert::Into<i32>,
116 thread_groups_x: impl ::core::convert::Into<i32>,
117 thread_groups_y: impl ::core::convert::Into<i32>,
118 thread_groups_z: impl ::core::convert::Into<i32>,
119 ) -> () {
120 unsafe {
121 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x2c42030usize)as*mut u8,();
123(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(kernel_index),(i32)::core::convert::Into::into(thread_groups_x),(i32)::core::convert::Into::into(thread_groups_y),(i32)::core::convert::Into::into(thread_groups_z))
124 }
125 }
126 #[doc = "`set_name(::unity::Il2CppString)` overload"]
127 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
128 unsafe {
129 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x2c420b0usize)as*mut u8,();
131(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
132 }
133 }
134 #[doc = "`Clear()` overload"]
135 fn clear(self) -> () {
136 unsafe {
137 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x2c42100usize)as*mut u8,();
139(CommandBuffer)__receiver)
140 }
141 }
142 #[doc = "`Internal_DrawMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
143 fn internal_draw_mesh(
144 self,
145 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
146 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
147 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
148 submesh_index: impl ::core::convert::Into<i32>,
149 shader_pass: impl ::core::convert::Into<i32>,
150 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
151 ) -> () {
152 unsafe {
153 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x2c42150usize)as*mut u8,();
155(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties))
156 }
157 }
158 #[doc = "`Internal_DrawRenderer(crate::unity_engine::renderer::Renderer, crate::unity_engine::material::Material, i32, i32)` overload"]
159 fn internal_draw_renderer(
160 self,
161 renderer: impl ::core::convert::Into<crate::unity_engine::renderer::Renderer>,
162 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
163 submesh_index: impl ::core::convert::Into<i32>,
164 shader_pass: impl ::core::convert::Into<i32>,
165 ) -> () {
166 unsafe {
167 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168 ::unity::il2cpp_call!((::unity::module_base()+0x2c42270usize)as*mut u8,();
169(CommandBuffer)__receiver,(crate::unity_engine::renderer::Renderer)::core::convert::Into::into(renderer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass))
170 }
171 }
172 #[doc = "`Internal_DrawProcedural(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, crate::unity_engine::meshtopology::MeshTopology, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
173 fn internal_draw_procedural(
174 self,
175 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
176 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
177 shader_pass: impl ::core::convert::Into<i32>,
178 topology: impl ::core::convert::Into<crate::unity_engine::meshtopology::MeshTopology>,
179 vertex_count: impl ::core::convert::Into<i32>,
180 instance_count: impl ::core::convert::Into<i32>,
181 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
182 ) -> () {
183 unsafe {
184 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x2c422e0usize)as*mut u8,();
186(CommandBuffer)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::meshtopology::MeshTopology)::core::convert::Into::into(topology),(i32)::core::convert::Into::into(vertex_count),(i32)::core::convert::Into::into(instance_count),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties))
187 }
188 }
189 #[doc = "`Internal_DrawOcclusionMesh(crate::unity_engine::rectint::RectInt)` overload"]
190 fn internal_draw_occlusion_mesh(self, normalized_cam_viewport: impl ::core::convert::Into<crate::unity_engine::rectint::RectInt>) -> () {
191 unsafe {
192 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x2c42420usize)as*mut u8,();
194(CommandBuffer)__receiver,(crate::unity_engine::rectint::RectInt)::core::convert::Into::into(normalized_cam_viewport))
195 }
196 }
197 #[doc = "`SetViewport(crate::unity_engine::rect::Rect)` overload"]
198 fn set_viewport(self, pixel_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> () {
199 unsafe {
200 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x2c424d0usize)as*mut u8,();
202(CommandBuffer)__receiver,(crate::unity_engine::rect::Rect)::core::convert::Into::into(pixel_rect))
203 }
204 }
205 #[doc = "`EnableScissorRect(crate::unity_engine::rect::Rect)` overload"]
206 fn enable_scissor_rect(self, scissor: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> () {
207 unsafe {
208 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209 ::unity::il2cpp_call!((::unity::module_base()+0x2c42580usize)as*mut u8,();
210(CommandBuffer)__receiver,(crate::unity_engine::rect::Rect)::core::convert::Into::into(scissor))
211 }
212 }
213 #[doc = "`DisableScissorRect()` overload"]
214 fn disable_scissor_rect(self) -> () {
215 unsafe {
216 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217 ::unity::il2cpp_call!((::unity::module_base()+0x2c42630usize)as*mut u8,();
218(CommandBuffer)__receiver)
219 }
220 }
221 #[doc = "`Blit_Identifier(*mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::material::Material, i32, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, i32, i32)` overload"]
222 fn blit_identifier(
223 self,
224 mat: impl ::core::convert::Into<crate::unity_engine::material::Material>,
225 pass: impl ::core::convert::Into<i32>,
226 scale: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
227 offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
228 source_depth_slice: impl ::core::convert::Into<i32>,
229 dest_depth_slice: impl ::core::convert::Into<i32>,
230 ) -> (
231 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
232 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
233 ) {
234 unsafe {
235 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
237 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
238 ::unity::il2cpp_call!((::unity::module_base()+0x2c42680usize)as*mut u8,();
239(CommandBuffer)__receiver,(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_1.as_mut_ptr(),(crate::unity_engine::material::Material)::core::convert::Into::into(mat),(i32)::core::convert::Into::into(pass),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(scale),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(source_depth_slice),(i32)::core::convert::Into::into(dest_depth_slice));
240 (__out_0.assume_init(), __out_1.assume_init())
241 }
242 }
243 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat, i32, bool, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, bool)` overload"]
244 fn get_temporary_rt(
245 self,
246 name_id: impl ::core::convert::Into<i32>,
247 width: impl ::core::convert::Into<i32>,
248 height: impl ::core::convert::Into<i32>,
249 depth_buffer: impl ::core::convert::Into<i32>,
250 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
251 format: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat>,
252 anti_aliasing: impl ::core::convert::Into<i32>,
253 enable_random_write: impl ::core::convert::Into<bool>,
254 memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
255 use_dynamic_scale: impl ::core::convert::Into<bool>,
256 ) -> () {
257 unsafe {
258 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x2c427d0usize)as*mut u8,();
260(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::experimental::rendering::graphicsformat::GraphicsFormat)::core::convert::Into::into(format),(i32)::core::convert::Into::into(anti_aliasing),(bool)::core::convert::Into::into(enable_random_write),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(bool)::core::convert::Into::into(use_dynamic_scale))
261 }
262 }
263 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, bool, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless, bool)` overload"]
264 fn get_temporary_rt_2(
265 self,
266 name_id: impl ::core::convert::Into<i32>,
267 width: impl ::core::convert::Into<i32>,
268 height: impl ::core::convert::Into<i32>,
269 depth_buffer: impl ::core::convert::Into<i32>,
270 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
271 format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
272 read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
273 anti_aliasing: impl ::core::convert::Into<i32>,
274 enable_random_write: impl ::core::convert::Into<bool>,
275 memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
276 use_dynamic_scale: impl ::core::convert::Into<bool>,
277 ) -> () {
278 unsafe {
279 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280 ::unity::il2cpp_call!((::unity::module_base()+0x2c428a0usize)as*mut u8,();
281(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(bool)::core::convert::Into::into(enable_random_write),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode),(bool)::core::convert::Into::into(use_dynamic_scale))
282 }
283 }
284 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, bool, crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)` overload"]
285 fn get_temporary_rt_3(
286 self,
287 name_id: impl ::core::convert::Into<i32>,
288 width: impl ::core::convert::Into<i32>,
289 height: impl ::core::convert::Into<i32>,
290 depth_buffer: impl ::core::convert::Into<i32>,
291 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
292 format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
293 read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
294 anti_aliasing: impl ::core::convert::Into<i32>,
295 enable_random_write: impl ::core::convert::Into<bool>,
296 memoryless_mode: impl ::core::convert::Into<crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless>,
297 ) -> () {
298 unsafe {
299 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300 ::unity::il2cpp_call!((::unity::module_base()+0x2c42a20usize)as*mut u8,();
301(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(bool)::core::convert::Into::into(enable_random_write),(crate::unity_engine::rendertexturememoryless::RenderTextureMemoryless)::core::convert::Into::into(memoryless_mode))
302 }
303 }
304 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32, bool)` overload"]
305 fn get_temporary_rt_4(
306 self,
307 name_id: impl ::core::convert::Into<i32>,
308 width: impl ::core::convert::Into<i32>,
309 height: impl ::core::convert::Into<i32>,
310 depth_buffer: impl ::core::convert::Into<i32>,
311 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
312 format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
313 read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
314 anti_aliasing: impl ::core::convert::Into<i32>,
315 enable_random_write: impl ::core::convert::Into<bool>,
316 ) -> () {
317 unsafe {
318 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319 ::unity::il2cpp_call!((::unity::module_base()+0x2c42b30usize)as*mut u8,();
320(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing),(bool)::core::convert::Into::into(enable_random_write))
321 }
322 }
323 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite, i32)` overload"]
324 fn get_temporary_rt_5(
325 self,
326 name_id: impl ::core::convert::Into<i32>,
327 width: impl ::core::convert::Into<i32>,
328 height: impl ::core::convert::Into<i32>,
329 depth_buffer: impl ::core::convert::Into<i32>,
330 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
331 format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
332 read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
333 anti_aliasing: impl ::core::convert::Into<i32>,
334 ) -> () {
335 unsafe {
336 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337 ::unity::il2cpp_call!((::unity::module_base()+0x2c42c40usize)as*mut u8,();
338(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write),(i32)::core::convert::Into::into(anti_aliasing))
339 }
340 }
341 #[doc = "`GetTemporaryRT(i32, i32, i32, i32, crate::unity_engine::filtermode::FilterMode, crate::unity_engine::rendertextureformat::RenderTextureFormat, crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)` overload"]
342 fn get_temporary_rt_6(
343 self,
344 name_id: impl ::core::convert::Into<i32>,
345 width: impl ::core::convert::Into<i32>,
346 height: impl ::core::convert::Into<i32>,
347 depth_buffer: impl ::core::convert::Into<i32>,
348 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
349 format: impl ::core::convert::Into<crate::unity_engine::rendertextureformat::RenderTextureFormat>,
350 read_write: impl ::core::convert::Into<crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite>,
351 ) -> () {
352 unsafe {
353 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354 ::unity::il2cpp_call!((::unity::module_base()+0x2c42d50usize)as*mut u8,();
355(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(width),(i32)::core::convert::Into::into(height),(i32)::core::convert::Into::into(depth_buffer),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter),(crate::unity_engine::rendertextureformat::RenderTextureFormat)::core::convert::Into::into(format),(crate::unity_engine::rendertexturereadwrite::RenderTextureReadWrite)::core::convert::Into::into(read_write))
356 }
357 }
358 #[doc = "`GetTemporaryRTWithDescriptor(i32, crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor, crate::unity_engine::filtermode::FilterMode)` overload"]
359 fn get_temporary_rt_with_descriptor(
360 self,
361 name_id: impl ::core::convert::Into<i32>,
362 desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
363 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
364 ) -> () {
365 unsafe {
366 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367 ::unity::il2cpp_call!((::unity::module_base()+0x2c42e50usize)as*mut u8,();
368(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter))
369 }
370 }
371 #[doc = "`GetTemporaryRT(i32, crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor, crate::unity_engine::filtermode::FilterMode)` overload"]
372 fn get_temporary_rt_7(
373 self,
374 name_id: impl ::core::convert::Into<i32>,
375 desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
376 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
377 ) -> () {
378 unsafe {
379 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x2c42f30usize)as*mut u8,();
381(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter))
382 }
383 }
384 #[doc = "`GetTemporaryRT(i32, crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)` overload"]
385 fn get_temporary_rt_8(
386 self,
387 name_id: impl ::core::convert::Into<i32>,
388 desc: impl ::core::convert::Into<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>,
389 ) -> () {
390 unsafe {
391 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 ::unity::il2cpp_call!((::unity::module_base()+0x2c42fc0usize)as*mut u8,();
393(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)::core::convert::Into::into(desc))
394 }
395 }
396 #[doc = "`ReleaseTemporaryRT(i32)` overload"]
397 fn release_temporary_rt(self, name_id: impl ::core::convert::Into<i32>) -> () {
398 unsafe {
399 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400 ::unity::il2cpp_call!((::unity::module_base()+0x2c43050usize)as*mut u8,();
401(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id))
402 }
403 }
404 #[doc = "`ClearRenderTarget(bool, bool, crate::unity_engine::color::Color, f32)` overload"]
405 fn clear_render_target(
406 self,
407 clear_depth: impl ::core::convert::Into<bool>,
408 clear_color: impl ::core::convert::Into<bool>,
409 background_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
410 depth: impl ::core::convert::Into<f32>,
411 ) -> () {
412 unsafe {
413 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x2c430a0usize)as*mut u8,();
415(CommandBuffer)__receiver,(bool)::core::convert::Into::into(clear_depth),(bool)::core::convert::Into::into(clear_color),(crate::unity_engine::color::Color)::core::convert::Into::into(background_color),(f32)::core::convert::Into::into(depth))
416 }
417 }
418 #[doc = "`ClearRenderTarget(bool, bool, crate::unity_engine::color::Color)` overload"]
419 fn clear_render_target_2(
420 self,
421 clear_depth: impl ::core::convert::Into<bool>,
422 clear_color: impl ::core::convert::Into<bool>,
423 background_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
424 ) -> () {
425 unsafe {
426 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
427 ::unity::il2cpp_call!((::unity::module_base()+0x2c431a0usize)as*mut u8,();
428(CommandBuffer)__receiver,(bool)::core::convert::Into::into(clear_depth),(bool)::core::convert::Into::into(clear_color),(crate::unity_engine::color::Color)::core::convert::Into::into(background_color))
429 }
430 }
431 #[doc = "`SetGlobalFloat(i32, f32)` overload"]
432 fn set_global_float(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<f32>) -> () {
433 unsafe {
434 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
435 ::unity::il2cpp_call!((::unity::module_base()+0x2c432d0usize)as*mut u8,();
436(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(f32)::core::convert::Into::into(value))
437 }
438 }
439 #[doc = "`SetGlobalInt(i32, i32)` overload"]
440 fn set_global_int(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<i32>) -> () {
441 unsafe {
442 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
443 ::unity::il2cpp_call!((::unity::module_base()+0x2c43330usize)as*mut u8,();
444(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(value))
445 }
446 }
447 #[doc = "`SetGlobalVector(i32, crate::unity_engine::vector4::Vector4)` overload"]
448 fn set_global_vector(
449 self,
450 name_id: impl ::core::convert::Into<i32>,
451 value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
452 ) -> () {
453 unsafe {
454 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455 ::unity::il2cpp_call!((::unity::module_base()+0x2c43390usize)as*mut u8,();
456(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
457 }
458 }
459 #[doc = "`SetGlobalColor(i32, crate::unity_engine::color::Color)` overload"]
460 fn set_global_color(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
461 unsafe {
462 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463 ::unity::il2cpp_call!((::unity::module_base()+0x2c43460usize)as*mut u8,();
464(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::color::Color)::core::convert::Into::into(value))
465 }
466 }
467 #[doc = "`SetGlobalMatrix(i32, crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
468 fn set_global_matrix(
469 self,
470 name_id: impl ::core::convert::Into<i32>,
471 value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
472 ) -> () {
473 unsafe {
474 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475 ::unity::il2cpp_call!((::unity::module_base()+0x2c43530usize)as*mut u8,();
476(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
477 }
478 }
479 #[doc = "`EnableShaderKeyword(::unity::Il2CppString)` overload"]
480 fn enable_shader_keyword(self, keyword: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
481 unsafe {
482 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
483 ::unity::il2cpp_call!((::unity::module_base()+0x2c435f0usize)as*mut u8,();
484(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(keyword))
485 }
486 }
487 #[doc = "`DisableShaderKeyword(::unity::Il2CppString)` overload"]
488 fn disable_shader_keyword(self, keyword: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
489 unsafe {
490 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
491 ::unity::il2cpp_call!((::unity::module_base()+0x2c43640usize)as*mut u8,();
492(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(keyword))
493 }
494 }
495 #[doc = "`SetViewProjectionMatrices(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
496 fn set_view_projection_matrices(
497 self,
498 view: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
499 proj: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
500 ) -> () {
501 unsafe {
502 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
503 ::unity::il2cpp_call!((::unity::module_base()+0x2c43690usize)as*mut u8,();
504(CommandBuffer)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(view),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(proj))
505 }
506 }
507 #[doc = "`SetExecutionFlags(crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags)` overload"]
508 fn set_execution_flags(
509 self,
510 flags: impl ::core::convert::Into<crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags>,
511 ) -> () {
512 unsafe {
513 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
514 ::unity::il2cpp_call!((::unity::module_base()+0x2c43750usize)as*mut u8,();
515(CommandBuffer)__receiver,(crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags)::core::convert::Into::into(flags))
516 }
517 }
518 #[doc = "`ValidateAgainstExecutionFlags(crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags, crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags)` overload"]
519 fn validate_against_execution_flags(
520 self,
521 required_flags: impl ::core::convert::Into<crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags>,
522 invalid_flags: impl ::core::convert::Into<crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags>,
523 ) -> bool {
524 unsafe {
525 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
526 ::unity::il2cpp_call!((::unity::module_base()+0x2c43270usize)as*mut u8,bool;
527(CommandBuffer)__receiver,(crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags)::core::convert::Into::into(required_flags),(crate::unity_engine::rendering::commandbufferexecutionflags::CommandBufferExecutionFlags)::core::convert::Into::into(invalid_flags))
528 }
529 }
530 #[doc = "`SetGlobalVectorArray(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>)` overload"]
531 fn set_global_vector_array(
532 self,
533 name_id: impl ::core::convert::Into<i32>,
534 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
535 ) -> () {
536 unsafe {
537 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
538 ::unity::il2cpp_call!((::unity::module_base()+0x2c437a0usize)as*mut u8,();
539(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
540 }
541 }
542 #[doc = "`SetGlobalMatrixArray(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
543 fn set_global_matrix_array(
544 self,
545 name_id: impl ::core::convert::Into<i32>,
546 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
547 ) -> () {
548 unsafe {
549 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 ::unity::il2cpp_call!((::unity::module_base()+0x2c43800usize)as*mut u8,();
551(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
552 }
553 }
554 #[doc = "`SetGlobalTexture_Impl(i32, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
555 fn set_global_texture_impl(
556 self,
557 name_id: impl ::core::convert::Into<i32>,
558 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
559 ) -> crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier {
560 unsafe {
561 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
562 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
563 ::unity::il2cpp_call!((::unity::module_base()+0x2c43860usize)as*mut u8,();
564(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element));
565 __out_0.assume_init()
566 }
567 }
568 #[doc = "`SetGlobalBufferInternal(i32, crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
569 fn set_global_buffer_internal(
570 self,
571 name_id: impl ::core::convert::Into<i32>,
572 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
573 ) -> () {
574 unsafe {
575 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 ::unity::il2cpp_call!((::unity::module_base()+0x2c438d0usize)as*mut u8,();
577(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value))
578 }
579 }
580 #[doc = "`BeginSample(::unity::Il2CppString)` overload"]
581 fn begin_sample(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
582 unsafe {
583 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
584 ::unity::il2cpp_call!((::unity::module_base()+0x2c43930usize)as*mut u8,();
585(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
586 }
587 }
588 #[doc = "`EndSample(::unity::Il2CppString)` overload"]
589 fn end_sample(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
590 unsafe {
591 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
592 ::unity::il2cpp_call!((::unity::module_base()+0x2c43980usize)as*mut u8,();
593(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
594 }
595 }
596 #[doc = "`BeginSample(crate::unity_engine::profiling::customsampler::CustomSampler)` overload"]
597 fn begin_sample_2(self, sampler: impl ::core::convert::Into<crate::unity_engine::profiling::customsampler::CustomSampler>) -> () {
598 unsafe {
599 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600 ::unity::il2cpp_call!((::unity::module_base()+0x2c439d0usize)as*mut u8,();
601(CommandBuffer)__receiver,(crate::unity_engine::profiling::customsampler::CustomSampler)::core::convert::Into::into(sampler))
602 }
603 }
604 #[doc = "`EndSample(crate::unity_engine::profiling::customsampler::CustomSampler)` overload"]
605 fn end_sample_2(self, sampler: impl ::core::convert::Into<crate::unity_engine::profiling::customsampler::CustomSampler>) -> () {
606 unsafe {
607 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 ::unity::il2cpp_call!((::unity::module_base()+0x2c43a70usize)as*mut u8,();
609(CommandBuffer)__receiver,(crate::unity_engine::profiling::customsampler::CustomSampler)::core::convert::Into::into(sampler))
610 }
611 }
612 #[doc = "`BeginSample_CustomSampler(crate::unity_engine::profiling::customsampler::CustomSampler)` overload"]
613 fn begin_sample_custom_sampler(self, sampler: impl ::core::convert::Into<crate::unity_engine::profiling::customsampler::CustomSampler>) -> () {
614 unsafe {
615 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
616 ::unity::il2cpp_call!((::unity::module_base()+0x2c43a20usize)as*mut u8,();
617(CommandBuffer)__receiver,(crate::unity_engine::profiling::customsampler::CustomSampler)::core::convert::Into::into(sampler))
618 }
619 }
620 #[doc = "`EndSample_CustomSampler(crate::unity_engine::profiling::customsampler::CustomSampler)` overload"]
621 fn end_sample_custom_sampler(self, sampler: impl ::core::convert::Into<crate::unity_engine::profiling::customsampler::CustomSampler>) -> () {
622 unsafe {
623 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
624 ::unity::il2cpp_call!((::unity::module_base()+0x2c43ac0usize)as*mut u8,();
625(CommandBuffer)__receiver,(crate::unity_engine::profiling::customsampler::CustomSampler)::core::convert::Into::into(sampler))
626 }
627 }
628 #[doc = "`SetGlobalConstantBufferInternal(crate::unity_engine::computebuffer::ComputeBuffer, i32, i32, i32)` overload"]
629 fn set_global_constant_buffer_internal(
630 self,
631 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
632 name_id: impl ::core::convert::Into<i32>,
633 offset: impl ::core::convert::Into<i32>,
634 size: impl ::core::convert::Into<i32>,
635 ) -> () {
636 unsafe {
637 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 ::unity::il2cpp_call!((::unity::module_base()+0x2c43b10usize)as*mut u8,();
639(CommandBuffer)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
640 }
641 }
642 #[doc = "`SetInstanceMultiplier(u32)` overload"]
643 fn set_instance_multiplier(self, multiplier: impl ::core::convert::Into<u32>) -> () {
644 unsafe {
645 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
646 ::unity::il2cpp_call!((::unity::module_base()+0x2c43b80usize)as*mut u8,();
647(CommandBuffer)__receiver,(u32)::core::convert::Into::into(multiplier))
648 }
649 }
650 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
651 fn set_render_target(self, rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>) -> () {
652 unsafe {
653 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
654 ::unity::il2cpp_call!((::unity::module_base()+0x2c43bd0usize)as*mut u8,();
655(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt))
656 }
657 }
658 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)` overload"]
659 fn set_render_target_2(
660 self,
661 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
662 load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
663 store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
664 ) -> () {
665 unsafe {
666 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
667 ::unity::il2cpp_call!((::unity::module_base()+0x2c43d10usize)as*mut u8,();
668(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(store_action))
669 }
670 }
671 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)` overload"]
672 fn set_render_target_3(
673 self,
674 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
675 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
676 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
677 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
678 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
679 ) -> () {
680 unsafe {
681 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
682 ::unity::il2cpp_call!((::unity::module_base()+0x2c43e30usize)as*mut u8,();
683(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action))
684 }
685 }
686 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
687 fn set_render_target_4(
688 self,
689 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
690 mip_level: impl ::core::convert::Into<i32>,
691 cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
692 depth_slice: impl ::core::convert::Into<i32>,
693 ) -> () {
694 unsafe {
695 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
696 ::unity::il2cpp_call!((::unity::module_base()+0x2c43f60usize)as*mut u8,();
697(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
698 }
699 }
700 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
701 fn set_render_target_5(
702 self,
703 color: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
704 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
705 ) -> () {
706 unsafe {
707 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
708 ::unity::il2cpp_call!((::unity::module_base()+0x2c44110usize)as*mut u8,();
709(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth))
710 }
711 }
712 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
713 fn set_render_target_6(
714 self,
715 color: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
716 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
717 mip_level: impl ::core::convert::Into<i32>,
718 cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
719 depth_slice: impl ::core::convert::Into<i32>,
720 ) -> () {
721 unsafe {
722 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
723 ::unity::il2cpp_call!((::unity::module_base()+0x2c44290usize)as*mut u8,();
724(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
725 }
726 }
727 #[doc = "`SetRenderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)` overload"]
728 fn set_render_target_7(
729 self,
730 color: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
731 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
732 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
733 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
734 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
735 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
736 ) -> () {
737 unsafe {
738 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739 ::unity::il2cpp_call!((::unity::module_base()+0x2c44470usize)as*mut u8,();
740(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action))
741 }
742 }
743 #[doc = "`SetRenderTarget(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
744 fn set_render_target_8(
745 self,
746 colors: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
747 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
748 mip_level: impl ::core::convert::Into<i32>,
749 cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
750 depth_slice: impl ::core::convert::Into<i32>,
751 ) -> () {
752 unsafe {
753 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
754 ::unity::il2cpp_call!((::unity::module_base()+0x2c445c0usize)as*mut u8,();
755(CommandBuffer)__receiver,(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(colors),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
756 }
757 }
758 #[doc = "`SetRenderTargetSingle_Internal(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)` overload"]
759 fn set_render_target_single_internal(
760 self,
761 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
762 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
763 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
764 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
765 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
766 ) -> () {
767 unsafe {
768 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
769 ::unity::il2cpp_call!((::unity::module_base()+0x2c43c90usize)as*mut u8,();
770(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action))
771 }
772 }
773 #[doc = "`SetRenderTargetColorDepth_Internal(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags)` overload"]
774 fn set_render_target_color_depth_internal(
775 self,
776 color: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
777 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
778 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
779 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
780 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
781 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
782 flags: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags>,
783 ) -> () {
784 unsafe {
785 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
786 ::unity::il2cpp_call!((::unity::module_base()+0x2c441f0usize)as*mut u8,();
787(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(color),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags)::core::convert::Into::into(flags))
788 }
789 }
790 #[doc = "`SetRenderTargetMultiSubtarget(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, ::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>, ::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
791 fn set_render_target_multi_subtarget(
792 self,
793 colors: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
794 depth: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
795 color_load_actions: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>>,
796 color_store_actions: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>>,
797 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
798 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
799 mip_level: impl ::core::convert::Into<i32>,
800 cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
801 depth_slice: impl ::core::convert::Into<i32>,
802 ) -> () {
803 unsafe {
804 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
805 ::unity::il2cpp_call!((::unity::module_base()+0x2c447a0usize)as*mut u8,();
806(CommandBuffer)__receiver,(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(colors),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(depth),(::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>)::core::convert::Into::into(color_load_actions),(::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>)::core::convert::Into::into(color_store_actions),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice))
807 }
808 }
809 #[doc = "`SetComputeBufferData(crate::unity_engine::computebuffer::ComputeBuffer, ::unity::IlInstance)` overload"]
810 fn set_compute_buffer_data(
811 self,
812 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
813 data: impl ::core::convert::Into<::unity::IlInstance>,
814 ) -> () {
815 unsafe {
816 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
817 ::unity::il2cpp_call!((::unity::module_base()+0x2c44a20usize)as*mut u8,();
818(CommandBuffer)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(::unity::IlInstance)::core::convert::Into::into(data))
819 }
820 }
821 #[doc = "`InternalSetComputeBufferData(crate::unity_engine::computebuffer::ComputeBuffer, ::unity::IlInstance, i32, i32, i32, i32)` overload"]
822 fn internal_set_compute_buffer_data(
823 self,
824 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
825 data: impl ::core::convert::Into<::unity::IlInstance>,
826 managed_buffer_start_index: impl ::core::convert::Into<i32>,
827 graphics_buffer_start_index: impl ::core::convert::Into<i32>,
828 count: impl ::core::convert::Into<i32>,
829 elem_size: impl ::core::convert::Into<i32>,
830 ) -> () {
831 unsafe {
832 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
833 ::unity::il2cpp_call!((::unity::module_base()+0x2c44b90usize)as*mut u8,();
834(CommandBuffer)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(::unity::IlInstance)::core::convert::Into::into(data),(i32)::core::convert::Into::into(managed_buffer_start_index),(i32)::core::convert::Into::into(graphics_buffer_start_index),(i32)::core::convert::Into::into(count),(i32)::core::convert::Into::into(elem_size))
835 }
836 }
837 #[doc = "`Finalize()` overload"]
838 fn finalize(self) -> () {
839 unsafe {
840 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
841 {
842 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
843 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
844 panic!(
845 "unity: virtual slot {}
846 out of range (vtable len {}
847) on the runtime class behind {}
848 (method `{}
849`)",
850 1usize,
851 __vt.len(),
852 <CommandBuffer as ::unity::ClassIdentity>::NAME,
853 "Finalize",
854 )
855 });
856 let __inner: extern "C" fn(CommandBuffer, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
857 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
858 __inner(__receiver, __mi)
859 }
860 }
861 }
862 #[doc = "`Dispose()` overload"]
863 fn dispose(self) -> () {
864 unsafe {
865 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
866 {
867 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
868 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
869 panic!(
870 "unity: virtual slot {}
871 out of range (vtable len {}
872) on the runtime class behind {}
873 (method `{}
874`)",
875 4usize,
876 __vt.len(),
877 <CommandBuffer as ::unity::ClassIdentity>::NAME,
878 "Dispose",
879 )
880 });
881 let __inner: extern "C" fn(CommandBuffer, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
882 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
883 __inner(__receiver, __mi)
884 }
885 }
886 }
887 #[doc = "`Dispose(bool)` overload"]
888 fn dispose_2(self, disposing: impl ::core::convert::Into<bool>) -> () {
889 unsafe {
890 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
891 ::unity::il2cpp_call!((::unity::module_base()+0x2c44cd0usize)as*mut u8,();
892(CommandBuffer)__receiver,(bool)::core::convert::Into::into(disposing))
893 }
894 }
895 #[doc = "`.ctor()` overload"]
896 fn ctor(self) -> () {
897 unsafe {
898 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
899 ::unity::il2cpp_call!((::unity::module_base()+0x2c44e00usize)as*mut u8,();
900(CommandBuffer)__receiver)
901 }
902 }
903 #[doc = "`CreateAsyncGraphicsFence()` overload"]
904 fn create_async_graphics_fence(self) -> crate::unity_engine::rendering::graphicsfence::GraphicsFence {
905 unsafe {
906 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
907 ::unity::il2cpp_call!((::unity::module_base()+0x2c44e50usize)as*mut u8,crate::unity_engine::rendering::graphicsfence::GraphicsFence;
908(CommandBuffer)__receiver)
909 }
910 }
911 #[doc = "`CreateGraphicsFence(crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType, crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)` overload"]
912 fn create_graphics_fence(
913 self,
914 fence_type: impl ::core::convert::Into<crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType>,
915 stage: impl ::core::convert::Into<crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags>,
916 ) -> crate::unity_engine::rendering::graphicsfence::GraphicsFence {
917 unsafe {
918 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
919 ::unity::il2cpp_call!((::unity::module_base()+0x2c44e60usize)as*mut u8,crate::unity_engine::rendering::graphicsfence::GraphicsFence;
920(CommandBuffer)__receiver,(crate::unity_engine::rendering::graphicsfencetype::GraphicsFenceType)::core::convert::Into::into(fence_type),(crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)::core::convert::Into::into(stage))
921 }
922 }
923 #[doc = "`WaitOnAsyncGraphicsFence(crate::unity_engine::rendering::graphicsfence::GraphicsFence)` overload"]
924 fn wait_on_async_graphics_fence(self, fence: impl ::core::convert::Into<crate::unity_engine::rendering::graphicsfence::GraphicsFence>) -> () {
925 unsafe {
926 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
927 ::unity::il2cpp_call!((::unity::module_base()+0x2c450c0usize)as*mut u8,();
928(CommandBuffer)__receiver,(crate::unity_engine::rendering::graphicsfence::GraphicsFence)::core::convert::Into::into(fence))
929 }
930 }
931 #[doc = "`WaitOnAsyncGraphicsFence(crate::unity_engine::rendering::graphicsfence::GraphicsFence, crate::unity_engine::rendering::synchronisationstage::SynchronisationStage)` overload"]
932 fn wait_on_async_graphics_fence_2(
933 self,
934 fence: impl ::core::convert::Into<crate::unity_engine::rendering::graphicsfence::GraphicsFence>,
935 stage: impl ::core::convert::Into<crate::unity_engine::rendering::synchronisationstage::SynchronisationStage>,
936 ) -> () {
937 unsafe {
938 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
939 ::unity::il2cpp_call!((::unity::module_base()+0x2c450d0usize)as*mut u8,();
940(CommandBuffer)__receiver,(crate::unity_engine::rendering::graphicsfence::GraphicsFence)::core::convert::Into::into(fence),(crate::unity_engine::rendering::synchronisationstage::SynchronisationStage)::core::convert::Into::into(stage))
941 }
942 }
943 #[doc = "`WaitOnAsyncGraphicsFence(crate::unity_engine::rendering::graphicsfence::GraphicsFence, crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)` overload"]
944 fn wait_on_async_graphics_fence_3(
945 self,
946 fence: impl ::core::convert::Into<crate::unity_engine::rendering::graphicsfence::GraphicsFence>,
947 stage: impl ::core::convert::Into<crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags>,
948 ) -> () {
949 unsafe {
950 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
951 ::unity::il2cpp_call!((::unity::module_base()+0x2c450f0usize)as*mut u8,();
952(CommandBuffer)__receiver,(crate::unity_engine::rendering::graphicsfence::GraphicsFence)::core::convert::Into::into(fence),(crate::unity_engine::rendering::synchronisationstageflags::SynchronisationStageFlags)::core::convert::Into::into(stage))
953 }
954 }
955 #[doc = "`SetComputeTextureParam(crate::unity_engine::computeshader::ComputeShader, i32, ::unity::Il2CppString, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
956 fn set_compute_texture_param(
957 self,
958 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
959 kernel_index: impl ::core::convert::Into<i32>,
960 name: impl ::core::convert::Into<::unity::Il2CppString>,
961 rt: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
962 ) -> () {
963 unsafe {
964 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
965 ::unity::il2cpp_call!((::unity::module_base()+0x2c45330usize)as*mut u8,();
966(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(kernel_index),(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(rt))
967 }
968 }
969 #[doc = "`SetComputeConstantBufferParam(crate::unity_engine::computeshader::ComputeShader, i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32)` overload"]
970 fn set_compute_constant_buffer_param(
971 self,
972 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
973 name_id: impl ::core::convert::Into<i32>,
974 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
975 offset: impl ::core::convert::Into<i32>,
976 size: impl ::core::convert::Into<i32>,
977 ) -> () {
978 unsafe {
979 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
980 ::unity::il2cpp_call!((::unity::module_base()+0x2c453c0usize)as*mut u8,();
981(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
982 }
983 }
984 #[doc = "`DispatchCompute(crate::unity_engine::computeshader::ComputeShader, i32, i32, i32, i32)` overload"]
985 fn dispatch_compute(
986 self,
987 compute_shader: impl ::core::convert::Into<crate::unity_engine::computeshader::ComputeShader>,
988 kernel_index: impl ::core::convert::Into<i32>,
989 thread_groups_x: impl ::core::convert::Into<i32>,
990 thread_groups_y: impl ::core::convert::Into<i32>,
991 thread_groups_z: impl ::core::convert::Into<i32>,
992 ) -> () {
993 unsafe {
994 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
995 ::unity::il2cpp_call!((::unity::module_base()+0x2c45440usize)as*mut u8,();
996(CommandBuffer)__receiver,(crate::unity_engine::computeshader::ComputeShader)::core::convert::Into::into(compute_shader),(i32)::core::convert::Into::into(kernel_index),(i32)::core::convert::Into::into(thread_groups_x),(i32)::core::convert::Into::into(thread_groups_y),(i32)::core::convert::Into::into(thread_groups_z))
997 }
998 }
999 #[doc = "`DrawMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
1000 fn draw_mesh(
1001 self,
1002 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
1003 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1004 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1005 submesh_index: impl ::core::convert::Into<i32>,
1006 shader_pass: impl ::core::convert::Into<i32>,
1007 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
1008 ) -> () {
1009 unsafe {
1010 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1011 ::unity::il2cpp_call!((::unity::module_base()+0x2c454c0usize)as*mut u8,();
1012(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties))
1013 }
1014 }
1015 #[doc = "`DrawMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, i32)` overload"]
1016 fn draw_mesh_2(
1017 self,
1018 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
1019 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1020 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1021 submesh_index: impl ::core::convert::Into<i32>,
1022 shader_pass: impl ::core::convert::Into<i32>,
1023 ) -> () {
1024 unsafe {
1025 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1026 ::unity::il2cpp_call!((::unity::module_base()+0x2c45760usize)as*mut u8,();
1027(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass))
1028 }
1029 }
1030 #[doc = "`DrawMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32)` overload"]
1031 fn draw_mesh_3(
1032 self,
1033 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
1034 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1035 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1036 submesh_index: impl ::core::convert::Into<i32>,
1037 ) -> () {
1038 unsafe {
1039 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1040 ::unity::il2cpp_call!((::unity::module_base()+0x2c457b0usize)as*mut u8,();
1041(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index))
1042 }
1043 }
1044 #[doc = "`DrawMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material)` overload"]
1045 fn draw_mesh_4(
1046 self,
1047 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
1048 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1049 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1050 ) -> () {
1051 unsafe {
1052 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1053 ::unity::il2cpp_call!((::unity::module_base()+0x2c45800usize)as*mut u8,();
1054(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material))
1055 }
1056 }
1057 #[doc = "`DrawRenderer(crate::unity_engine::renderer::Renderer, crate::unity_engine::material::Material, i32, i32)` overload"]
1058 fn draw_renderer(
1059 self,
1060 renderer: impl ::core::convert::Into<crate::unity_engine::renderer::Renderer>,
1061 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1062 submesh_index: impl ::core::convert::Into<i32>,
1063 shader_pass: impl ::core::convert::Into<i32>,
1064 ) -> () {
1065 unsafe {
1066 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1067 ::unity::il2cpp_call!((::unity::module_base()+0x2c45850usize)as*mut u8,();
1068(CommandBuffer)__receiver,(crate::unity_engine::renderer::Renderer)::core::convert::Into::into(renderer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass))
1069 }
1070 }
1071 #[doc = "`DrawRenderer(crate::unity_engine::renderer::Renderer, crate::unity_engine::material::Material, i32)` overload"]
1072 fn draw_renderer_2(
1073 self,
1074 renderer: impl ::core::convert::Into<crate::unity_engine::renderer::Renderer>,
1075 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1076 submesh_index: impl ::core::convert::Into<i32>,
1077 ) -> () {
1078 unsafe {
1079 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1080 ::unity::il2cpp_call!((::unity::module_base()+0x2c45a90usize)as*mut u8,();
1081(CommandBuffer)__receiver,(crate::unity_engine::renderer::Renderer)::core::convert::Into::into(renderer),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index))
1082 }
1083 }
1084 #[doc = "`DrawRenderer(crate::unity_engine::renderer::Renderer, crate::unity_engine::material::Material)` overload"]
1085 fn draw_renderer_3(
1086 self,
1087 renderer: impl ::core::convert::Into<crate::unity_engine::renderer::Renderer>,
1088 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1089 ) -> () {
1090 unsafe {
1091 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1092 ::unity::il2cpp_call!((::unity::module_base()+0x2c45aa0usize)as*mut u8,();
1093(CommandBuffer)__receiver,(crate::unity_engine::renderer::Renderer)::core::convert::Into::into(renderer),(crate::unity_engine::material::Material)::core::convert::Into::into(material))
1094 }
1095 }
1096 #[doc = "`DrawProcedural(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, crate::unity_engine::meshtopology::MeshTopology, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
1097 fn draw_procedural(
1098 self,
1099 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1100 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1101 shader_pass: impl ::core::convert::Into<i32>,
1102 topology: impl ::core::convert::Into<crate::unity_engine::meshtopology::MeshTopology>,
1103 vertex_count: impl ::core::convert::Into<i32>,
1104 instance_count: impl ::core::convert::Into<i32>,
1105 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
1106 ) -> () {
1107 unsafe {
1108 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1109 ::unity::il2cpp_call!((::unity::module_base()+0x2c45ab0usize)as*mut u8,();
1110(CommandBuffer)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::meshtopology::MeshTopology)::core::convert::Into::into(topology),(i32)::core::convert::Into::into(vertex_count),(i32)::core::convert::Into::into(instance_count),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties))
1111 }
1112 }
1113 #[doc = "`DrawProcedural(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, crate::unity_engine::meshtopology::MeshTopology, i32, i32)` overload"]
1114 fn draw_procedural_2(
1115 self,
1116 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1117 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1118 shader_pass: impl ::core::convert::Into<i32>,
1119 topology: impl ::core::convert::Into<crate::unity_engine::meshtopology::MeshTopology>,
1120 vertex_count: impl ::core::convert::Into<i32>,
1121 instance_count: impl ::core::convert::Into<i32>,
1122 ) -> () {
1123 unsafe {
1124 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1125 ::unity::il2cpp_call!((::unity::module_base()+0x2c45c40usize)as*mut u8,();
1126(CommandBuffer)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::meshtopology::MeshTopology)::core::convert::Into::into(topology),(i32)::core::convert::Into::into(vertex_count),(i32)::core::convert::Into::into(instance_count))
1127 }
1128 }
1129 #[doc = "`DrawProcedural(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, crate::unity_engine::meshtopology::MeshTopology, i32)` overload"]
1130 fn draw_procedural_3(
1131 self,
1132 matrix: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1133 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1134 shader_pass: impl ::core::convert::Into<i32>,
1135 topology: impl ::core::convert::Into<crate::unity_engine::meshtopology::MeshTopology>,
1136 vertex_count: impl ::core::convert::Into<i32>,
1137 ) -> () {
1138 unsafe {
1139 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1140 ::unity::il2cpp_call!((::unity::module_base()+0x2c45c90usize)as*mut u8,();
1141(CommandBuffer)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(matrix),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::meshtopology::MeshTopology)::core::convert::Into::into(topology),(i32)::core::convert::Into::into(vertex_count))
1142 }
1143 }
1144 #[doc = "`DrawOcclusionMesh(crate::unity_engine::rectint::RectInt)` overload"]
1145 fn draw_occlusion_mesh(self, normalized_cam_viewport: impl ::core::convert::Into<crate::unity_engine::rectint::RectInt>) -> () {
1146 unsafe {
1147 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1148 ::unity::il2cpp_call!((::unity::module_base()+0x2c45ce0usize)as*mut u8,();
1149(CommandBuffer)__receiver,(crate::unity_engine::rectint::RectInt)::core::convert::Into::into(normalized_cam_viewport))
1150 }
1151 }
1152 #[doc = "`Blit(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
1153 fn blit(
1154 self,
1155 source: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1156 dest: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1157 ) -> () {
1158 unsafe {
1159 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1160 ::unity::il2cpp_call!((::unity::module_base()+0x2c45d40usize)as*mut u8,();
1161(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(source),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(dest))
1162 }
1163 }
1164 #[doc = "`Blit(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::material::Material, i32)` overload"]
1165 fn blit_2(
1166 self,
1167 source: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1168 dest: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1169 mat: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1170 pass: impl ::core::convert::Into<i32>,
1171 ) -> () {
1172 unsafe {
1173 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1174 ::unity::il2cpp_call!((::unity::module_base()+0x2c45e10usize)as*mut u8,();
1175(CommandBuffer)__receiver,(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(source),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(dest),(crate::unity_engine::material::Material)::core::convert::Into::into(mat),(i32)::core::convert::Into::into(pass))
1176 }
1177 }
1178 #[doc = "`SetGlobalVector(::unity::Il2CppString, crate::unity_engine::vector4::Vector4)` overload"]
1179 fn set_global_vector_2(
1180 self,
1181 name: impl ::core::convert::Into<::unity::Il2CppString>,
1182 value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
1183 ) -> () {
1184 unsafe {
1185 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1186 ::unity::il2cpp_call!((::unity::module_base()+0x2c45ef0usize)as*mut u8,();
1187(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
1188 }
1189 }
1190 #[doc = "`SetGlobalVectorArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::vector4::Vector4>)` overload"]
1191 fn set_global_vector_array_2(
1192 self,
1193 property_name: impl ::core::convert::Into<::unity::Il2CppString>,
1194 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
1195 ) -> () {
1196 unsafe {
1197 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1198 ::unity::il2cpp_call!((::unity::module_base()+0x2c45f90usize)as*mut u8,();
1199(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(property_name),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1200 }
1201 }
1202 #[doc = "`SetGlobalTexture(::unity::Il2CppString, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
1203 fn set_global_texture(
1204 self,
1205 name: impl ::core::convert::Into<::unity::Il2CppString>,
1206 value: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1207 ) -> () {
1208 unsafe {
1209 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1210 ::unity::il2cpp_call!((::unity::module_base()+0x2c46000usize)as*mut u8,();
1211(CommandBuffer)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(value))
1212 }
1213 }
1214 #[doc = "`SetGlobalTexture(i32, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)` overload"]
1215 fn set_global_texture_2(
1216 self,
1217 name_id: impl ::core::convert::Into<i32>,
1218 value: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1219 ) -> () {
1220 unsafe {
1221 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1222 ::unity::il2cpp_call!((::unity::module_base()+0x2c46100usize)as*mut u8,();
1223(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(value))
1224 }
1225 }
1226 #[doc = "`SetGlobalTexture(i32, crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
1227 fn set_global_texture_3(
1228 self,
1229 name_id: impl ::core::convert::Into<i32>,
1230 value: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>,
1231 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
1232 ) -> () {
1233 unsafe {
1234 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1235 ::unity::il2cpp_call!((::unity::module_base()+0x2c46090usize)as*mut u8,();
1236(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)::core::convert::Into::into(value),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element))
1237 }
1238 }
1239 #[doc = "`SetGlobalBuffer(i32, crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
1240 fn set_global_buffer(
1241 self,
1242 name_id: impl ::core::convert::Into<i32>,
1243 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1244 ) -> () {
1245 unsafe {
1246 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1247 ::unity::il2cpp_call!((::unity::module_base()+0x2c46160usize)as*mut u8,();
1248(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value))
1249 }
1250 }
1251 #[doc = "`SetGlobalConstantBuffer(crate::unity_engine::computebuffer::ComputeBuffer, i32, i32, i32)` overload"]
1252 fn set_global_constant_buffer(
1253 self,
1254 buffer: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1255 name_id: impl ::core::convert::Into<i32>,
1256 offset: impl ::core::convert::Into<i32>,
1257 size: impl ::core::convert::Into<i32>,
1258 ) -> () {
1259 unsafe {
1260 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1261 ::unity::il2cpp_call!((::unity::module_base()+0x2c461c0usize)as*mut u8,();
1262(CommandBuffer)__receiver,(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(buffer),(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
1263 }
1264 }
1265 #[doc = "`SetSinglePassStereo(crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode)` overload"]
1266 fn set_single_pass_stereo(
1267 self,
1268 mode: impl ::core::convert::Into<crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode>,
1269 ) -> () {
1270 unsafe {
1271 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1272 ::unity::il2cpp_call!((::unity::module_base()+0x2c46230usize)as*mut u8,();
1273(CommandBuffer)__receiver,(crate::unity_engine::rendering::singlepassstereomode::SinglePassStereoMode)::core::convert::Into::into(mode))
1274 }
1275 }
1276 #[doc = "`Internal_DrawMesh_Injected(crate::unity_engine::mesh::Mesh, *mutcrate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
1277 fn internal_draw_mesh_injected(
1278 self,
1279 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
1280 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1281 submesh_index: impl ::core::convert::Into<i32>,
1282 shader_pass: impl ::core::convert::Into<i32>,
1283 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
1284 ) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1285 unsafe {
1286 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1287 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1288 ::unity::il2cpp_call!((::unity::module_base()+0x2c421e0usize)as*mut u8,();
1289(CommandBuffer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr(),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(submesh_index),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties));
1290 __out_0.assume_init()
1291 }
1292 }
1293 #[doc = "`Internal_DrawProcedural_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::material::Material, i32, crate::unity_engine::meshtopology::MeshTopology, i32, i32, crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)` overload"]
1294 fn internal_draw_procedural_injected(
1295 self,
1296 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1297 shader_pass: impl ::core::convert::Into<i32>,
1298 topology: impl ::core::convert::Into<crate::unity_engine::meshtopology::MeshTopology>,
1299 vertex_count: impl ::core::convert::Into<i32>,
1300 instance_count: impl ::core::convert::Into<i32>,
1301 properties: impl ::core::convert::Into<crate::unity_engine::materialpropertyblock::MaterialPropertyBlock>,
1302 ) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1303 unsafe {
1304 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1305 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1306 ::unity::il2cpp_call!((::unity::module_base()+0x2c42380usize)as*mut u8,();
1307(CommandBuffer)__receiver,(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr(),(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(shader_pass),(crate::unity_engine::meshtopology::MeshTopology)::core::convert::Into::into(topology),(i32)::core::convert::Into::into(vertex_count),(i32)::core::convert::Into::into(instance_count),(crate::unity_engine::materialpropertyblock::MaterialPropertyBlock)::core::convert::Into::into(properties));
1308 __out_0.assume_init()
1309 }
1310 }
1311 #[doc = "`Internal_DrawOcclusionMesh_Injected(*mutcrate::unity_engine::rectint::RectInt)` overload"]
1312 fn internal_draw_occlusion_mesh_injected(self) -> crate::unity_engine::rectint::RectInt {
1313 unsafe {
1314 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1315 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rectint::RectInt>::uninit();
1316 ::unity::il2cpp_call!((::unity::module_base()+0x2c42480usize)as*mut u8,();
1317(CommandBuffer)__receiver,(*mut crate::unity_engine::rectint::RectInt)__out_0.as_mut_ptr());
1318 __out_0.assume_init()
1319 }
1320 }
1321 #[doc = "`SetViewport_Injected(*mutcrate::unity_engine::rect::Rect)` overload"]
1322 fn set_viewport_injected(self) -> crate::unity_engine::rect::Rect {
1323 unsafe {
1324 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1325 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
1326 ::unity::il2cpp_call!((::unity::module_base()+0x2c42530usize)as*mut u8,();
1327(CommandBuffer)__receiver,(*mut crate::unity_engine::rect::Rect)__out_0.as_mut_ptr());
1328 __out_0.assume_init()
1329 }
1330 }
1331 #[doc = "`EnableScissorRect_Injected(*mutcrate::unity_engine::rect::Rect)` overload"]
1332 fn enable_scissor_rect_injected(self) -> crate::unity_engine::rect::Rect {
1333 unsafe {
1334 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1335 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
1336 ::unity::il2cpp_call!((::unity::module_base()+0x2c425e0usize)as*mut u8,();
1337(CommandBuffer)__receiver,(*mut crate::unity_engine::rect::Rect)__out_0.as_mut_ptr());
1338 __out_0.assume_init()
1339 }
1340 }
1341 #[doc = "`Blit_Identifier_Injected(*mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::material::Material, i32, *mutcrate::unity_engine::vector2::Vector2, *mutcrate::unity_engine::vector2::Vector2, i32, i32)` overload"]
1342 fn blit_identifier_injected(
1343 self,
1344 mat: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1345 pass: impl ::core::convert::Into<i32>,
1346 source_depth_slice: impl ::core::convert::Into<i32>,
1347 dest_depth_slice: impl ::core::convert::Into<i32>,
1348 ) -> (
1349 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
1350 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
1351 crate::unity_engine::vector2::Vector2,
1352 crate::unity_engine::vector2::Vector2,
1353 ) {
1354 unsafe {
1355 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1356 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1357 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1358 let mut __out_2 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
1359 let mut __out_3 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
1360 ::unity::il2cpp_call!((::unity::module_base()+0x2c42730usize)as*mut u8,();
1361(CommandBuffer)__receiver,(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_1.as_mut_ptr(),(crate::unity_engine::material::Material)::core::convert::Into::into(mat),(i32)::core::convert::Into::into(pass),(*mut crate::unity_engine::vector2::Vector2)__out_2.as_mut_ptr(),(*mut crate::unity_engine::vector2::Vector2)__out_3.as_mut_ptr(),(i32)::core::convert::Into::into(source_depth_slice),(i32)::core::convert::Into::into(dest_depth_slice));
1362 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init(), __out_3.assume_init())
1363 }
1364 }
1365 #[doc = "`GetTemporaryRTWithDescriptor_Injected(i32, *mutcrate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor, crate::unity_engine::filtermode::FilterMode)` overload"]
1366 fn get_temporary_rt_with_descriptor_injected(
1367 self,
1368 name_id: impl ::core::convert::Into<i32>,
1369 filter: impl ::core::convert::Into<crate::unity_engine::filtermode::FilterMode>,
1370 ) -> crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor {
1371 unsafe {
1372 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1373 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor>::uninit();
1374 ::unity::il2cpp_call!((::unity::module_base()+0x2c42ec0usize)as*mut u8,();
1375(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor)__out_0.as_mut_ptr(),(crate::unity_engine::filtermode::FilterMode)::core::convert::Into::into(filter));
1376 __out_0.assume_init()
1377 }
1378 }
1379 #[doc = "`ClearRenderTarget_Injected(bool, bool, *mutcrate::unity_engine::color::Color, f32)` overload"]
1380 fn clear_render_target_injected(
1381 self,
1382 clear_depth: impl ::core::convert::Into<bool>,
1383 clear_color: impl ::core::convert::Into<bool>,
1384 depth: impl ::core::convert::Into<f32>,
1385 ) -> crate::unity_engine::color::Color {
1386 unsafe {
1387 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1388 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1389 ::unity::il2cpp_call!((::unity::module_base()+0x2c43120usize)as*mut u8,();
1390(CommandBuffer)__receiver,(bool)::core::convert::Into::into(clear_depth),(bool)::core::convert::Into::into(clear_color),(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr(),(f32)::core::convert::Into::into(depth));
1391 __out_0.assume_init()
1392 }
1393 }
1394 #[doc = "`SetGlobalVector_Injected(i32, *mutcrate::unity_engine::vector4::Vector4)` overload"]
1395 fn set_global_vector_injected(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector4::Vector4 {
1396 unsafe {
1397 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1398 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector4::Vector4>::uninit();
1399 ::unity::il2cpp_call!((::unity::module_base()+0x2c43400usize)as*mut u8,();
1400(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::vector4::Vector4)__out_0.as_mut_ptr());
1401 __out_0.assume_init()
1402 }
1403 }
1404 #[doc = "`SetGlobalColor_Injected(i32, *mutcrate::unity_engine::color::Color)` overload"]
1405 fn set_global_color_injected(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::color::Color {
1406 unsafe {
1407 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1408 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1409 ::unity::il2cpp_call!((::unity::module_base()+0x2c434d0usize)as*mut u8,();
1410(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1411 __out_0.assume_init()
1412 }
1413 }
1414 #[doc = "`SetGlobalMatrix_Injected(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1415 fn set_global_matrix_injected(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1416 unsafe {
1417 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1418 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1419 ::unity::il2cpp_call!((::unity::module_base()+0x2c43590usize)as*mut u8,();
1420(CommandBuffer)__receiver,(i32)::core::convert::Into::into(name_id),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr());
1421 __out_0.assume_init()
1422 }
1423 }
1424 #[doc = "`SetViewProjectionMatrices_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4, *mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1425 fn set_view_projection_matrices_injected(self) -> (crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4) {
1426 unsafe {
1427 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1428 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1429 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1430 ::unity::il2cpp_call!((::unity::module_base()+0x2c436f0usize)as*mut u8,();
1431(CommandBuffer)__receiver,(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr(),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_1.as_mut_ptr());
1432 (__out_0.assume_init(), __out_1.assume_init())
1433 }
1434 }
1435 #[doc = "`SetRenderTargetSingle_Internal_Injected(*mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)` overload"]
1436 fn set_render_target_single_internal_injected(
1437 self,
1438 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
1439 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
1440 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
1441 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
1442 ) -> crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier {
1443 unsafe {
1444 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1445 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1446 ::unity::il2cpp_call!((::unity::module_base()+0x2c44850usize)as*mut u8,();
1447(CommandBuffer)__receiver,(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action));
1448 __out_0.assume_init()
1449 }
1450 }
1451 #[doc = "`SetRenderTargetColorDepth_Internal_Injected(*mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags)` overload"]
1452 fn set_render_target_color_depth_internal_injected(
1453 self,
1454 color_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
1455 color_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
1456 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
1457 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
1458 flags: impl ::core::convert::Into<crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags>,
1459 ) -> (
1460 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
1461 crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier,
1462 ) {
1463 unsafe {
1464 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1465 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1466 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1467 ::unity::il2cpp_call!((::unity::module_base()+0x2c448d0usize)as*mut u8,();
1468(CommandBuffer)__receiver,(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_1.as_mut_ptr(),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(color_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(color_store_action),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(crate::unity_engine::rendering::rendertargetflags::RenderTargetFlags)::core::convert::Into::into(flags));
1469 (__out_0.assume_init(), __out_1.assume_init())
1470 }
1471 }
1472 #[doc = "`SetRenderTargetMultiSubtarget_Injected(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>, *mutcrate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier, ::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>, ::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>, crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction, crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction, i32, crate::unity_engine::cubemapface::CubemapFace, i32)` overload"]
1473 fn set_render_target_multi_subtarget_injected(
1474 self,
1475 colors: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>>,
1476 color_load_actions: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>>,
1477 color_store_actions: impl ::core::convert::Into<::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>>,
1478 depth_load_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>,
1479 depth_store_action: impl ::core::convert::Into<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>,
1480 mip_level: impl ::core::convert::Into<i32>,
1481 cubemap_face: impl ::core::convert::Into<crate::unity_engine::cubemapface::CubemapFace>,
1482 depth_slice: impl ::core::convert::Into<i32>,
1483 ) -> crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier {
1484 unsafe {
1485 let __receiver = <CommandBuffer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1486 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>::uninit();
1487 ::unity::il2cpp_call!((::unity::module_base()+0x2c44970usize)as*mut u8,();
1488(CommandBuffer)__receiver,(::unity::Array<crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier>)::core::convert::Into::into(colors),(*mut crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier)__out_0.as_mut_ptr(),(::unity::Array<crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction>)::core::convert::Into::into(color_load_actions),(::unity::Array<crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction>)::core::convert::Into::into(color_store_actions),(crate::unity_engine::rendering::renderbufferloadaction::RenderBufferLoadAction)::core::convert::Into::into(depth_load_action),(crate::unity_engine::rendering::renderbufferstoreaction::RenderBufferStoreAction)::core::convert::Into::into(depth_store_action),(i32)::core::convert::Into::into(mip_level),(crate::unity_engine::cubemapface::CubemapFace)::core::convert::Into::into(cubemap_face),(i32)::core::convert::Into::into(depth_slice));
1489 __out_0.assume_init()
1490 }
1491 }
1492}
1493
1494#[cfg(feature = "unity_engine-rendering-commandbuffer")]
1495impl<__T: ICommandBuffer> ICommandBufferMethods for __T {}
1496
1497#[cfg(feature = "unity_engine-rendering-commandbuffer")]
1498impl CommandBuffer {
1499 pub fn internal_set_single_pass_stereo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1501 }
1502
1503 pub fn init_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1505 }
1506
1507 pub fn create_gpu_fence_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1509 }
1510
1511 pub fn wait_on_gpu_fence_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1513 }
1514
1515 pub fn release_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1517 }
1518
1519 pub fn internal_set_compute_texture_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1521 }
1522
1523 pub fn internal_set_compute_constant_compute_buffer_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1525 }
1526
1527 pub fn internal_dispatch_compute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1529 }
1530
1531 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1533 }
1534
1535 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1537 }
1538
1539 pub fn internal_draw_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1541 }
1542
1543 pub fn internal_draw_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1545 }
1546
1547 pub fn internal_draw_procedural_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1549 }
1550
1551 pub fn internal_draw_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1553 }
1554
1555 pub fn set_viewport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1557 }
1558
1559 pub fn enable_scissor_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1560 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1561 }
1562
1563 pub fn disable_scissor_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1564 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1565 }
1566
1567 pub fn blit_identifier_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1568 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1569 }
1570
1571 pub fn get_temporary_rt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1572 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1573 }
1574
1575 pub fn get_temporary_rt_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1576 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1577 }
1578
1579 pub fn get_temporary_rt_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1580 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1581 }
1582
1583 pub fn get_temporary_rt_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1584 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1585 }
1586
1587 pub fn get_temporary_rt_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1588 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1589 }
1590
1591 pub fn get_temporary_rt_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1593 }
1594
1595 pub fn get_temporary_rt_with_descriptor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1597 }
1598
1599 pub fn get_temporary_rt_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1601 }
1602
1603 pub fn get_temporary_rt_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1604 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1605 }
1606
1607 pub fn release_temporary_rt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1609 }
1610
1611 pub fn clear_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1613 }
1614
1615 pub fn clear_render_target_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1616 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1617 }
1618
1619 pub fn set_global_float_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1621 }
1622
1623 pub fn set_global_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1625 }
1626
1627 pub fn set_global_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1629 }
1630
1631 pub fn set_global_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1632 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1633 }
1634
1635 pub fn set_global_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1636 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1637 }
1638
1639 pub fn enable_shader_keyword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1640 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1641 }
1642
1643 pub fn disable_shader_keyword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1644 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1645 }
1646
1647 pub fn set_view_projection_matrices_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1648 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1649 }
1650
1651 pub fn set_execution_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1652 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1653 }
1654
1655 pub fn validate_against_execution_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1656 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1657 }
1658
1659 pub fn set_global_vector_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1660 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1661 }
1662
1663 pub fn set_global_matrix_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1664 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1665 }
1666
1667 pub fn set_global_texture_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1668 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1669 }
1670
1671 pub fn set_global_buffer_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1672 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1673 }
1674
1675 pub fn begin_sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1677 }
1678
1679 pub fn end_sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1681 }
1682
1683 pub fn begin_sample_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1684 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1685 }
1686
1687 pub fn end_sample_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1688 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1689 }
1690
1691 pub fn begin_sample_custom_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1692 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1693 }
1694
1695 pub fn end_sample_custom_sampler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1696 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1697 }
1698
1699 pub fn set_global_constant_buffer_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1700 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1701 }
1702
1703 pub fn set_instance_multiplier_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1704 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1705 }
1706
1707 pub fn set_render_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1708 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1709 }
1710
1711 pub fn set_render_target_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1712 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1713 }
1714
1715 pub fn set_render_target_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1716 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1717 }
1718
1719 pub fn set_render_target_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1720 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1721 }
1722
1723 pub fn set_render_target_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1724 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1725 }
1726
1727 pub fn set_render_target_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1728 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1729 }
1730
1731 pub fn set_render_target_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1732 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1733 }
1734
1735 pub fn set_render_target_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1736 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1737 }
1738
1739 pub fn set_render_target_single_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1740 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1741 }
1742
1743 pub fn set_render_target_color_depth_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1744 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1745 }
1746
1747 pub fn set_render_target_multi_subtarget_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1748 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1749 }
1750
1751 pub fn set_compute_buffer_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1753 }
1754
1755 pub fn internal_set_compute_buffer_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1757 }
1758
1759 pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1761 }
1762
1763 pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1765 }
1766
1767 pub fn dispose_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1769 }
1770
1771 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1773 }
1774
1775 pub fn create_async_graphics_fence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1777 }
1778
1779 pub fn create_graphics_fence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1781 }
1782
1783 pub fn wait_on_async_graphics_fence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1785 }
1786
1787 pub fn wait_on_async_graphics_fence_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1789 }
1790
1791 pub fn wait_on_async_graphics_fence_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1793 }
1794
1795 pub fn set_compute_texture_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1796 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1797 }
1798
1799 pub fn set_compute_constant_buffer_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1800 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1801 }
1802
1803 pub fn dispatch_compute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1804 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1805 }
1806
1807 pub fn draw_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1808 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1809 }
1810
1811 pub fn draw_mesh_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1812 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1813 }
1814
1815 pub fn draw_mesh_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1816 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1817 }
1818
1819 pub fn draw_mesh_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1820 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1821 }
1822
1823 pub fn draw_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1824 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1825 }
1826
1827 pub fn draw_renderer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1828 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1829 }
1830
1831 pub fn draw_renderer_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1832 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1833 }
1834
1835 pub fn draw_procedural_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1836 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1837 }
1838
1839 pub fn draw_procedural_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1840 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1841 }
1842
1843 pub fn draw_procedural_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1844 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1845 }
1846
1847 pub fn draw_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1848 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1849 }
1850
1851 pub fn blit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1852 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1853 }
1854
1855 pub fn blit_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1856 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1857 }
1858
1859 pub fn set_global_vector_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1860 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1861 }
1862
1863 pub fn set_global_vector_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1864 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1865 }
1866
1867 pub fn set_global_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1868 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1869 }
1870
1871 pub fn set_global_texture_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1872 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1873 }
1874
1875 pub fn set_global_texture_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1876 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1877 }
1878
1879 pub fn set_global_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1880 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1881 }
1882
1883 pub fn set_global_constant_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1884 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
1885 }
1886
1887 pub fn set_single_pass_stereo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1888 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
1889 }
1890
1891 pub fn internal_draw_mesh_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1892 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
1893 }
1894
1895 pub fn internal_draw_procedural_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1896 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
1897 }
1898
1899 pub fn internal_draw_occlusion_mesh_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1900 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
1901 }
1902
1903 pub fn set_viewport_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1904 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
1905 }
1906
1907 pub fn enable_scissor_rect_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1908 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
1909 }
1910
1911 pub fn blit_identifier_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1912 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[103]
1913 }
1914
1915 pub fn get_temporary_rt_with_descriptor_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1916 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[104]
1917 }
1918
1919 pub fn clear_render_target_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1920 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[105]
1921 }
1922
1923 pub fn set_global_vector_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1924 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[106]
1925 }
1926
1927 pub fn set_global_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1928 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[107]
1929 }
1930
1931 pub fn set_global_matrix_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1932 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[108]
1933 }
1934
1935 pub fn set_view_projection_matrices_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1936 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[109]
1937 }
1938
1939 pub fn set_render_target_single_internal_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1940 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[110]
1941 }
1942
1943 pub fn set_render_target_color_depth_internal_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1944 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[111]
1945 }
1946
1947 pub fn set_render_target_multi_subtarget_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1948 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[112]
1949 }
1950}
1951
1952#[cfg(feature = "unity_engine-rendering-commandbuffer")]
1953impl CommandBuffer {
1954 #[doc = "Direct (non-virtual) call to `CommandBuffer`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1955 pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1956 let __mi = Self::finalize_method_info();
1957 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1958 __inner(this.into(), ::core::option::Option::None)
1959 }
1960
1961 #[doc = "Direct (non-virtual) call to `CommandBuffer`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1962 pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1963 let __mi = Self::dispose_method_info();
1964 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1965 __inner(this.into(), ::core::option::Option::None)
1966 }
1967}
1968
1969#[cfg(feature = "unity_engine-rendering-commandbuffer")]
1970impl CommandBuffer {
1971 #[doc = "`.ctor()` — no args"]
1972 pub fn new() -> Self {
1973 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1974 panic!(
1975 "{}
1976::{}
1977 failed to instantiate",
1978 ::core::stringify!(CommandBuffer),
1979 ::core::stringify!(new),
1980 )
1981 });
1982 <Self as ICommandBufferMethods>::ctor(this);
1983 this
1984 }
1985}
1986
1987#[cfg(feature = "unity_engine-rendering-commandbuffer")]
1988#[doc(hidden)]
1989pub mod prelude {
1990 pub use super::{CommandBuffer, ICommandBuffer, ICommandBufferMethods};
1991 pub use crate::system::object::IObject;
1992 #[cfg(feature = "system-object")]
1993 pub use crate::system::object::IObjectMethods;
1994}