public void Alloc() { internalStruct.face = GenericMarshal.ToPtr(Face); internalStruct.vertex = GenericMarshal.ToPtr(Vertex); internalStructPtr = StructMarshal.StructToIntPtr(internalStruct); }
public void Alloc() { internalStruct.elementCount = ElementCount; internalStruct.arraySize = ArraySize; internalStruct.array = GenericMarshal.ToPtr(Array); internalStructPtr = StructMarshal.StructToIntPtr(internalStruct); }
public void Alloc() { internalStruct.dir = Dir; internalStruct.type = Type; internalStruct.param = GenericMarshal.ToPtr(Param); internalStructPtr = StructMarshal.StructToIntPtr(internalStruct); }
public void Alloc() { internalStruct.a = A; internalStruct.b = B; internalStruct.c = C; internalStruct.d = D; internalStruct.e = E; internalStruct.f = GenericMarshal.ToPtr(F); internalStructPtr = StructMarshal.StructToIntPtr(internalStruct); }
public void Alloc() { internalStruct.m = GenericMarshal.ToPtr(M); internalStructPtr = StructMarshal.StructToIntPtr(internalStruct); }