Standard |
public class StandardSpriteEffect : SpriteEffect
The StandardSpriteEffect type exposes the following members.
Name | Description | |
---|---|---|
StandardSpriteEffect | Constructor |
Name | Description | |
---|---|---|
RequiredInputLayoutType |
Gets the input layout that is required to render this effect.
(Overrides SpriteEffectRequiredInputLayoutType) |
Name | Description | |
---|---|---|
ApplyBatchStates |
Applies the shader states that are used to render one sprite batch
(Overrides SpriteEffectApplyBatchStates(BlendState, SamplerState, DepthStencilState, RasterizerState)) | |
ApplyBatchTransform |
Applies the transformation setting that are used to render one sprite batch
(Overrides SpriteEffectApplyBatchTransform(Boolean, Matrix)) | |
ApplyTextureSetting |
Applies the setting that are used to sprites with the same texture
(Overrides SpriteEffectApplyTextureSetting(ShaderResourceView)) | |
PreloadShaders |
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) |
Name | Description | |
---|---|---|
EffectName | Effect name |