Removed GetBackBufferData from INativeBuffer interface (and from every class implementing this interface). GetBackBufferData belongs only to the GraphicsDevice.
This commit is contained in:
parent
4408acf3e8
commit
feb4114a4c
@ -149,22 +149,5 @@ namespace ANX.Framework.Windows.DX10
|
||||
buffer = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void GetBackBufferData<T>(Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -154,21 +154,5 @@ namespace ANX.Framework.Windows.DX10
|
||||
buffer = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void GetBackBufferData<T>(Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -166,21 +166,5 @@ namespace ANX.Framework.Windows.GL3
|
||||
GL.DeleteBuffers(1, ref bufferHandle);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
public void GetBackBufferData<T>(Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -162,21 +162,5 @@ namespace ANX.Framework.Windows.GL3
|
||||
GL.DeleteBuffers(1, ref bufferHandle);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
public void GetBackBufferData<T>(Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -58,9 +58,5 @@ namespace ANX.Framework.NonXNA
|
||||
void SetData<T>(GraphicsDevice graphicsDevice, T[] data) where T : struct;
|
||||
void SetData<T>(GraphicsDevice graphicsDevice, T[] data, int startIndex, int elementCount) where T : struct;
|
||||
void SetData<T>(GraphicsDevice graphicsDevice, int offsetInBytes, T[] data, int startIndex, int elementCount) where T : struct;
|
||||
|
||||
void GetBackBufferData<T>(Nullable<Rectangle> rect, T[] data, int startIndex, int elementCount) where T : struct;
|
||||
void GetBackBufferData<T>(T[] data) where T : struct;
|
||||
void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct;
|
||||
}
|
||||
}
|
||||
|
@ -142,21 +142,5 @@ namespace ANX.RenderSystem.Windows.DX11_1
|
||||
buffer = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void GetBackBufferData<T>(Framework.Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void GetBackBufferData<T>(T[] data, int startIndex, int elementCount) where T : struct
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user