CopyTexImage2D() private méthode

private CopyTexImage2D ( UInt32 target, Int32 level, UInt32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border ) : void
target System.UInt32
level System.Int32
internalformat System.UInt32
x System.Int32
y System.Int32
width System.Int32
height System.Int32
border System.Int32
Résultat void
Exemple #1
0
        public void Copy(ITexture2D texture)
        {
            var  textureTEMP = (Texture2D)texture;
            uint pixelOrder, byteSizes;
            int  format = Video.surfaceFormat(Video.DefaultSurfaceFormat(), out pixelOrder, out byteSizes);

            GL.CopyTexImage2D(textureTEMP.Texture, 0, (uint)format, 0, 0, Size.Width, Size.Height, 0);
        }