Class SpriteBatchMaterial
The SpriteBatch material decorator.
Inherited Members
Namespace: Evergine.Framework.Graphics.Materials
Assembly: Evergine.Framework.dll
Syntax
public class SpriteBatchMaterial : MaterialDecorator
Constructors
SpriteBatchMaterial(Effect)
Initializes a new instance of the Sprite
Declaration
public SpriteBatchMaterial(Effect effect)
Parameters
Type | Name | Description |
---|---|---|
Effect | effect | The effect. |
Properties
PerCameraBuffer
Gets the per camera constant buffer.
Declaration
public ConstantBuffer PerCameraBuffer { get; }
Property Value
Type | Description |
---|---|
Constant |
Sampler
Gets or sets the sprite texture sampler.
Declaration
public SamplerState Sampler { get; set; }
Property Value
Type | Description |
---|---|
Sampler |
Texture
Gets or sets the sprite texture.
Declaration
public Texture Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture |