GrassScatterKeys
public static class GrassScatterKeysTyped keys for shader GrassScatter.
Fields and properties (51)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> RandomYawAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> LayerBoundAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> ArgumentsAffects 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> HeightMapset 2, binding 1.
public const int HeightMapSetWhich descriptor set holds heightMap.
public const uint HeightMapBindingWhich binding within set 2 heightMap occupies.
public static readonly ParameterKey<TextureViewHandle> WeightMapset 2, binding 2.
public const int WeightMapSetWhich descriptor set holds weightMap.
public const uint WeightMapBindingWhich binding within set 2 weightMap occupies.
public static readonly ParameterKey<TextureViewHandle> HoleMapset 2, binding 3.
public const int HoleMapSetWhich descriptor set holds holeMap.
public const uint HoleMapBindingWhich binding within set 2 holeMap occupies.
public static readonly ParameterKey<SamplerHandle> HeightSamplerset 2, binding 4.
public const int HeightSamplerSetWhich descriptor set holds heightSampler.
public const uint HeightSamplerBindingWhich binding within set 2 heightSampler occupies.
public static readonly ParameterKey<SamplerHandle> WeightSamplerset 2, binding 5.
public const int WeightSamplerSetWhich descriptor set holds weightSampler.
public const uint WeightSamplerBindingWhich binding within set 2 weightSampler occupies.
public static readonly ParameterKey<SamplerHandle> HoleSamplerset 2, binding 6.
public const int HoleSamplerSetWhich descriptor set holds holeSampler.
public const uint HoleSamplerBindingWhich binding within set 2 holeSampler occupies.
public static readonly ParameterKey<BufferHandle> Cellsset 2, binding 7.
public const int CellsSetWhich descriptor set holds cells.
public const uint CellsBindingWhich binding within set 2 cells occupies.
public static readonly ParameterKey<BufferHandle> Instancesset 2, binding 8, writable.
public const int InstancesSetWhich descriptor set holds instances.
public const uint InstancesBindingWhich binding within set 2 instances occupies.
public static readonly ParameterKey<BufferHandle> Countsset 2, binding 9, writable.
public const int CountsSetWhich descriptor set holds counts.
public const uint CountsBindingWhich binding within set 2 counts occupies.
public static readonly ParameterKey<BufferHandle> Commandsset 2, binding 10, writable.
public const int CommandsSetWhich descriptor set holds commands.
public const uint CommandsBindingWhich binding within set 2 commands occupies.
public static readonly ParameterKey<int> WeightChannelweightChannel at byte 0.
public static readonly ParameterKey<Vector2> HeightMapSizeheightMapSize at byte 8.
public static readonly ParameterKey<Vector2> HeightRangeheightRange at byte 16.
public static readonly ParameterKey<float> MetresPerQuadmetresPerQuad at byte 24.
public static readonly ParameterKey<Vector3> TerrainOriginterrainOrigin at byte 32.
public static readonly ParameterKey<float> CellSizecellSize at byte 44.
public static readonly ParameterKey<int> GridSidegridSide at byte 48.
public static readonly ParameterKey<float> Jitterjitter at byte 52.
public static readonly ParameterKey<Vector2> WeightRangeweightRange at byte 56.
public static readonly ParameterKey<Vector2> ScaleRangescaleRange at byte 64.
public static readonly ParameterKey<float> AlignToNormalalignToNormal at byte 72.
public static readonly ParameterKey<float> MaxSlopemaxSlope at byte 76.
public static readonly ParameterKey<float> DensityScaledensityScale at byte 80.
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)
- GrassDispatchVixen.Rendering.Terrain