Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public VariableReference(string Name, CType CType, SafeArgument Argument)
 {
     this.Name = Name;
     this.CType = CType;
     this.Argument = Argument;
 }
Exemplo n.º 3
0
 public VariableReference(string Name, CType CType, SafeArgument Argument)
 {
     this.Name     = Name;
     this.CType    = CType;
     this.Argument = Argument;
 }