Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_hlhsr_mode_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_hlhsr_mode_facs(3g)  —  Subroutines

 

Name

pinq_hlhsr_mode_facs − Returns the list of available HLHSR modes. 

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

Syntax

void pinq_hlhsr_mode_facs (
  Pint        wstype,      /∗ (I) Workstation type ∗/
  Pint        num_elem,    /∗ (I) Number of elements in the application
                                  list ∗/
  Pint        start,       /∗ (I) Starting position within the Digital
                                  PHIGS list of HLHSR modes ∗/
  Pint       ∗error_ind,   /∗ (O) Error indicator ∗/
  Pint_list  ∗modes,       /∗ (O) List of HLHSR modes ∗/
  Pint       ∗act_num      /∗ (O) Total number of defined HLHSR modes
                                  in the Digital PHIGS list ∗/
)

 

Data Structures

typedef struct {
    Pint      num_ints;   /∗ number of Pints in the list ∗/
    Pint     ∗ints;       /∗ list of integers ∗/
} Pint_list;

Constants

Defined Argument      Constant                   Description
---------------------------------------------------------------------------
HLHSR modes           PHLHSR_MODE_NONE           No HLHSR processing
                      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_facs queries the workstation description table and returns the list of available HLHSR modes. 
 

The application must provide the space used by the list.  The application passes the address of the list, an array of integers, in the ints field of the modes argument, and passes the size in the num_elem argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the modes argument. 

See Also

pinq_hlhsr_id_facs
pinq_hlhsr_mode
pset_hlhsr_id
pset_hlhsr_mode

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