Struct rin::scene::renderer::geometry::ShadowGeometry [−][src]
pub struct ShadowGeometry(_);
Methods from Deref<Target = SubmeshBuffers>
pub fn vao_base_instance<C>(
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
material_offsets: Option<&MaterialOffsets>,
model_buffer: &SharedBuffer<(Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>, Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>)>,
base_instance: u32
) -> Result<Range<'_>, Error> where
C: CreationContext,
[src]
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
material_offsets: Option<&MaterialOffsets>,
model_buffer: &SharedBuffer<(Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>, Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>)>,
base_instance: u32
) -> Result<Range<'_>, Error> where
C: CreationContext,
pub fn shadow_vao_base_instance<C>(
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
model_buffer: &SharedBuffer<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>,
material_offsets_buffer: Option<&SharedBuffer<u32>>,
base_instance: u32
) -> Result<Range<'_>, Error> where
C: CreationContext,
[src]
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
model_buffer: &SharedBuffer<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>,
material_offsets_buffer: Option<&SharedBuffer<u32>>,
base_instance: u32
) -> Result<Range<'_>, Error> where
C: CreationContext,
pub fn has_indices(&self) -> bool
[src]
pub fn command(
&self,
allocators: &mut AllocatorsIndex,
base_instance: u32,
instance_count: u32
) -> DrawElementsIndirectCommand
[src]
&self,
allocators: &mut AllocatorsIndex,
base_instance: u32,
instance_count: u32
) -> DrawElementsIndirectCommand
pub fn full_vao<C>(
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
material_offsets: Option<&MaterialOffsets>,
model_buffer: &SharedBuffer<(Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>, Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>)>
) -> Result<&mut Vao, Error> where
C: CreationContext,
[src]
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
material_offsets: Option<&MaterialOffsets>,
model_buffer: &SharedBuffer<(Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>, Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>)>
) -> Result<&mut Vao, Error> where
C: CreationContext,
pub fn full_shadow_vao<C>(
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
model_buffer: &SharedBuffer<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>,
material_offsets_buffer: Option<&SharedBuffer<u32>>
) -> Result<&mut Vao, Error> where
C: CreationContext,
[src]
&self,
gl: &C,
allocators: &mut AllocatorsIndex,
model_buffer: &SharedBuffer<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>,
material_offsets_buffer: Option<&SharedBuffer<u32>>
) -> Result<&mut Vao, Error> where
C: CreationContext,
pub fn range_vao(
&self,
allocators: &mut AllocatorsIndex,
vao: &'v Vao
) -> Range<'v>
[src]
&self,
allocators: &mut AllocatorsIndex,
vao: &'v Vao
) -> Range<'v>
pub fn vao_range(&self) -> &VaoRange
[src]
pub fn primitive_type(&self) -> u32
[src]
pub fn has_changed(&self) -> bool
[src]
pub fn reset_has_changed(&mut self)
[src]
Trait Implementations
impl Component for ShadowGeometry
[src]
impl Component for ShadowGeometry
[src]type Storage = KeyedDenseVec<usize, ShadowGeometry>
type MutStorageCacheGuard = ()
pub fn type_name() -> &'static str
[src]
pub fn is_reference() -> bool
[src]
pub fn id() -> TypeId
[src]
pub fn references_other(
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
[src]
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
impl Debug for ShadowGeometry
[src]
impl Debug for ShadowGeometry
[src]impl<'a> DebugParameter for ShadowGeometry
[src]
impl<'a> DebugParameter for ShadowGeometry
[src]pub fn debug<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl Deref for ShadowGeometry
[src]
impl Deref for ShadowGeometry
[src]type Target = SubmeshBuffers
The resulting type after dereferencing.
pub fn deref(&self) -> &SubmeshBuffers
[src]
impl DerefMut for ShadowGeometry
[src]
impl DerefMut for ShadowGeometry
[src]pub fn deref_mut(&mut self) -> &mut SubmeshBuffers
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ShadowGeometry
impl Send for ShadowGeometry
impl !Sync for ShadowGeometry
impl Unpin for ShadowGeometry
impl !UnwindSafe for ShadowGeometry
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<C> ComponentSend for C where
C: Component + Send,
[src]
C: Component + Send,
impl<C> ComponentThreadLocal for C where
C: Component,
[src]
C: Component,