lock

abstract fun lock(colorBuffer: ColorBuffer): Boolean(source)

Makes colorBuffer available to draw with, waiting for the Direct3D commands that write it

Return

true when the color buffer was locked