Click or drag to resize
AB4D logo

StandardSpriteEffect Class

StandardSpriteEffect is an effect that can render 2D sprites to the scene.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectX.EffectsSpriteEffect
          Ab3d.DirectX.EffectsStandardSpriteEffect

Namespace: Ab3d.DirectX.Effects
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class StandardSpriteEffect : SpriteEffect

The StandardSpriteEffect type exposes the following members.

Constructors
 NameDescription
Public methodStandardSpriteEffect Constructor
Top
Properties
 NameDescription
Public propertyRequiredInputLayoutType Gets the input layout that is required to render this effect.
(Overrides SpriteEffectRequiredInputLayoutType)
Top
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
Fields
 NameDescription
Public fieldStatic memberEffectName Effect name
Top
See Also