CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Types | Protected Attributes | List of all members
OdTrVisRenderMode Struct Reference

#include <TrVisRenderMode.h>

Public Member Functions

 OdTrVisRenderMode ()
 
void reset ()
 
bool depthBufferEnabled () const
 
void setDepthBufferEnabled (bool bSet)
 
bool stencilBufferEnabled () const
 
void setStencilBufferEnabled (bool bSet)
 
bool polygonOffsetEnabled () const
 
void setPolygonOffsetEnabled (bool bSet)
 
bool lightingEnabled () const
 
void setLightingEnabled (bool bSet)
 
bool faceNormalsEnabled () const
 
void setFaceNormalsEnabled (bool bSet)
 
OdUInt32 serializeOut () const
 
void serializeIn (OdUInt32 nFlags)
 
const long controlVersion () const
 
bool is_2d () const
 
bool is_3d () const
 
bool is_hl () const
 
bool is_sa () const
 
bool is_sh () const
 
bool is_sw () const
 
bool is_fs () const
 
bool is_gs () const
 
bool is_fw () const
 
bool is_gw () const
 
OdGsView::RenderMode make_rm () const
 
void make_fs (OdGsView::RenderMode rm)
 
void calibrate ()
 

Protected Types

enum  Flags {
  kDepthBuffer = 0 , kStencilBuffer , kPolygonOffset , kLighting ,
  kFaceNormals , kNumFlags
}
 

Protected Attributes

bool m_bFlags [kNumFlags]
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 35 of file TrVisRenderMode.h.

Member Enumeration Documentation

◆ Flags

enum OdTrVisRenderMode::Flags
protected
Enumerator
kDepthBuffer 
kStencilBuffer 
kPolygonOffset 
kLighting 
kFaceNormals 
kNumFlags 

Definition at line 38 of file TrVisRenderMode.h.

Constructor & Destructor Documentation

◆ OdTrVisRenderMode()

OdTrVisRenderMode::OdTrVisRenderMode ( )
inline

Definition at line 51 of file TrVisRenderMode.h.

Member Function Documentation

◆ calibrate()

void OdTrVisRenderMode::calibrate ( )
inline

Definition at line 140 of file TrVisRenderMode.h.

◆ controlVersion()

const long OdTrVisRenderMode::controlVersion ( ) const
inline

Definition at line 63 of file TrVisRenderMode.h.

◆ depthBufferEnabled()

bool OdTrVisRenderMode::depthBufferEnabled ( ) const
inline

Definition at line 54 of file TrVisRenderMode.h.

◆ faceNormalsEnabled()

bool OdTrVisRenderMode::faceNormalsEnabled ( ) const
inline

Definition at line 58 of file TrVisRenderMode.h.

◆ is_2d()

bool OdTrVisRenderMode::is_2d ( ) const
inline

Definition at line 66 of file TrVisRenderMode.h.

◆ is_3d()

bool OdTrVisRenderMode::is_3d ( ) const
inline

Definition at line 69 of file TrVisRenderMode.h.

◆ is_fs()

bool OdTrVisRenderMode::is_fs ( ) const
inline

Definition at line 84 of file TrVisRenderMode.h.

◆ is_fw()

bool OdTrVisRenderMode::is_fw ( ) const
inline

Definition at line 90 of file TrVisRenderMode.h.

◆ is_gs()

bool OdTrVisRenderMode::is_gs ( ) const
inline

Definition at line 87 of file TrVisRenderMode.h.

◆ is_gw()

bool OdTrVisRenderMode::is_gw ( ) const
inline

Definition at line 93 of file TrVisRenderMode.h.

◆ is_hl()

bool OdTrVisRenderMode::is_hl ( ) const
inline

Definition at line 72 of file TrVisRenderMode.h.

◆ is_sa()

bool OdTrVisRenderMode::is_sa ( ) const
inline

Definition at line 75 of file TrVisRenderMode.h.

◆ is_sh()

bool OdTrVisRenderMode::is_sh ( ) const
inline

Definition at line 78 of file TrVisRenderMode.h.

◆ is_sw()

bool OdTrVisRenderMode::is_sw ( ) const
inline

Definition at line 81 of file TrVisRenderMode.h.

◆ lightingEnabled()

bool OdTrVisRenderMode::lightingEnabled ( ) const
inline

Definition at line 57 of file TrVisRenderMode.h.

◆ make_fs()

void OdTrVisRenderMode::make_fs ( OdGsView::RenderMode  rm)
inline

Definition at line 111 of file TrVisRenderMode.h.

◆ make_rm()

OdGsView::RenderMode OdTrVisRenderMode::make_rm ( ) const
inline

Definition at line 96 of file TrVisRenderMode.h.

◆ polygonOffsetEnabled()

bool OdTrVisRenderMode::polygonOffsetEnabled ( ) const
inline

Definition at line 56 of file TrVisRenderMode.h.

◆ reset()

void OdTrVisRenderMode::reset ( )
inline

Definition at line 53 of file TrVisRenderMode.h.

◆ serializeIn()

void OdTrVisRenderMode::serializeIn ( OdUInt32  nFlags)
inline

Definition at line 61 of file TrVisRenderMode.h.

◆ serializeOut()

OdUInt32 OdTrVisRenderMode::serializeOut ( ) const
inline

Definition at line 60 of file TrVisRenderMode.h.

◆ setDepthBufferEnabled()

void OdTrVisRenderMode::setDepthBufferEnabled ( bool  bSet)
inline

Definition at line 54 of file TrVisRenderMode.h.

◆ setFaceNormalsEnabled()

void OdTrVisRenderMode::setFaceNormalsEnabled ( bool  bSet)
inline

Definition at line 58 of file TrVisRenderMode.h.

◆ setLightingEnabled()

void OdTrVisRenderMode::setLightingEnabled ( bool  bSet)
inline

Definition at line 57 of file TrVisRenderMode.h.

◆ setPolygonOffsetEnabled()

void OdTrVisRenderMode::setPolygonOffsetEnabled ( bool  bSet)
inline

Definition at line 56 of file TrVisRenderMode.h.

◆ setStencilBufferEnabled()

void OdTrVisRenderMode::setStencilBufferEnabled ( bool  bSet)
inline

Definition at line 55 of file TrVisRenderMode.h.

◆ stencilBufferEnabled()

bool OdTrVisRenderMode::stencilBufferEnabled ( ) const
inline

Definition at line 55 of file TrVisRenderMode.h.

Member Data Documentation

◆ m_bFlags

bool OdTrVisRenderMode::m_bFlags[kNumFlags]
protected

Definition at line 48 of file TrVisRenderMode.h.


The documentation for this struct was generated from the following file: