PEXSetDepthCueIndex(3) — Subroutines
Name
PEXSetDepthCueIndex - Set Depth Cue Index
Synopsis
void PEXSetDepthCueIndex(Display ∗display, XID resource_id, PEXOCRequestType req_type, unsigned int index)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
indexThe depth cue table index.
Returns
None
Description
This function creates an output primitive attribute which sets the depth-cue index attribute. If the specified index is not defined, index zero is used. If index zero is not defined, depth cueing is turned off.
Errors
BadPEXOutputCommand
The depth cue index value exceeds 65534.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXCreateLookupTable