Programming API Reference: EduGraf.OpenGL
Class public abstract GlGraphic
This is the generic OpenGL implementation of the Graphic abstraction.Method public override Shading
CreateShading()
Refer to the documentation of the class Graphic.Method public override Surface
CreateSurface()
Refer to the documentation of the class Graphic.Method public override VisualPart
CreateVisual()
Refer to the documentation of the class Graphic.Method public override GlTextureHandle
CreateTexture()
Refer to the documentation of the class Graphic.Method public override void
Render()
Refer to the documentation of the class Graphic.Method public GlTextureHandle
CreateRgbTexture()
Create a new rgb-texture with pixel-type unsigned byte or float.Method public GlTextureHandle
CreateRgbaTexture()
Create a new rgba-texture with pixel-type unsigned byte or float.Method public GlTextureHandle
CreateRedTexture()
Create a new texture having a single color channel with pixel-type unsigned byte or float.Method public GlTextureHandle
CreateCubeTexture()
Create a new cube-texture.Image
<TPixel
> leftImage
<TPixel
> rightImage
<TPixel
> bottomImage
<TPixel
> topImage
<TPixel
> frontImage
<TPixel
> back
Method public void
TakePicture()
Take a color-picture of the scene and store it in the provided texture.