ParticleMeshKeys
public static class ParticleMeshKeysTyped keys for shader ParticleMesh.
Fields and properties (19)
public const string ShaderNameThe shader's name, as the effect system asks for it.
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 InstanceRow0LocationWhich location the vertex stage reads instanceRow0 from.
public const uint InstanceRow1LocationWhich location the vertex stage reads instanceRow1 from.
public const uint InstanceRow2LocationWhich location the vertex stage reads instanceRow2 from.
public const uint InstanceColorLocationWhich location the vertex stage reads instanceColor from.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 0.
public static readonly ParameterKey<Vector4> Tinttint at byte 0, declared 1, 1, 1, 1.
public static readonly ParameterKey<float> Emissiveemissive at byte 16, declared 1.
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.
Used by (1)
- ParticleMeshMaterialVixen.Rendering