Struct rin::scene::renderer::shadow::ShadowMapPool [−][src]
pub struct ShadowMapPool { /* fields omitted */ }Implementations
impl ShadowMapPool[src]
impl ShadowMapPool[src]pub fn new(gl: &Renderer<'_, Screen>) -> ShadowMapPool[src]
pub fn allocate_shadow_map(
&mut self,
parameters: Parameters
) -> Option<ShadowMapRef>[src]
&mut self,
parameters: Parameters
) -> Option<ShadowMapRef>
pub fn deallocate_shadow_map(&mut self, map: ShadowMapRef)[src]
pub fn fbo(
&self,
shadow_map_view: &ShadowMapView
) -> &Fbo<ColorAttachment, DepthAttachment>[src]
&self,
shadow_map_view: &ShadowMapView
) -> &Fbo<ColorAttachment, DepthAttachment>
pub fn debug_draw_sampler(
&self,
shadow_map_view: &ShadowMapView
) -> TextureSampler<'_>[src]
&self,
shadow_map_view: &ShadowMapView
) -> TextureSampler<'_>
pub fn shadow_sampler(
&self,
shadow_map_view: &ShadowMapView
) -> TextureSampler<'_>[src]
&self,
shadow_map_view: &ShadowMapView
) -> TextureSampler<'_>
pub fn atlas_size(&self) -> u32[src]
Trait Implementations
impl Index<ShadowMapRef> for ShadowMapPool[src]
impl Index<ShadowMapRef> for ShadowMapPool[src]type Output = ShadowMapView
The returned type after indexing.
pub fn index(&self, shadowref: ShadowMapRef) -> &ShadowMapView[src]
impl IndexMut<ShadowMapRef> for ShadowMapPool[src]
impl IndexMut<ShadowMapRef> for ShadowMapPool[src]pub fn index_mut(&mut self, shadowref: ShadowMapRef) -> &mut ShadowMapView[src]
Auto Trait Implementations
impl !RefUnwindSafe for ShadowMapPool
impl !Send for ShadowMapPool
impl !Sync for ShadowMapPool
impl Unpin for ShadowMapPool
impl !UnwindSafe for ShadowMapPool
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]