Exemplo n.º 1
0
        protected void ReadColor5551()
        {
            Align2();
            var Value = *((ushort *)Pointer);

            _SetVertexInfoColor(PixelFormatDecoder.Decode_RGBA_5551_Pixel(Value));
            Pointer += sizeof(ushort);
        }
Exemplo n.º 2
0
        protected void ReadColor5551()
        {
            Align2();
            var value = *(ushort *)Pointer;
            var color = PixelFormatDecoder.Decode_RGBA_5551_Pixel(value);

            _SetVertexInfoColor(color);
            PointerOffset += sizeof(ushort);
        }