Skip to content

CopyPixelFast

Claude edited this page Oct 27, 2026 · 10 revisions

Blitz3DBlitzPlusBlitzBasic

CopyPixelFast

CopyPixelFast src_x:Int32, src_y:Int32, src_buffer:Int32, dest_x:Int32, dest_y:Int32, dest_buffer:Int32=0
Parameter Type Default Description
src_x Int32 required Horizontal position of the pixel to copy.
src_y Int32 required Vertical position of the pixel to copy.
src_buffer Int32 required The locked buffer to copy from.
dest_x Int32 required Horizontal position to copy to.
dest_y Int32 required Vertical position to copy to.
dest_buffer Int32 0 The locked buffer to copy to. Defaults to the current buffer.

Description

The quick form of CopyPixel. Both buffers must be locked with LockBuffer first, and the position is not checked against the edges of the original.

Differences

  • A buffer that is not locked stops the program with an error message. Positions outside of a buffer are ignored instead of writing into other memory like the original could.

Related Commands

CopyPixel, CopyRect, ReadPixel, ReadPixelFast, WritePixel, WritePixelFast

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally