Exemple #1
0
        public static unsafe uint GenTexture()
        {
            uint[] textures = new uint[1];

            fixed(uint *ptr = &textures[0])
            GLCore.GenTextures(1, ptr);

            return(textures[0]);
        }