glACreateContext()
Synopsis
GLAContext glACreateContext(
struct TagItem *tagList)
Function
Crates a GL rendering context that can be later used in subsequent
calls.
Result
A valid GL context or NULL of creation was not succesfull.
glADestroyContext()
Synopsis
void glADestroyContext(
GLAContext ctx)
Function
Destroys the GL rendering context and frees all resoureces.
Inputs
ctx - pointer to GL rendering context. A NULL pointer will be
ignored.
Result
The GL context is destroyed. Do no use it anymore.
glAGetCurrentContext()
Synopsis
GLAContext glAGetCurrentContext(
)
Function
Returns the currently selected GL rendering context.
Result
The GL rendering context which is currently active.
glASetRast()
Synopsis
void glASetRast(
GLAContext ctx,
struct TagItem * tagList)
Function
Sets a new rendering target for an existing context
Inputs
ctx -
tagList - a pointer to tags to be used during creation.
Tags
GLA_Window - pointer to Window onto which scene is to be rendered. Must
be provided.