GrassVelocityKeys
public static class GrassVelocityKeysTyped keys for shader GrassVelocity.
Fields and properties (33)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> CrossFadeAffects the generated code, so a distinct value is a distinct variant.
public static readonly ParameterKey[] UsedPermutationKeysThe permutation keys that actually change the generated code.
public static readonly ParameterKey<TextureViewHandle> AlbedoMapset 2, binding 1.
public const int AlbedoMapSetWhich descriptor set holds albedoMap.
public const uint AlbedoMapBindingWhich binding within set 2 albedoMap occupies.
public static readonly ParameterKey<SamplerHandle> AlbedoSamplerset 2, binding 2.
public const int AlbedoSamplerSetWhich descriptor set holds albedoSampler.
public const uint AlbedoSamplerBindingWhich binding within set 2 albedoSampler occupies.
public static readonly ParameterKey<BufferHandle> Bladesset 2, binding 3.
public const int BladesSetWhich descriptor set holds blades.
public const uint BladesBindingWhich binding within set 2 blades occupies.
public const int VertexAttributeCountHow many attributes the vertex stage takes from a buffer.
public const uint PositionLocationWhich location the vertex stage reads position from.
public const uint NormalLocationWhich location the vertex stage reads normal from.
public const uint TexcoordLocationWhich location the vertex stage reads texcoord from.
public static readonly ParameterKey<Matrix4x4> PreviousViewProjectionpreviousViewProjection at byte 0.
public static readonly ParameterKey<float> PreviousTimepreviousTime at byte 64.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 80.
public static readonly ParameterKey<Vector3> ViewPositionviewPosition at byte 144.
public static readonly ParameterKey<float> Timetime at byte 156.
public static readonly ParameterKey<Vector2> WindDirectionwind.direction at byte 160.
public static readonly ParameterKey<float> WindStrengthwind.strength at byte 168.
public static readonly ParameterKey<float> WindFrequencywind.frequency at byte 172.
public static readonly ParameterKey<float> WindSpeedwind.speed at byte 176.
public static readonly ParameterKey<float> WindFlutterwind.flutter at byte 180.
public static readonly ParameterKey<float> WindHeightwind.height at byte 184.
public static readonly ParameterKey<float> AlphaCutoffalphaCutoff at byte 192, declared 0.5.
public static readonly ParameterKey<Vector2> TintRangetintRange at byte 200.
public static readonly ParameterKey<Vector2> FadeRangefadeRange at byte 208.
public const int ConstantBufferSizeThe uniform block's size in bytes — what to allocate.
public const int ConstantBufferSetWhich descriptor set holds the uniform block.
public const uint ConstantBufferBindingWhich binding within set 2 the uniform block occupies.
Used by (1)
- GrassVelocityPassVixen.Rendering.Terrain