Skip to main content

IXRPassMethods

Trait IXRPassMethods 

Source
pub trait IXRPassMethods: IXRPass {
Show 42 methods // Provided methods fn get_enabled(self) -> bool { ... } fn get_xr_sdk_enabled(self) -> bool { ... } fn set_xr_sdk_enabled(self, value: impl Into<bool>) { ... } fn get_copy_depth(self) -> bool { ... } fn set_copy_depth(self, value: impl Into<bool>) { ... } fn get_multipass_id(self) -> i32 { ... } fn set_multipass_id(self, value: impl Into<i32>) { ... } fn get_culling_pass_id(self) -> i32 { ... } fn set_culling_pass_id(self, value: impl Into<i32>) { ... } fn get_render_target(self) -> RenderTargetIdentifier { ... } fn set_render_target(self, value: impl Into<RenderTargetIdentifier>) { ... } fn get_render_target_desc(self) -> RenderTextureDescriptor { ... } fn set_render_target_desc(self, value: impl Into<RenderTextureDescriptor>) { ... } fn get_render_target_valid(self) -> bool { ... } fn get_render_target_is_render_texture(self) -> bool { ... } fn set_render_target_is_render_texture(self, value: impl Into<bool>) { ... } fn get_proj_matrix(self, view_index: impl Into<i32>) -> Matrix4x4 { ... } fn get_view_matrix(self, view_index: impl Into<i32>) -> Matrix4x4 { ... } fn get_texture_array_slice(self, view_index: impl Into<i32>) -> i32 { ... } fn get_viewport(self, view_index: impl Into<i32>) -> Rect { ... } fn get_culling_params(self) -> ScriptableCullingParameters { ... } fn set_culling_params(self, value: impl Into<ScriptableCullingParameters>) { ... } fn get_view_count(self) -> i32 { ... } fn get_single_pass_enabled(self) -> bool { ... } fn get_is_occlusion_mesh_supported(self) -> bool { ... } fn get_has_valid_occlusion_mesh(self) -> bool { ... } fn set_custom_mirror_view( self, callback: impl Into<XRPass_CustomMirrorView>, ) { ... } fn update_view( self, view_id: impl Into<i32>, xr_sdk_render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>, xr_sdk_render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>, ) { ... } fn update_view_2( self, view_id: impl Into<i32>, proj: impl Into<Matrix4x4>, view: impl Into<Matrix4x4>, vp: impl Into<Rect>, texture_array_slice: impl Into<i32>, ) { ... } fn update_culling_params( self, culling_pass_id: impl Into<i32>, culling_params: impl Into<ScriptableCullingParameters>, ) { ... } fn add_view( self, proj: impl Into<Matrix4x4>, view: impl Into<Matrix4x4>, vp: impl Into<Rect>, texture_array_slice: impl Into<i32>, ) { ... } fn add_view_2( self, xr_sdk_render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>, xr_sdk_render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>, ) { ... } fn add_view_internal(self, xr_view: impl Into<XRView>) { ... } fn update_occlusion_mesh(self) { ... } fn try_get_occlusion_mesh_combined_hash_code(self) -> (bool, i32) { ... } fn create_occlusion_mesh_combined(self) { ... } fn start_single_pass(self, cmd: impl Into<CommandBuffer>) { ... } fn stop_single_pass(self, cmd: impl Into<CommandBuffer>) { ... } fn end_camera( self, cmd: impl Into<CommandBuffer>, camera_data: impl Into<CameraData>, ) { ... } fn render_occlusion_mesh(self, cmd: impl Into<CommandBuffer>) { ... } fn update_gpu_view_and_projection_matrices( self, cmd: impl Into<CommandBuffer>, is_render_to_texture: impl Into<bool>, ) -> CameraData { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

fn get_xr_sdk_enabled(self) -> bool

get_xrSdkEnabled() overload

Source

fn set_xr_sdk_enabled(self, value: impl Into<bool>)

set_xrSdkEnabled(bool) overload

Source

fn get_copy_depth(self) -> bool

get_copyDepth() overload

Source

fn set_copy_depth(self, value: impl Into<bool>)

set_copyDepth(bool) overload

Source

fn get_multipass_id(self) -> i32

get_multipassId() overload

Source

fn set_multipass_id(self, value: impl Into<i32>)

set_multipassId(i32) overload

Source

fn get_culling_pass_id(self) -> i32

get_cullingPassId() overload

Source

fn set_culling_pass_id(self, value: impl Into<i32>)

set_cullingPassId(i32) overload

Source

fn get_render_target(self) -> RenderTargetIdentifier

get_renderTarget() overload

Source

fn set_render_target(self, value: impl Into<RenderTargetIdentifier>)

set_renderTarget(crate::unity_engine::rendering::rendertargetidentifier::RenderTargetIdentifier) overload

Source

fn get_render_target_desc(self) -> RenderTextureDescriptor

get_renderTargetDesc() overload

Source

fn set_render_target_desc(self, value: impl Into<RenderTextureDescriptor>)

set_renderTargetDesc(crate::unity_engine::rendertexturedescriptor::RenderTextureDescriptor) overload

Source

fn get_render_target_valid(self) -> bool

get_renderTargetValid() overload

Source

fn get_render_target_is_render_texture(self) -> bool

get_renderTargetIsRenderTexture() overload

Source

fn set_render_target_is_render_texture(self, value: impl Into<bool>)

set_renderTargetIsRenderTexture(bool) overload

Source

fn get_proj_matrix(self, view_index: impl Into<i32>) -> Matrix4x4

GetProjMatrix(i32) overload

Source

fn get_view_matrix(self, view_index: impl Into<i32>) -> Matrix4x4

GetViewMatrix(i32) overload

Source

fn get_texture_array_slice(self, view_index: impl Into<i32>) -> i32

GetTextureArraySlice(i32) overload

Source

fn get_viewport(self, view_index: impl Into<i32>) -> Rect

GetViewport(i32) overload

Source

fn get_culling_params(self) -> ScriptableCullingParameters

get_cullingParams() overload

Source

fn set_culling_params(self, value: impl Into<ScriptableCullingParameters>)

set_cullingParams(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters) overload

Source

fn get_view_count(self) -> i32

get_viewCount() overload

Source

fn get_single_pass_enabled(self) -> bool

get_singlePassEnabled() overload

Source

fn get_is_occlusion_mesh_supported(self) -> bool

get_isOcclusionMeshSupported() overload

Source

fn get_has_valid_occlusion_mesh(self) -> bool

get_hasValidOcclusionMesh() overload

Source

fn set_custom_mirror_view(self, callback: impl Into<XRPass_CustomMirrorView>)

SetCustomMirrorView(crate::unity_engine::rendering::universal::xrpass::XRPass_CustomMirrorView) overload

Source

fn update_view( self, view_id: impl Into<i32>, xr_sdk_render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>, xr_sdk_render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>, )

UpdateView(i32, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter) overload

Source

fn update_view_2( self, view_id: impl Into<i32>, proj: impl Into<Matrix4x4>, view: impl Into<Matrix4x4>, vp: impl Into<Rect>, texture_array_slice: impl Into<i32>, )

UpdateView(i32, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::rect::Rect, i32) overload

Source

fn update_culling_params( self, culling_pass_id: impl Into<i32>, culling_params: impl Into<ScriptableCullingParameters>, )

UpdateCullingParams(i32, crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters) overload

Source

fn add_view( self, proj: impl Into<Matrix4x4>, view: impl Into<Matrix4x4>, vp: impl Into<Rect>, texture_array_slice: impl Into<i32>, )

AddView(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::rect::Rect, i32) overload

Source

fn add_view_2( self, xr_sdk_render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>, xr_sdk_render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>, )

AddView(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter) overload

Source

fn add_view_internal(self, xr_view: impl Into<XRView>)

AddViewInternal(crate::unity_engine::rendering::universal::xrview::XRView) overload

Source

fn update_occlusion_mesh(self)

UpdateOcclusionMesh() overload

Source

fn try_get_occlusion_mesh_combined_hash_code(self) -> (bool, i32)

TryGetOcclusionMeshCombinedHashCode(*muti32) overload

Source

fn create_occlusion_mesh_combined(self)

CreateOcclusionMeshCombined() overload

Source

fn start_single_pass(self, cmd: impl Into<CommandBuffer>)

StartSinglePass(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload

Source

fn stop_single_pass(self, cmd: impl Into<CommandBuffer>)

StopSinglePass(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload

Source

fn end_camera( self, cmd: impl Into<CommandBuffer>, camera_data: impl Into<CameraData>, )

EndCamera(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::universal::cameradata::CameraData) overload

Source

fn render_occlusion_mesh(self, cmd: impl Into<CommandBuffer>)

RenderOcclusionMesh(crate::unity_engine::rendering::commandbuffer::CommandBuffer) overload

Source

fn update_gpu_view_and_projection_matrices( self, cmd: impl Into<CommandBuffer>, is_render_to_texture: impl Into<bool>, ) -> CameraData

UpdateGPUViewAndProjectionMatrices(crate::unity_engine::rendering::commandbuffer::CommandBuffer, *mutcrate::unity_engine::rendering::universal::cameradata::CameraData, bool) 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: IXRPass> IXRPassMethods for __T

Available on crate feature unity_engine-rendering-universal-xrpass only.