Click or drag to resize
AB4D logo

StandardSpriteEffect Methods

The StandardSpriteEffect type exposes the following members.

Methods
 NameDescription
Public methodApplyBatchStates Applies the shader states that are used to render one sprite batch
(Overrides SpriteEffectApplyBatchStates(BlendState, SamplerState, DepthStencilState, RasterizerState))
Public methodApplyBatchTransform Applies the transformation setting that are used to render one sprite batch
(Overrides SpriteEffectApplyBatchTransform(Boolean, Matrix))
Public methodApplyTextureSetting Applies the setting that are used to sprites with the same texture
(Overrides SpriteEffectApplyTextureSetting(ShaderResourceView))
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 SpriteEffectPreloadShaders)
Top
See Also