Canvas3DAbstractObject QML Type

Base type for Canvas3D types representing OpenGL resources. 更多...

Import Statement: import QtCanvas3D 1.1
开始支持版本: QtCanvas3D 1.0
派生类:

Canvas3DBuffer, Canvas3DFrameBuffer, Canvas3DProgram, Canvas3DRenderBuffer, Canvas3DShader, Canvas3DTexture, and Canvas3DUniformLocation

属性

详细描述

An uncreatable QML type that is the base type for other Canvas3D types that represent OpenGL resources.

属性

invalidated : bool

Indicates if this object has been invalidated. Invalidated objects cannot be valid parameters in Context3D methods and will result in Context3D.INVALID_OPERATION error if used. Objects are invalidated when context is lost and cannot be validated again.

参见 Canvas3D.contextLost.


name : string

Name of the object.