GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
glpp::face_cull_unit Struct Reference

Unit that controls face culling. More...

#include <face_cull_unit.hpp>

Inheritance diagram for glpp::face_cull_unit:
glpp::noncopyable

Public Member Functions

void enable ()
 Enable face culling.
void disable ()
 Disable face culling.
bool is_enabled ()
 Check if face culling is enabled.
void set_culled_face (face_type face)
 Set which faces will be culled.
face_type get_culled_face ()
 Get which faces will be culled.
void set_frontface_orientation (face_orientation orientation)
 Define the orientation of front faces.
face_orientation get_frontface_orientation (face_orientation)
 Get the orientation of front faces.
- Public Member Functions inherited from glpp::noncopyable
 noncopyable (noncopyable &)
noncopyableoperator= (noncopyable &)

Protected Member Functions

 face_cull_unit (context &ctx)
 Construction is permitted only by glpp::context.

Protected Attributes

contextm_ctx
 Reference to context that this is unit is part of.

Friends

class context
 All units are friend of context.

Detailed Description

Unit that controls face culling.

Remarks
non-copyable, non-inheritable

Member Function Documentation

void glpp::face_cull_unit::disable ( )
void glpp::face_cull_unit::enable ( )
face_type glpp::face_cull_unit::get_culled_face ( )
face_orientation glpp::face_cull_unit::get_frontface_orientation ( face_orientation  )
bool glpp::face_cull_unit::is_enabled ( )
void glpp::face_cull_unit::set_culled_face ( face_type  face)
void glpp::face_cull_unit::set_frontface_orientation ( face_orientation  orientation)

Define the orientation of front faces.

http://www.opengl.org/sdk/docs/man4/xhtml/glFrontFace.xml


The documentation for this struct was generated from the following files: