Click or drag to resize
AB4D logo

SuperShadowShaderEffect Methods

The SuperShadowShaderEffect type exposes the following members.

Methods
 NameDescription
Public methodApplyMaterial Applies the material and object's world matrix to this effect.
(Overrides EffectApplyMaterial(Material, RenderablePrimitiveBase))
Public methodPreloadShaders PreloadShaders can be called to load the shaders in advance before they are used. Calling this method increases the startup time, but when the 3D object needs to be shown, it is shown faster because all the shaders have already been created.
(Overrides EffectPreloadShaders)
Public methodSetShadowMappingParameters(ShadowLightData, Single, RenderingContext) SetShadowMappingParameters sets parameters needed for shadow mapping. This method must be called after the ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method and enabled shadow rendering until the next call to ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method.
Public methodSetShadowMappingParameters(ShadowLightData, Single, Single, RenderingContext) SetShadowMappingParameters sets parameters needed for shadow mapping. This method must be called after the ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method and enabled shadow rendering until the next call to ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method.
Top
See Also