Axiom.RenderSystems.OpenGLES.GLESHardwarePixelBuffer.AllocateBuffer C# (CSharp) Méthode

AllocateBuffer() protected méthode

protected AllocateBuffer ( ) : void
Résultat void
		protected void AllocateBuffer()
		{
			if ( _buffer.Data != IntPtr.Zero )
				return; //allready allocated

			data = new byte[ sizeInBytes ];
			_buffer.Data = Memory.PinObject( data );
			// TODO use PBO if we're HBU_DYNAMIC
		}