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§
Sourcefn get_max_width(self) -> i32
fn get_max_width(self) -> i32
get_maxWidth() overload
Sourcefn get_max_height(self) -> i32
fn get_max_height(self) -> i32
get_maxHeight() overload
Sourcefn get_rt_handle_properties(self) -> RTHandleProperties
fn get_rt_handle_properties(self) -> RTHandleProperties
get_rtHandleProperties() overload
Sourcefn get_frame_rt(
self,
buffer_id: impl Into<i32>,
frame_index: impl Into<i32>,
) -> RTHandle
fn get_frame_rt( self, buffer_id: impl Into<i32>, frame_index: impl Into<i32>, ) -> RTHandle
GetFrameRT(i32, i32) overload
Sourcefn alloc_buffer(
self,
buffer_id: impl Into<i32>,
allocator: impl Into<Func_3<RTHandleSystem, i32, RTHandle>>,
buffer_count: impl Into<i32>,
)
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
Sourcefn release_buffer(self, buffer_id: impl Into<i32>)
fn release_buffer(self, buffer_id: impl Into<i32>)
ReleaseBuffer(i32) overload
Sourcefn swap_and_set_reference_size(
self,
width: impl Into<i32>,
height: impl Into<i32>,
msaa_samples: impl Into<MSAASamples>,
)
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
Sourcefn reset_reference_size(self, width: impl Into<i32>, height: impl Into<i32>)
fn reset_reference_size(self, width: impl Into<i32>, height: impl Into<i32>)
ResetReferenceSize(i32, i32) overload
Sourcefn release_all(self)
fn release_all(self)
ReleaseAll() 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: IBufferedRTHandleSystem> IBufferedRTHandleSystemMethods for __T
Available on crate feature
unity_engine-rendering-bufferedrthandlesystem only.