pub trait IProfilingSamplerMethods: IProfilingSampler {
Show 18 methods
// Provided methods
fn ctor(self, name: impl Into<Il2CppString>) { ... }
fn begin(self, cmd: impl Into<CommandBuffer>) { ... }
fn end(self, cmd: impl Into<CommandBuffer>) { ... }
fn is_valid(self) -> bool { ... }
fn get_sampler(self) -> CustomSampler { ... }
fn set_sampler(self, value: impl Into<CustomSampler>) { ... }
fn get_inline_sampler(self) -> CustomSampler { ... }
fn set_inline_sampler(self, value: impl Into<CustomSampler>) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn set_enable_recording(self, value: impl Into<bool>) { ... }
fn get_gpu_elapsed_time(self) -> f32 { ... }
fn get_gpu_sample_count(self) -> i32 { ... }
fn get_cpu_elapsed_time(self) -> f32 { ... }
fn get_cpu_sample_count(self) -> i32 { ... }
fn get_inline_cpu_elapsed_time(self) -> f32 { ... }
fn get_inline_cpu_sample_count(self) -> i32 { ... }
fn ctor_2(self) { ... }
}Provided Methods§
Sourcefn ctor(self, name: impl Into<Il2CppString>)
fn ctor(self, name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn begin(self, cmd: impl Into<CommandBuffer>)
fn begin(self, cmd: impl Into<CommandBuffer>)
Begin(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Sourcefn end(self, cmd: impl Into<CommandBuffer>)
fn end(self, cmd: impl Into<CommandBuffer>)
End(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload
Sourcefn get_sampler(self) -> CustomSampler
fn get_sampler(self) -> CustomSampler
get_sampler() overload
Sourcefn set_sampler(self, value: impl Into<CustomSampler>)
fn set_sampler(self, value: impl Into<CustomSampler>)
set_sampler(crate::unity_engine::profiling::customsampler::CustomSampler) overload
Sourcefn get_inline_sampler(self) -> CustomSampler
fn get_inline_sampler(self) -> CustomSampler
get_inlineSampler() overload
Sourcefn set_inline_sampler(self, value: impl Into<CustomSampler>)
fn set_inline_sampler(self, value: impl Into<CustomSampler>)
set_inlineSampler(crate::unity_engine::profiling::customsampler::CustomSampler) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overload
Sourcefn set_enable_recording(self, value: impl Into<bool>)
fn set_enable_recording(self, value: impl Into<bool>)
set_enableRecording(bool) overload
Sourcefn get_gpu_elapsed_time(self) -> f32
fn get_gpu_elapsed_time(self) -> f32
get_gpuElapsedTime() overload
Sourcefn get_gpu_sample_count(self) -> i32
fn get_gpu_sample_count(self) -> i32
get_gpuSampleCount() overload
Sourcefn get_cpu_elapsed_time(self) -> f32
fn get_cpu_elapsed_time(self) -> f32
get_cpuElapsedTime() overload
Sourcefn get_cpu_sample_count(self) -> i32
fn get_cpu_sample_count(self) -> i32
get_cpuSampleCount() overload
Sourcefn get_inline_cpu_elapsed_time(self) -> f32
fn get_inline_cpu_elapsed_time(self) -> f32
get_inlineCpuElapsedTime() overload
Sourcefn get_inline_cpu_sample_count(self) -> i32
fn get_inline_cpu_sample_count(self) -> i32
get_inlineCpuSampleCount() 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: IProfilingSampler> IProfilingSamplerMethods for __T
unity_engine-rendering-profilingsampler only.