Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_hlhsr_mode(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_hlhsr_mode(3g)  —  Subroutines

 

Name

pinq_hlhsr_mode − Returns the HLHSR update state, current HLHSR mode, and requested HLHSR mode. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pinq_hlhsr_mode (
  Pint         wsid,       /∗ (I) Workstation identifier ∗/
  Pint        ∗error_ind,  /∗ (O) Error indicator ∗/
  Pupd_st     ∗state,      /∗ (O) HLHSR mode update state ∗/
  Pint        ∗cur_mode,   /∗ (O) Current HLHSR mode ∗/
  Pint        ∗req_mode    /∗ (O) Requested HLHSR mode ∗/
)

 

Data Structures

typedef enum {
    PUPD_NOT_PEND,    /∗ no update pending ∗/
    PUPD_PEND         /∗ update pending ∗/
} Pupd_st;

Constants

Defined Argument      Constant                   Description
---------------------------------------------------------------------------
cur_mode,             PHLHSR_MODE_NONE           No HLHSR processing
req_mode              PHLHSR_MODE_PAINTERS       Painters algorithm
                      PHLHSR_MODE_ZBUFFER        Z-buffer algorithm
                      PHLHSR_MODE_SCANLINE       Scan line algorithm
                      PHLHSR_MODE_HIDDEN_LINE    Hidden line algorithm
                      PHLHSR_MODE_IGNORE_ID      Ignore HLHSR identifier -
                                                 no HLHSR
                      PHLHSR_MODE_AVERAGE_Z      Old Painters algorithm
---------------------------------------------------------------------------

Description

pinq_hlhsr_mode queries the workstation state list and returns the HLHSR update state, the current HLHSR mode, and the requested HLHSR mode.  If an application requested an HLHSR mode change but Digital PHIGS did not provide one before the application called this function, the HLHSR update state is PUPD_PEND. 

See Also

pinq_hlhsr_id_facs
pinq_hlhsr_mode_facs
pset_hlhsr_id
pset_hlhsr_mode

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