stride/samples/Particles/ParticlesSample/ParticlesSample.Game/Materials/ParticleCustomShaderKeys.cs

22 lines
1.1 KiB
C#
Raw Permalink Normal View History

2021-04-19 03:49:55 +00:00
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
2018-06-19 09:06:54 +00:00
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
2020-04-14 14:37:41 +00:00
using Stride.Core.Mathematics;
using Stride.Graphics;
using Stride.Shaders;
2018-06-19 09:06:54 +00:00
2020-04-14 14:37:41 +00:00
//namespace Stride.Rendering
namespace Stride.Rendering
2018-06-19 09:06:54 +00:00
{
public partial class ParticleCustomShaderKeys
{
public static readonly PermutationParameterKey<ShaderSource> BaseColor = ParameterKeys.NewPermutation<ShaderSource>();
public static readonly ObjectParameterKey<Texture> EmissiveMap = ParameterKeys.NewObject<Texture>();
public static readonly ValueParameterKey<Color4> EmissiveValue = ParameterKeys.NewValue<Color4>();
public static readonly PermutationParameterKey<ShaderSource> BaseIntensity = ParameterKeys.NewPermutation<ShaderSource>();
public static readonly ObjectParameterKey<Texture> IntensityMap = ParameterKeys.NewObject<Texture>();
public static readonly ValueParameterKey<float> IntensityValue = ParameterKeys.NewValue<float>();
}
}