# 3DF - How to test if 3d driver is available

**URL:** <https://forum.techsoft3d.com/t/3df-how-to-test-if-3d-driver-is-available/1404>\
**Category:** HOOPS Visualize Desktop\
**Tags:** code, learn, knowledge-base, how-to\
**Created:** [June 18, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/3df-how-to-test-if-3d-driver-is-available/1404 "2022-06-18T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [June 18, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/3df-how-to-test-if-3d-driver-is-available/1404/1 "2022-06-18T04:00:00Z")

</div>

## Sample code to test if the opengl2 driver is found

`if (HC_QShow_Existence("/driver/opengl2", "self")) `  
`{ /* opengl2 driver found */ } `
