Poster of Linux kernelThe best gift for a Linux geek
icetSetContext

icetSetContext

Section: IceT Reference (3) Updated: December 1, 2006
Local index Up
 

NAME

icetSetContext -- changes the current context.

 

Synopsis

#include <GL/ice-t.h>

void icetSetContext(IceTContextcontext );

 

Description

The icetSetContext function sets the IceT state machine to work with the context defined by context and the state associated with it. Further calls to IceT functions will operate based on the state encapsulated in context. Changing the state of the context is a fast operation.

 

Errors

ICET_INVALID_VALUE

 context is not valid.

 

Warnings

None.

 

Bugs

None known.

 

Notes

The behavior of icetSetContext is somewhat indeterminate if context is not valid. Usually, an ICET_INVALID_VALUE error will be raised, but it is possible that the context will be set to some other context. Under any circumstances, a valid context will be current when this function returns.

 

Copyright

Copyright (C)2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive license for use of this work by or on behalf of the U.S. Government. Redistribution and use in source and binary forms, with or without modification, are permitted provided that this Notice and any statement of authorship are reproduced on all copies.

 

See Also

icetGetContext(3), icetCreateContext(3), icetCopyState(3)


 

Index

NAME
Synopsis
Description
Errors
Warnings
Bugs
Notes
Copyright
See Also

This document was created by man2html, using the manual pages.
Time: 21:48:06 GMT, April 16, 2011