private CopyTexImage2D ( |
||
target | ||
level | ||
internalformat | ||
x | ||
y | ||
width | ||
height | ||
border | ||
Résultat | void |
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); }