Vixen
caa30e12

GrassLitKeys

class
csharp
public static class GrassLitKeys

Typed keys for shader GrassLit.

Read the guide page for this →

Fields and properties (55)

  • public const string ShaderName

    The shader's name, as the effect system asks for it.

  • public static readonly PermutationKey<bool> SplitOutputs

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> CrossFade

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<TextureViewHandle> ShadowMap

    set 2, binding 1.

  • public const int ShadowMapSet

    Which descriptor set holds shadowMap.

  • public const uint ShadowMapBinding

    Which binding within set 2 shadowMap occupies.

  • public static readonly ParameterKey<TextureViewHandle> AlbedoMap

    set 2, binding 2.

  • public const int AlbedoMapSet

    Which descriptor set holds albedoMap.

  • public const uint AlbedoMapBinding

    Which binding within set 2 albedoMap occupies.

  • public static readonly ParameterKey<SamplerHandle> ShadowSampler

    set 2, binding 3.

  • public const int ShadowSamplerSet

    Which descriptor set holds shadowSampler.

  • public const uint ShadowSamplerBinding

    Which binding within set 2 shadowSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> AlbedoSampler

    set 2, binding 4.

  • public const int AlbedoSamplerSet

    Which descriptor set holds albedoSampler.

  • public const uint AlbedoSamplerBinding

    Which binding within set 2 albedoSampler occupies.

  • public static readonly ParameterKey<BufferHandle> Blades

    set 2, binding 5.

  • public const int BladesSet

    Which descriptor set holds blades.

  • public const uint BladesBinding

    Which binding within set 2 blades occupies.

  • public const int VertexAttributeCount

    How many attributes the vertex stage takes from a buffer.

  • public const uint PositionLocation

    Which location the vertex stage reads position from.

  • public const uint NormalLocation

    Which location the vertex stage reads normal from.

  • public const uint TexcoordLocation

    Which location the vertex stage reads texcoord from.

  • public static readonly ParameterKey<Vector3> LightDirection

    lightDirection at byte 0.

  • public static readonly ParameterKey<float> ShadowConstantBias

    shadowConstantBias at byte 12.

  • public static readonly ParameterKey<Vector3> LightColor

    lightColor at byte 16.

  • public static readonly ParameterKey<float> ShadowSlopeBias

    shadowSlopeBias at byte 28.

  • public static readonly ParameterKey<float> ShadowFadeRange

    shadowFadeRange at byte 32.

  • public static readonly ParameterKey<float> AmbientIntensity

    ambientIntensity at byte 36.

  • public static readonly ParameterKey<Matrix4x4> View

    view at byte 48.

  • public static readonly ParameterKey<Vector3> EnvironmentShL00

    environmentSh.l00 at byte 432.

  • public static readonly ParameterKey<Vector3> EnvironmentShL1m1

    environmentSh.l1m1 at byte 448.

  • public static readonly ParameterKey<Vector3> EnvironmentShL10

    environmentSh.l10 at byte 464.

  • public static readonly ParameterKey<Vector3> EnvironmentShL11

    environmentSh.l11 at byte 480.

  • public static readonly ParameterKey<Vector3> EnvironmentShL2m2

    environmentSh.l2m2 at byte 496.

  • public static readonly ParameterKey<Vector3> EnvironmentShL2m1

    environmentSh.l2m1 at byte 512.

  • public static readonly ParameterKey<Vector3> EnvironmentShL20

    environmentSh.l20 at byte 528.

  • public static readonly ParameterKey<Vector3> EnvironmentShL21

    environmentSh.l21 at byte 544.

  • public static readonly ParameterKey<Vector3> EnvironmentShL22

    environmentSh.l22 at byte 560.

  • public static readonly ParameterKey<Vector2> ShadowTexelSize

    shadowTexelSize at byte 576.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 592.

  • public static readonly ParameterKey<Vector3> ViewPosition

    viewPosition at byte 656.

  • public static readonly ParameterKey<float> Time

    time at byte 668.

  • public static readonly ParameterKey<Vector2> WindDirection

    wind.direction at byte 672.

  • public static readonly ParameterKey<float> WindStrength

    wind.strength at byte 680.

  • public static readonly ParameterKey<float> WindFrequency

    wind.frequency at byte 684.

  • public static readonly ParameterKey<float> WindSpeed

    wind.speed at byte 688.

  • public static readonly ParameterKey<float> WindFlutter

    wind.flutter at byte 692.

  • public static readonly ParameterKey<float> WindHeight

    wind.height at byte 696.

  • public static readonly ParameterKey<float> AlphaCutoff

    alphaCutoff at byte 704, declared 0.5.

  • public static readonly ParameterKey<Vector2> TintRange

    tintRange at byte 712.

  • public static readonly ParameterKey<Vector2> FadeRange

    fadeRange at byte 720.

  • public const int ConstantBufferSize

    The uniform block's size in bytes — what to allocate.

  • public const int ConstantBufferSet

    Which descriptor set holds the uniform block.

  • public const uint ConstantBufferBinding

    Which binding within set 2 the uniform block occupies.

Used by (1)

  • GrassDrawPassVixen.Rendering.Terrain