MotionVectorsKeys
public static class MotionVectorsKeysTyped keys for shader MotionVectors.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (30)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> SkinnedAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> AlphaTestedAffects 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> OpacityMapset 2, binding 1.
public const int OpacityMapSetWhich descriptor set holds opacityMap.
public const uint OpacityMapBindingWhich binding within set 2 opacityMap occupies.
public static readonly ParameterKey<SamplerHandle> OpacitySamplerset 2, binding 2.
public const int OpacitySamplerSetWhich descriptor set holds opacitySampler.
public const uint OpacitySamplerBindingWhich binding within set 2 opacitySampler occupies.
public static readonly ParameterKey<BufferHandle> Bonesset 2, binding 3.
public const int BonesSetWhich descriptor set holds bones.
public const uint BonesBindingWhich binding within set 2 bones occupies.
public const int VertexAttributeCountHow many attributes the vertex stage takes from a buffer.
public const uint PositionLocationWhich location the vertex stage reads position from.
public const uint TexcoordLocationWhich location the vertex stage reads texcoord from.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 0.
public static readonly ParameterKey<Vector3> ViewPositionviewPosition at byte 64.
public static readonly ParameterKey<Matrix4x4> Viewview at byte 80.
public static readonly ParameterKey<Matrix4x4> PreviousViewProjectionpreviousViewProjection at byte 144.
public static readonly ParameterKey<float> AlphaCutoffalphaCutoff at byte 0, 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 1 the uniform block occupies.
public const int PerViewBlockSizeSet 1's block size in bytes.
public const int PerViewBlockSetWhich descriptor set holds set 1's block.
public const uint PerViewBlockBindingWhich binding within set 1 set 1'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.