Axiom.RenderSystems.Xna.XnaTexture.GetBuffer C# (CSharp) Method

GetBuffer() public method

Return hardware pixel buffer for a surface. This buffer can then be used to copy data from and to a particular level of the texture.
The buffer is invalidated when the resource is unloaded or destroyed. Do not use it after the lifetime of the containing texture.
public GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
face int /// Face number, in case of a cubemap texture. Must be 0 /// for other types of textures. /// For cubemaps, this is one of /// +X (0), -X (1), +Y (2), -Y (3), +Z (4), -Z (5) ///
mipmap int /// Mipmap level. This goes from 0 for the first, largest /// mipmap level to getNumMipmaps()-1 for the smallest. ///
return Axiom.Graphics.HardwarePixelBuffer
		public override HardwarePixelBuffer GetBuffer( int face, int mipmap )
		{
			return this.GetSurfaceAtLevel( face, mipmap );
		}