Class SingleConstantLoader
ConstantLoader<T> that allows loading a float constant value.
Inherited Members
Namespace: TheXDS.MCART.Types.Extensions.ConstantLoaders
Assembly: MCART.TypeFactory.dll
Syntax
public class SingleConstantLoader : ConstantLoader<float>, IConstantLoader, IEquatable<IConstantLoader>
Methods
| Edit this page View SourceEmit(ILGenerator, float)
Loads a float constant value into the MSIL instruction sequence.
Declaration
public override void Emit(ILGenerator il, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| ILGenerator | il | The IL generator to use. |
| float | value | The constant value to load into the instruction sequence. |