Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Xyan

huh?

This topic is 6112 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What''s HGLRC and HDC mean actually? Handle to gl rendering context I know but what''s it mean, and hdc?

Share this post


Link to post
Share on other sites
Advertisement
just the handle for the device context in a window application.
i know ...i''m always low on words...

Share this post


Link to post
Share on other sites
Thanks. But what's the handle for, what does it do?
Is it like a pointer to a windows window(ok crappy written).

Edited by - Xyan on December 29, 2001 7:42:20 AM

Share this post


Link to post
Share on other sites
Straight out of MSDN:

Device Context:
Structure that defines a set of graphic objects and their attributes, and the graphic modes that affect output. In addition, the device context (DC) refers to a physical output device—its name, device driver, and other attributes. GDI function call parameters contain a handle to a DC to include the attributes of the specified device. There are four types of DC: display (supports drawing operations on a video display terminal), printer (supports drawing operations on a printer or plotter), memory (supports drawing operations on a bitmap), and information (supports retrieval of device data.) See also graphic modes, graphic objects.

As for rendering contexts, look them up in MSDN, it''s way too long to post here.


-Brannon

Share this post


Link to post
Share on other sites
guessing
hglrc handle gl rendering context
hdc handle device context

a handle a global number sort of like an ID

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!