Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XdSetZFunction(3X)  —  Kubota Pacfic Computer Inc. (X Direct Graphics)

NAME

XdSetZFunction − specify the current Z function

SYNOPSIS

void XdSetZFunction(wh, z_function)
      WindowHandle   ∗wh;
      short z_function;

wh Specifies the window to draw into

z_function
Specifies the z_function to use

The possible values for z_function are summarized below:

ZFUNC_OFF
no Z compare, write Z memory

ZFUNC_GT
greater than

ZFUNC_LT
less than

ZFUNC_GE
greater than or equal

ZFUNC_LE
less than or equal

ZFUNC_EQ
equal

ZFUNC_NE
not equal

ZFUNC_NONE
draw pixels, do not write Z memory

USAGE

Use XdSetZFunction to specify the current Z function. 

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026