Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetBFReflectionModel(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetBFReflectionModel(3)  —  Subroutines

Name

PEXSetBFReflectionModel - Set Back-Face Surface Reflection Model

Synopsis

void PEXSetBFReflectionModel(Display ∗display, XID resource_id, PEXOCRequestType req_type, int model)

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

modelThe back-facing surface reflection model (PEXReflectionNone, PEXReflectionAmbient, PEXReflectionDiffuse, PEXReflectionSpecular).

Returns

None

Description

This function creates an output primitive attribute which sets the back-facing surface reflection model attribute.  If the specified reflection model is not supported, PEXReflectionNone is used. Supported values for back-facing surface reflection model 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