IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

RasterMode QML Type

The RasterMode render state allows to control the type of rasterization to be performed.

This type was introduced in Qt 5.14.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RasterMode QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.14

  • Inherits:: RenderState

  • Instantiates:: QRasterMode

  • Group: RasterMode is part of renderstates

Detailed Description

The QRasterMode class is used to control the rasterization step of the primitives at render time. This can be used to choose whether we only want to show points, edges or fill a primitive.

This is not supported when rendering on OpenGL ES 2.0 platforms.

See Also

Property Documentation

 

faceMode : enumeration

Holds the face mode to be used. Controls on which face the raster mode is to be applied.

  • Front Applies to front faces only

  • Back Applies to back faces only

  • FrontAndBack Applies to front and back faces

rasterMode : enumeration

Holds the raster mode to be used.

  • Points Vertices at the start of an edge are drawn as points.

  • Lines Edges of a polygon are draw as line segments.

  • Fill Fills the interior of the primitive.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+