WaterMeshKeys
public static class WaterMeshKeysTyped keys for shader WaterMesh.
Fields and properties (36)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<int> GridQuadsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> FarMeshAffects 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<BufferHandle> BufferedWaterWavesWavesset 0, binding 1.
public const int BufferedWaterWavesWavesSetWhich descriptor set holds BufferedWaterWaves.waves.
public const uint BufferedWaterWavesWavesBindingWhich binding within set 0 BufferedWaterWaves.waves occupies.
public static readonly ParameterKey<TextureViewHandle> WaterInfoset 2, binding 1.
public const int WaterInfoSetWhich descriptor set holds waterInfo.
public const uint WaterInfoBindingWhich binding within set 2 waterInfo occupies.
public static readonly ParameterKey<SamplerHandle> InfoSamplerset 2, binding 2.
public const int InfoSamplerSetWhich descriptor set holds infoSampler.
public const uint InfoSamplerBindingWhich binding within set 2 infoSampler occupies.
public static readonly ParameterKey<BufferHandle> Nodesset 2, binding 3.
public const int NodesSetWhich descriptor set holds nodes.
public const uint NodesBindingWhich binding within set 2 nodes occupies.
public static readonly ParameterKey<int> BufferedWaterWavesWaveCountBufferedWaterWaves.waveCount at byte 0.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 0.
public static readonly ParameterKey<Vector2> WindowOriginwindowOrigin at byte 64.
public static readonly ParameterKey<float> WindowExtentwindowExtent at byte 72, declared 512.
public static readonly ParameterKey<float> AttenuationDepthattenuationDepth at byte 76, declared 2.
public static readonly ParameterKey<float> WaterTimewaterTime at byte 80, declared 0.
public static readonly ParameterKey<float> EdgeFadeedgeFade at byte 84, declared 32.
public static readonly ParameterKey<float> RestHeightrestHeight at byte 88, declared 0.
public static readonly ParameterKey<float> ShoreDepthshoreDepth at byte 92, declared 0.25.
public static readonly ParameterKey<float> FoamDepthfoamDepth at byte 96, declared 0.4.
public static readonly ParameterKey<float> FoamCrestfoamCrest at byte 100, declared 0.5.
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 0 the uniform block occupies.
public const int PerFrameBlockSizeSet 0's block size in bytes.
public const int PerFrameBlockSetWhich descriptor set holds set 0's block.
public const uint PerFrameBlockBindingWhich binding within set 0 set 0's block occupies.
public const int PerMaterialBlockSizeSet 2's block size in bytes.
public const int PerMaterialBlockSetWhich descriptor set holds set 2's block.
public const uint PerMaterialBlockBindingWhich binding within set 2 set 2's block occupies.
Used by (2)
- WaterMeshRendererVixen.Rendering.Water
- WaterSurfacePassVixen.Rendering.Water