ImpostorKeys
public static class ImpostorKeysTyped keys for shader Impostor.
Fields and properties (27)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> BlendViewsAffects 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> AlbedoAtlasset 2, binding 1.
public const int AlbedoAtlasSetWhich descriptor set holds albedoAtlas.
public const uint AlbedoAtlasBindingWhich binding within set 2 albedoAtlas occupies.
public static readonly ParameterKey<TextureViewHandle> NormalAtlasset 2, binding 2.
public const int NormalAtlasSetWhich descriptor set holds normalAtlas.
public const uint NormalAtlasBindingWhich binding within set 2 normalAtlas occupies.
public static readonly ParameterKey<SamplerHandle> AtlasSamplerset 2, binding 3.
public const int AtlasSamplerSetWhich descriptor set holds atlasSampler.
public const uint AtlasSamplerBindingWhich binding within set 2 atlasSampler occupies.
public static readonly ParameterKey<BufferHandle> Instancesset 2, binding 4.
public const int InstancesSetWhich descriptor set holds instances.
public const uint InstancesBindingWhich binding within set 2 instances occupies.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 0.
public static readonly ParameterKey<Vector3> ViewPositionviewPosition at byte 64.
public static readonly ParameterKey<Vector3> WorldUpworldUp at byte 80.
public static readonly ParameterKey<float> AtlasSideatlas.side at byte 96.
public static readonly ParameterKey<float> AtlasCellSizeatlas.cellSize at byte 100.
public static readonly ParameterKey<float> AtlasPaddingatlas.padding at byte 104.
public static readonly ParameterKey<float> AtlasResolutionatlas.resolution at byte 108.
public static readonly ParameterKey<float> Radiusradius at byte 112.
public static readonly ParameterKey<float> Cutoffcutoff at byte 116.
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.