Table of Contents

 
LockSurface
 

Purpose

Locks the primary surface for direct access

 

Protoype

void CVideo::LockSurface ()
 

Description

This function locks the primary surface and allows per-pixel control over the surface

 

Use

CVideo video;
video.LockSurface();
 

Prev: GetScreenWidth
Next: SetFPS