Search Results for

    Show / Hide Table of Contents

    Class SpriteBatchMaterial

    The SpriteBatch material decorator.

    Inheritance
    object
    BaseMaterialDecorator
    MaterialDecorator
    SpriteBatchMaterial
    Inherited Members
    MaterialDecorator.Material
    MaterialDecorator.AllowInstancing
    MaterialDecorator.Id
    MaterialDecorator.OrderBias
    MaterialDecorator.LayerDescription
    BaseMaterialDecorator.material
    BaseMaterialDecorator.ActiveDirectivesNames
    BaseMaterialDecorator.Effect
    BaseMaterialDecorator.GetMaterialPassResources(string, bool)
    BaseMaterialDecorator.Prepare(CommandBuffer)
    BaseMaterialDecorator.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics.Materials
    Assembly: Evergine.Framework.dll
    Syntax
    public class SpriteBatchMaterial : MaterialDecorator

    Constructors

    SpriteBatchMaterial(Effect)

    Initializes a new instance of the SpriteBatchMaterial class.

    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
    ConstantBuffer

    Sampler

    Gets or sets the sprite texture sampler.

    Declaration
    public SamplerState Sampler { get; set; }
    Property Value
    Type Description
    SamplerState

    Texture

    Gets or sets the sprite texture.

    Declaration
    public Texture Texture { get; set; }
    Property Value
    Type Description
    Texture

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX