Vixen
c7401864

WaterTilesKeys

class
csharp
public static class WaterTilesKeys

Typed keys for shader WaterTiles.

Read the guide page for this →

Fields and properties (15)

  • public const string ShaderName

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

  • public static readonly ParameterKey<TextureViewHandle> WaterSurface

    set 2, binding 1.

  • public const int WaterSurfaceSet

    Which descriptor set holds waterSurface.

  • public const uint WaterSurfaceBinding

    Which binding within set 2 waterSurface occupies.

  • public static readonly ParameterKey<SamplerHandle> PointSampler

    set 2, binding 2.

  • public const int PointSamplerSet

    Which descriptor set holds pointSampler.

  • public const uint PointSamplerBinding

    Which binding within set 2 pointSampler occupies.

  • public static readonly ParameterKey<BufferHandle> Tiles

    set 2, binding 3, writable.

  • public const int TilesSet

    Which descriptor set holds tiles.

  • public const uint TilesBinding

    Which binding within set 2 tiles occupies.

  • public static readonly ParameterKey<Int2> TileCount

    tileCount at byte 0.

  • public static readonly ParameterKey<Int2> TargetSize

    targetSize at byte 8.

  • 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)

  • WaterRendererVixen.Rendering.Water