[][src]Struct rin::gl::shadow_mapping::GenericShadowMap

pub struct GenericShadowMap { /* fields omitted */ }

Basic shadow map used by specific maps

Does nothing by itself but contains all the buffers and common settings that a shadow map needs

Usually used when we want to change the type of shadows at runtime, create one of these and then wrap a reference to it with the specific shadow map we want to use

Methods

impl GenericShadowMap
[src]

Texture sampler used to draw a debug view of the shadow map

Main shadow sampler

Shadow map fbo to draw geometry into it

GLSL program to draw the shadow map

Viewport of the shadow map fbo, needed to draw to it

Auto Trait Implementations

impl !Send for GenericShadowMap

impl !Sync for GenericShadowMap

Blanket Implementations

impl<S> ShadowMapView for S where
    S: Borrow<GenericShadowMap>, 
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]