Struct ViewportDebugDraw
pub struct ViewportDebugDraw { /* private fields */ }
Implementations§
§impl ViewportDebugDraw
impl ViewportDebugDraw
pub const DISABLED: ViewportDebugDraw = _
pub const DISABLED: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_DISABLED
pub const UNSHADED: ViewportDebugDraw = _
pub const UNSHADED: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_UNSHADED
pub const LIGHTING: ViewportDebugDraw = _
pub const LIGHTING: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_LIGHTING
pub const OVERDRAW: ViewportDebugDraw = _
pub const OVERDRAW: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_OVERDRAW
pub const WIREFRAME: ViewportDebugDraw = _
pub const WIREFRAME: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_WIREFRAME
pub const NORMAL_BUFFER: ViewportDebugDraw = _
pub const NORMAL_BUFFER: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_NORMAL_BUFFER
pub const VOXEL_GI_ALBEDO: ViewportDebugDraw = _
pub const VOXEL_GI_ALBEDO: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO
pub const VOXEL_GI_LIGHTING: ViewportDebugDraw = _
pub const VOXEL_GI_LIGHTING: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING
pub const VOXEL_GI_EMISSION: ViewportDebugDraw = _
pub const VOXEL_GI_EMISSION: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION
pub const SHADOW_ATLAS: ViewportDebugDraw = _
pub const SHADOW_ATLAS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SHADOW_ATLAS
pub const DIRECTIONAL_SHADOW_ATLAS: ViewportDebugDraw = _
pub const DIRECTIONAL_SHADOW_ATLAS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS
pub const SCENE_LUMINANCE: ViewportDebugDraw = _
pub const SCENE_LUMINANCE: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SCENE_LUMINANCE
pub const SSAO: ViewportDebugDraw = _
pub const SSAO: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SSAO
pub const SSIL: ViewportDebugDraw = _
pub const SSIL: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SSIL
pub const PSSM_SPLITS: ViewportDebugDraw = _
pub const PSSM_SPLITS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_PSSM_SPLITS
pub const DECAL_ATLAS: ViewportDebugDraw = _
pub const DECAL_ATLAS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_DECAL_ATLAS
pub const SDFGI: ViewportDebugDraw = _
pub const SDFGI: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SDFGI
pub const SDFGI_PROBES: ViewportDebugDraw = _
pub const SDFGI_PROBES: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_SDFGI_PROBES
pub const GI_BUFFER: ViewportDebugDraw = _
pub const GI_BUFFER: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_GI_BUFFER
pub const DISABLE_LOD: ViewportDebugDraw = _
pub const DISABLE_LOD: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_DISABLE_LOD
pub const CLUSTER_OMNI_LIGHTS: ViewportDebugDraw = _
pub const CLUSTER_OMNI_LIGHTS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_CLUSTER_OMNI_LIGHTS
pub const CLUSTER_SPOT_LIGHTS: ViewportDebugDraw = _
pub const CLUSTER_SPOT_LIGHTS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_CLUSTER_SPOT_LIGHTS
pub const CLUSTER_DECALS: ViewportDebugDraw = _
pub const CLUSTER_DECALS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_CLUSTER_DECALS
pub const CLUSTER_REFLECTION_PROBES: ViewportDebugDraw = _
pub const CLUSTER_REFLECTION_PROBES: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_CLUSTER_REFLECTION_PROBES
pub const OCCLUDERS: ViewportDebugDraw = _
pub const OCCLUDERS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_OCCLUDERS
pub const MOTION_VECTORS: ViewportDebugDraw = _
pub const MOTION_VECTORS: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_MOTION_VECTORS
pub const INTERNAL_BUFFER: ViewportDebugDraw = _
pub const INTERNAL_BUFFER: ViewportDebugDraw = _
Godot enumerator name: VIEWPORT_DEBUG_DRAW_INTERNAL_BUFFER
Trait Implementations§
§impl Clone for ViewportDebugDraw
impl Clone for ViewportDebugDraw
§fn clone(&self) -> ViewportDebugDraw
fn clone(&self) -> ViewportDebugDraw
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ViewportDebugDraw
impl Debug for ViewportDebugDraw
§impl EngineEnum for ViewportDebugDraw
impl EngineEnum for ViewportDebugDraw
§impl FromGodot for ViewportDebugDraw
impl FromGodot for ViewportDebugDraw
§fn try_from_godot(
via: <ViewportDebugDraw as GodotConvert>::Via,
) -> Result<ViewportDebugDraw, ConvertError>
fn try_from_godot( via: <ViewportDebugDraw as GodotConvert>::Via, ) -> Result<ViewportDebugDraw, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for ViewportDebugDraw
impl GodotConvert for ViewportDebugDraw
§impl Hash for ViewportDebugDraw
impl Hash for ViewportDebugDraw
§impl PartialEq for ViewportDebugDraw
impl PartialEq for ViewportDebugDraw
§impl ToGodot for ViewportDebugDraw
impl ToGodot for ViewportDebugDraw
§type ToVia<'v> = i32
type ToVia<'v> = i32
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <ViewportDebugDraw as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <ViewportDebugDraw as ToGodot>::ToVia<'_>
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
impl Copy for ViewportDebugDraw
impl Eq for ViewportDebugDraw
impl StructuralPartialEq for ViewportDebugDraw
Auto Trait Implementations§
impl Freeze for ViewportDebugDraw
impl RefUnwindSafe for ViewportDebugDraw
impl Send for ViewportDebugDraw
impl Sync for ViewportDebugDraw
impl Unpin for ViewportDebugDraw
impl UnwindSafe for ViewportDebugDraw
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)