Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetSurfaceInterpMethod(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetSurfaceInterpMethod(3)  —  Subroutines

Name

PEXSetSurfaceInterpMethod - Set Surface Interpolation Method

Synopsis

void PEXSetSurfaceInterpMethod(Display ∗display, XID resource_id, PEXOCRequestType req_type, int method)

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).

methodThe surface interpolation method (PEXSurfaceInterpNone, PEXSurfaceInterpColor, PEXSurfaceInterpDotProduct, PEXSurfaceInterpNormal).

Returns

None

Description

This function creates an output primitive attribute which sets the surface interpolation method attribute.  If the specified interpolation method is not supported, PEXSurfaceInterpNone is used. Supported values for surface interpolation are inquirable via PEXGetEnumTypeInfo.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXGetEnumTypeInfo, PEXSetIndividualASF

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