pub trait IComputeBufferMethods: IComputeBuffer {
Show 14 methods
// Provided methods
fn finalize(self) { ... }
fn dispose(self) { ... }
fn dispose_2(self, disposing: impl Into<bool>) { ... }
fn ctor(self, count: impl Into<i32>, stride: impl Into<i32>) { ... }
fn ctor_2(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
) { ... }
fn ctor_3(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
usage: impl Into<ComputeBufferMode>,
) { ... }
fn ctor_4(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
usage: impl Into<ComputeBufferMode>,
stack_depth: impl Into<i32>,
) { ... }
fn release(self) { ... }
fn get_count(self) -> i32 { ... }
fn get_stride(self) -> i32 { ... }
fn set_data<M0: IlType + Copy + ClassIdentity>(
self,
data: impl Into<List_1<M0>>,
managed_buffer_start_index: impl Into<i32>,
compute_buffer_start_index: impl Into<i32>,
count: impl Into<i32>,
) { ... }
fn internal_set_native_data(
self,
data: impl Into<IntPtr>,
native_buffer_start_index: impl Into<i32>,
compute_buffer_start_index: impl Into<i32>,
count: impl Into<i32>,
elem_size: impl Into<i32>,
) { ... }
fn internal_set_data(
self,
data: impl Into<IlInstance>,
managed_buffer_start_index: impl Into<i32>,
compute_buffer_start_index: impl Into<i32>,
count: impl Into<i32>,
elem_size: impl Into<i32>,
) { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
}Provided Methods§
Sourcefn ctor_2(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
)
fn ctor_2( self, count: impl Into<i32>, stride: impl Into<i32>, type: impl Into<ComputeBufferType>, )
.ctor(i32, i32, crate::unity_engine::computebuffertype::ComputeBufferType) overload
Sourcefn ctor_3(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
usage: impl Into<ComputeBufferMode>,
)
fn ctor_3( self, count: impl Into<i32>, stride: impl Into<i32>, type: impl Into<ComputeBufferType>, usage: impl Into<ComputeBufferMode>, )
.ctor(i32, i32, crate::unity_engine::computebuffertype::ComputeBufferType, crate::unity_engine::computebuffermode::ComputeBufferMode) overload
Sourcefn ctor_4(
self,
count: impl Into<i32>,
stride: impl Into<i32>,
type: impl Into<ComputeBufferType>,
usage: impl Into<ComputeBufferMode>,
stack_depth: impl Into<i32>,
)
fn ctor_4( self, count: impl Into<i32>, stride: impl Into<i32>, type: impl Into<ComputeBufferType>, usage: impl Into<ComputeBufferMode>, stack_depth: impl Into<i32>, )
.ctor(i32, i32, crate::unity_engine::computebuffertype::ComputeBufferType, crate::unity_engine::computebuffermode::ComputeBufferMode, i32) overload
Sourcefn get_stride(self) -> i32
fn get_stride(self) -> i32
get_stride() overload
fn set_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<List_1<M0>>, managed_buffer_start_index: impl Into<i32>, compute_buffer_start_index: impl Into<i32>, count: impl Into<i32>, )
Sourcefn internal_set_native_data(
self,
data: impl Into<IntPtr>,
native_buffer_start_index: impl Into<i32>,
compute_buffer_start_index: impl Into<i32>,
count: impl Into<i32>,
elem_size: impl Into<i32>,
)
fn internal_set_native_data( self, data: impl Into<IntPtr>, native_buffer_start_index: impl Into<i32>, compute_buffer_start_index: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, )
InternalSetNativeData(::unity::IntPtr, i32, i32, i32, i32) overload
Sourcefn internal_set_data(
self,
data: impl Into<IlInstance>,
managed_buffer_start_index: impl Into<i32>,
compute_buffer_start_index: impl Into<i32>,
count: impl Into<i32>,
elem_size: impl Into<i32>,
)
fn internal_set_data( self, data: impl Into<IlInstance>, managed_buffer_start_index: impl Into<i32>, compute_buffer_start_index: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, )
InternalSetData(::unity::IlInstance, i32, i32, i32, i32) overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IComputeBuffer> IComputeBufferMethods for __T
Available on crate feature
unity_engine-computebuffer only.