We will start with the most basic approach that's called immediate mode. In this mode, no additional setup of OpenGL buffers or shaders is required. You can just supply a bunch of geometric primitives and get the result right away. Immediate mode is now deprecated because it works much slower and is less flexible than more advanced techniques. However, it's so much easier than them that basically every OpenGL tutorial starts with describing the immediate mode calls. In this section, we'll show how to perform some simple OpenGL drawing with very little code. A more modern approach will be covered in the next section of this chapter.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine