Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetReflectionModel(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetReflectionModel(3)  —  Subroutines

Name

PEXSetReflectionModel - Set Surface Reflection Model

Synopsis

void PEXSetReflectionModel(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 surface reflection model (PEXReflectionNone, PEXReflectionAmbient, PEXReflectionDiffuse, PEXReflectionSpecular).

Returns

None

Description

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