Struct bevy::ui::SetUiTextureBindGroup
pub struct SetUiTextureBindGroup<const I: usize>;
Trait Implementations§
§impl<const I: usize> EntityRenderCommand for SetUiTextureBindGroup<I>
impl<const I: usize> EntityRenderCommand for SetUiTextureBindGroup<I>
type Param = (Res<'static, UiImageBindGroups>, Query<'static, 'static, &'static UiBatch, ()>)
fn render<'w>(
_view: Entity,
item: Entity,
_: <<<SetUiTextureBindGroup<I> as EntityRenderCommand>::Param as SystemParam>::Fetch as SystemParamFetch<'w, '_>>::Item,
pass: &mut TrackedRenderPass<'w>
) -> RenderCommandResult
Auto Trait Implementations§
impl<const I: usize> RefUnwindSafe for SetUiTextureBindGroup<I>
impl<const I: usize> Send for SetUiTextureBindGroup<I>
impl<const I: usize> Sync for SetUiTextureBindGroup<I>
impl<const I: usize> Unpin for SetUiTextureBindGroup<I>
impl<const I: usize> UnwindSafe for SetUiTextureBindGroup<I>
Blanket Implementations§
§impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
§fn as_bind_group_shader_type(&self, _images: &RenderAssets<Image>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<Image>) -> U
Return the
T
ShaderType
for self
. When used in AsBindGroup
derives, it is safe to assume that all images in self
exist. Read more§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read moresource§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<P, E> RenderCommand<P> for Ewhere
P: EntityPhaseItem,
E: EntityRenderCommand,
<E as EntityRenderCommand>::Param: 'static,
impl<P, E> RenderCommand<P> for Ewhere
P: EntityPhaseItem,
E: EntityRenderCommand,
<E as EntityRenderCommand>::Param: 'static,
§type Param = <E as EntityRenderCommand>::Param
type Param = <E as EntityRenderCommand>::Param
Specifies all ECS data required by
RenderCommand::render
.
All parameters have to be read only. Read more§fn render<'w>(
view: Entity,
item: &P,
param: <<<E as RenderCommand<P>>::Param as SystemParam>::Fetch as SystemParamFetch<'w, '_>>::Item,
pass: &mut TrackedRenderPass<'w>
) -> RenderCommandResult
fn render<'w>(
view: Entity,
item: &P,
param: <<<E as RenderCommand<P>>::Param as SystemParam>::Fetch as SystemParamFetch<'w, '_>>::Item,
pass: &mut TrackedRenderPass<'w>
) -> RenderCommandResult
Renders the
PhaseItem
by issuing draw calls via the TrackedRenderPass
.