Exemplo n.º 1
0
        public void Alloc()
        {
            internalStruct.face = GenericMarshal.ToPtr(Face);

            internalStruct.vertex = GenericMarshal.ToPtr(Vertex);

            internalStructPtr = StructMarshal.StructToIntPtr(internalStruct);
        }
Exemplo n.º 2
0
        public void Alloc()
        {
            internalStruct.elementCount = ElementCount;

            internalStruct.arraySize = ArraySize;

            internalStruct.array = GenericMarshal.ToPtr(Array);

            internalStructPtr = StructMarshal.StructToIntPtr(internalStruct);
        }
Exemplo n.º 3
0
        public void Alloc()
        {
            internalStruct.dir = Dir;

            internalStruct.type = Type;

            internalStruct.param = GenericMarshal.ToPtr(Param);

            internalStructPtr = StructMarshal.StructToIntPtr(internalStruct);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        public void Alloc()
        {
            internalStruct.m = GenericMarshal.ToPtr(M);

            internalStructPtr = StructMarshal.StructToIntPtr(internalStruct);
        }