Programming API Reference: EduGraf

Class public abstract Graphic

This is the central abstraction enabling platform independent graphic programming. Refer to the programming concepts documentation to understand how the different creation methods work together.

Method public static Visual CreateGroup()

Create a new group of objects that is transformed together.
  • string name : of the group (not used by the framework).

Method public abstract TextureHandle CreateTexture()

Create a new texture from an image.
  • Image<Rgba32image

Method public abstract Shading CreateShading()

Create a new shading, i.e. a particular look, from light- and material-properties.

Method public abstract Surface CreateSurface()

Create a new surface with a particular shading and geometry.

Method public abstract VisualPart CreateVisual()

Create a newn object with the given surface that can be placed into the virtual world.

Method public abstract void Render()

Display the rendering in the given window.