Wiki > TV3D65 Index > TVEngine

SetAntialiasing

DESCRIPTION

-This page has been generated automatically. Please improve it by adding a description and additional information.

DECLARATION

VB.NET SetAntialiasing(bEnable As Boolean , eNumSamples As CONST_TV_MULTISAMPLE_TYPE)
C++ void SetAntialiasing(bool bEnable , cCONST_TV_MULTISAMPLE_TYPE eNumSamples)

PARAMETERS

NAMEOPTIONALDESCRIPTION
bEnableNobEnable description
eNumSamplesNoeNumSamples description

RETURN VALUE

Null Does not return a value.

EXAMPLES

ExampleBasic example.

'VB.NET example
 
Dim AntiAliasing as integer
 
'Generally this setting would be read from file when the engine starts 
AntiAliasing = 4 'read in the last settings to this variable
 
'set the AA level
If AntiAliasing = 2 Then
     TV.SetAntialiasing(True, CONST_TV_MULTISAMPLE_TYPE.TV_MULTISAMPLE_2_SAMPLES)
Else If  AntiAliasing = 4 Then
     TV.SetAntialiasing(True, CONST_TV_MULTISAMPLE_TYPE.TV_MULTISAMPLE_4_SAMPLES)
Else If AntiAliasing = 6 Then
     TV.SetAntialiasing(True, CONST_TV_MULTISAMPLE_TYPE.TV_MULTISAMPLE_6_SAMPLES)
Else If AntiAliasing = 8 Then
     TV.SetAntialiasing(True, CONST_TV_MULTISAMPLE_TYPE.TV_MULTISAMPLE_8_SAMPLES)
End If
 

TIPS

  • Please add any notes or tips for this method.
 
tvengine/setantialiasing.txt · Last modified: 2013/11/22 13:31