Module glu

A part of the standard OpenGL Utility api.

Description

A part of the standard OpenGL Utility api. See www.opengl.org

Booleans are represented by integers 0 and 1.

Data Types

clamp()

abstract datatype: clamp()

A float clamped between 0.0 - 1.0

enum()

abstract datatype: enum()

An integer defined in gl.hrl

offset()

abstract datatype: offset()

An integer which is an offset in an array

Function Index

build1DMipmapLevels/9*See external documentation.
build1DMipmaps/6*See external documentation.
build2DMipmapLevels/10*See external documentation.
build2DMipmaps/7*See external documentation.
build3DMipmapLevels/11*See external documentation.
build3DMipmaps/8*See external documentation.
checkExtension/2*See external documentation.
errorString/1*See external documentation.
getString/1*See external documentation.
lookAt/9*See external documentation.
ortho2D/4*See external documentation.
perspective/4*See external documentation.
pickMatrix/5*See external documentation.
project/6*See external documentation.
tesselate/2*General purpose polygon triangulation.
unProject/6*See external documentation.
unProject4/9*See external documentation.

Function Details

build1DMipmapLevels/9 *

build1DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build1DMipmaps/6 *

build1DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

build2DMipmapLevels/10 *

build2DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build2DMipmaps/7 *

build2DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

build3DMipmapLevels/11 *

build3DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Depth::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build3DMipmaps/8 *

build3DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Depth::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

checkExtension/2 *

checkExtension(ExtName::[integer()], ExtString::[integer()]) -> 0 | 1

See external documentation.

errorString/1 *

errorString(Error::enum()) -> string()

See external documentation.

getString/1 *

getString(Name::enum()) -> string()

See external documentation.

lookAt/9 *

lookAt(EyeX::float(), EyeY::float(), EyeZ::float(), CenterX::float(), CenterY::float(), CenterZ::float(), UpX::float(), UpY::float(), UpZ::float()) -> ok

See external documentation.

ortho2D/4 *

ortho2D(Left::float(), Right::float(), Bottom::float(), Top::float()) -> ok

See external documentation.

perspective/4 *

perspective(Fovy::float(), Aspect::float(), ZNear::float(), ZFar::float()) -> ok

See external documentation.

pickMatrix/5 *

pickMatrix(X::float(), Y::float(), DelX::float(), DelY::float(), Viewport::{integer()}) -> ok

See external documentation.

project/6 *

project(ObjX::float(), ObjY::float(), ObjZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), WinX::float(), WinY::float(), WinZ::float()}

See external documentation.

tesselate/2 *

tesselate(X1::Vec3, Vs::[Vec3]) -> {Triangles, VertexPos}

General purpose polygon triangulation. The first argument is the normal and the second a list of vertex positions. Returned is a list of indecies of the vertices and a binary (64bit native float) containing an array of vertex positions, it starts with the vertices in Vs and may contain newly created vertices in the end.

unProject/6 *

unProject(WinX::float(), WinY::float(), WinZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), ObjX::float(), ObjY::float(), ObjZ::float()}

See external documentation.

unProject4/9 *

unProject4(WinX::float(), WinY::float(), WinZ::float(), ClipW::float(), Model::{float()}, Proj::{float()}, View::{integer()}, NearVal::float(), FarVal::float()) -> {integer(), ObjX::float(), ObjY::float(), ObjZ::float(), ObjW::float()}

See external documentation.


Generated by EDoc, May 26 2008, 12:35:36.