protected VertexReaderDynarec(SafeILGenerator SafeILGenerator, VertexTypeStruct VertexType) { this.Offset = 0; this.SafeILGenerator = SafeILGenerator; this.VertexType = VertexType; this.VertexDataArgument = SafeILGenerator.DeclareArgument(typeof(void*), 0); this.VertexInfoArgument = SafeILGenerator.DeclareArgument(typeof(VertexInfo*), 0); this.IndexArgument = SafeILGenerator.DeclareArgument(typeof(int), 0); this.CountArgument = SafeILGenerator.DeclareArgument(typeof(int), 0); this.LocalColor = SafeILGenerator.DeclareLocal<uint>("LocalColor", false); }
public VariableReference(string Name, CType CType, SafeArgument Argument) { this.Name = Name; this.CType = CType; this.Argument = Argument; }