PEXSetInteriorBundleIndex(3) — Subroutines
Name
PEXSetInteriorBundleIndex - Set Interior Bundle Index
Synopsis
void PEXSetInteriorBundleIndex(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 interior bundle table index.
Returns
None
Description
This function creates an output primitive attribute which sets the interior bundle index attribute. If the specified index is not defined, the default index one is used. If index one is not defined, the following bundle values are used: interior style is PEXInteriorStyleHollow; interior style index is one; surface color is indexed color one; reflection attributes are ambient, diffuse and specular coefficient of 1.0, specular concentration and transmission coefficient of 0.0 and specular color of indexed color one; reflection model is PEXReflectionNone; surface interpolation is PEXSurfaceInterpNone; and surface approximation is method 1 (PEXApproxImpDep) with u and v tolerances of 1.0. The back-facing attributes are set to identical values as the front-facing attributes.
An interior bundle table index of 0 will produce a BadPEXOutputCommand error.
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetIndividualASF, PEXCreateLookupTable