ColorKey

Epo
02-24-2002, 09:20 PM
Can someone please explain to me what they are? :)

I'm using DirectDraw and to do transparencies I need to set my ColorKeys (I'm having trouble doing this because I have no Idea what they are) :)

Thanks :)

denmeister
02-25-2002, 06:15 AM
A color key is the color that DX will use as a transparent color. Similar to a GIF89a "transparent color" property, any pixel that has the same binary value as your color key will not be drawn.

You should be aware that Direct3DDevice8.CopyRects method does not support color keys.

There are two forms of color keys, destination color keys and source color keys. See the DirectX 8.1 SDK for more info.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum