D2Version function

Requires: Direct2D.lg32

Purpose

Returns a Single with the version number for the GB Direct2D library.

Syntax

version! = D2Version()

version!: Single

Description

The first Direct2D library supporting this function is version 1.1. If the function is missing you're using an older version of the Direct2D library.

Example

$Library "Direct2D"

MsgBox "Direct2D version:" + Str(D2Version())

See Also

D2GetRT.

{Created by Sjouke Hamstra; Last updated: 12/03/2021 by James Gaite}