Vixen
02b45cc4

VirtualShadowMarkKeys

class
csharp
public static class VirtualShadowMarkKeys

Typed keys for shader VirtualShadowMark.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (20)

  • public const string ShaderName

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

  • public static readonly ParameterKey<TextureViewHandle> SceneDepth

    set 2, binding 1.

  • public const int SceneDepthSet

    Which descriptor set holds sceneDepth.

  • public const uint SceneDepthBinding

    Which binding within set 2 sceneDepth occupies.

  • public static readonly ParameterKey<BufferHandle> Levels

    set 2, binding 2.

  • public const int LevelsSet

    Which descriptor set holds levels.

  • public const uint LevelsBinding

    Which binding within set 2 levels occupies.

  • public static readonly ParameterKey<BufferHandle> Marks

    set 2, binding 3, writable.

  • public const int MarksSet

    Which descriptor set holds marks.

  • public const uint MarksBinding

    Which binding within set 2 marks occupies.

  • public static readonly ParameterKey<Matrix4x4> InverseViewProjection

    inverseViewProjection at byte 0.

  • public static readonly ParameterKey<Vector3> ViewPosition

    viewPosition at byte 64.

  • public static readonly ParameterKey<float> ScreenHeightScale

    screenHeightScale at byte 76.

  • public static readonly ParameterKey<Int2> Screen

    screen at byte 80.

  • public static readonly ParameterKey<int> LevelCount

    levelCount at byte 88.

  • public static readonly ParameterKey<int> ClipmapLevels

    clipmapLevels at byte 92.

  • public static readonly ParameterKey<float> FirstTexel

    firstTexel at byte 96.

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

  • VirtualShadowAtlasVixen.Rendering