Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

huh?

Started by Xyan Dec 29, 2001 at 5:16 AM 3 replies 550+ views
Original Post
Xyan
Xyan
What''s HGLRC and HDC mean actually? Handle to gl rendering context I know but what''s it mean, and hdc?
v71
v71
just the handle for the device context in a window application.
i know ...i''m always low on words...

Xyan
Xyan
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
Brannon
Brannon
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
-Brannon
zedzeek
zedzeek
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.