Exemplo n.º 1
0
        public static unsafe int TestVectorLoadFromExplicitStruct()
        {
            var header = new ExplicitVectors {
            };

            return(header.B.x);
        }
Exemplo n.º 2
0
        public static unsafe int TestVectorStoreToExplicitStruct(ref int2 a)
        {
            var header = new ExplicitVectors {
                B = a
            };

            return(header.B.x);
        }