Canvas3DContextAttributes QML Type

Attribute set for Context3D More...

Import Statement: import QtCanvas3D 1.0
Since: QtCanvas3D 1.0

Properties

Detailed Description

Canvas3DContextAttributes is an attribute set that can be given as parameter on first call to Canvas3D object's getContext(string type, Canvas3DContextAttributes options) method call. It can also be requested from the Context3D later on to verify what exact attributes are in fact enabled/disabled in the created context.

See also Context3D and Canvas3D.

Property Documentation

alpha : bool

Ignored. Defaults to false.


antialias : bool

Specifies whether antialiasing buffer is created for the default render target of the Context3D. Defaults to false.


depth : bool

Specifies whether a depth attachment is to be created and attached to the default render target of the Context3D. Defaults to false.


failIfMajorPerformanceCaveat : bool

Ignored. Defaults to false.


preferLowPowerToHighPerformance : bool

Ignored. Defaults to false.


premultipliedAlpha : bool

Ignored. Defaults to false.


preserveDrawingBuffer : bool

Ignored. Defaults to false.


stencil : bool

Specifies whether a stencil attachment is to be created and attached to the default render target of the Context3D. Defaults to false.