net.rim.device.api.openvg
Interface VG

All Known Subinterfaces:
VG10, VG11

public interface VG

The VG interface is the parent interface for the BlackBerry Java(TM) programming language bindings for OpenVG(R)

The documentation in this interface and its subinterfaces is normative with respect to instance variable names and values, method names and signatures, and exception behavior. The remaining documentation is placed here for convenience and does not replace the normative documentation found in the OpenVG specifications, relevant extension specifications, and the OpenVG specification versions referenced by any of the preceding specifications.

A VG object is obtained by calling VGUtils.getVG(EGLContext). The returned object will implement VG10 and VG11, future version of interfaces or any available extension interfaces. The returned object must be cast to the appropriate interface (possibly following an instanceof check) in order to call VG methods.

A common superinterface is used for OpenVG, future versions and Khronos-defined core extensions. In order to determine if the implementation supports a given feature call vgGetString(VG10.VG_VERSION).

See Also:
VGUtils, EGL12
Since:
BlackBerry API 6.0.0






Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal