Skip to main content

IBufferedRTHandleSystemMethods

Trait IBufferedRTHandleSystemMethods 

Source
pub trait IBufferedRTHandleSystemMethods: IBufferedRTHandleSystem {
Show 13 methods // Provided methods fn get_max_width(self) -> i32 { ... } fn get_max_height(self) -> i32 { ... } fn get_rt_handle_properties(self) -> RTHandleProperties { ... } fn get_frame_rt( self, buffer_id: impl Into<i32>, frame_index: impl Into<i32>, ) -> RTHandle { ... } fn alloc_buffer( self, buffer_id: impl Into<i32>, allocator: impl Into<Func_3<RTHandleSystem, i32, RTHandle>>, buffer_count: impl Into<i32>, ) { ... } fn release_buffer(self, buffer_id: impl Into<i32>) { ... } fn swap_and_set_reference_size( self, width: impl Into<i32>, height: impl Into<i32>, msaa_samples: impl Into<MSAASamples>, ) { ... } fn reset_reference_size(self, width: impl Into<i32>, height: impl Into<i32>) { ... } fn swap(self) { ... } fn dispose(self, disposing: impl Into<bool>) { ... } fn dispose_2(self) { ... } fn release_all(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_max_width(self) -> i32

get_maxWidth() overload

Source

fn get_max_height(self) -> i32

get_maxHeight() overload

Source

fn get_rt_handle_properties(self) -> RTHandleProperties

get_rtHandleProperties() overload

Source

fn get_frame_rt( self, buffer_id: impl Into<i32>, frame_index: impl Into<i32>, ) -> RTHandle

GetFrameRT(i32, i32) overload

Source

fn alloc_buffer( self, buffer_id: impl Into<i32>, allocator: impl Into<Func_3<RTHandleSystem, i32, RTHandle>>, buffer_count: impl Into<i32>, )

AllocBuffer(i32, crate::system::func_3::Func_3<crate::unity_engine::rendering::rthandlesystem::RTHandleSystem,i32,crate::unity_engine::rendering::rthandle::RTHandle>, i32) overload

Source

fn release_buffer(self, buffer_id: impl Into<i32>)

ReleaseBuffer(i32) overload

Source

fn swap_and_set_reference_size( self, width: impl Into<i32>, height: impl Into<i32>, msaa_samples: impl Into<MSAASamples>, )

SwapAndSetReferenceSize(i32, i32, crate::unity_engine::rendering::msaasamples::MSAASamples) overload

Source

fn reset_reference_size(self, width: impl Into<i32>, height: impl Into<i32>)

ResetReferenceSize(i32, i32) overload

Source

fn swap(self)

Swap() overload

Source

fn dispose(self, disposing: impl Into<bool>)

Dispose(bool) overload

Source

fn dispose_2(self)

Dispose() overload

Source

fn release_all(self)

ReleaseAll() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IBufferedRTHandleSystem> IBufferedRTHandleSystemMethods for __T

Available on crate feature unity_engine-rendering-bufferedrthandlesystem only.