Derm.Render.Texture1d Class Reference

One dimensional texture. More...

Inheritance diagram for Derm.Render.Texture1d:
Derm.Render.Texture Derm.Render.RenderObject Derm.Render.IRenderObject Derm.Render.IReferenced

List of all members.

Public Member Functions

 Texture1d (string path)
 Construct a Texture1d from an image file.
 Texture1d (Image image)
 Construct a Texture1d from an Image instance.
override void Bind (RenderContext ctx)
 Bind this Texture2d.
override void Create (RenderContext ctx)
 Texture1d initialization.
override void Unbind (RenderContext ctx)
 Unbind this Texture2d.

Properties

int Width [get]
 Texture width property.

Detailed Description

One dimensional texture.


Constructor & Destructor Documentation

Derm.Render.Texture1d.Texture1d ( Image  image  ) 

Construct a Texture1d from an Image instance.

Parameters:
image 
Derm.Render.Texture1d.Texture1d ( string  path  ) 

Construct a Texture1d from an image file.

Parameters:
path A System.String specifying the image file path.

Member Function Documentation

override void Derm.Render.Texture1d.Bind ( RenderContext  ctx  )  [virtual]

Bind this Texture2d.

Parameters:
ctx A RenderContext

Implements Derm.Render.Texture.

override void Derm.Render.Texture1d.Create ( RenderContext  ctx  )  [virtual]

Texture1d initialization.

Parameters:
ctx A RenderContext

Reimplemented from Derm.Render.Texture.

override void Derm.Render.Texture1d.Unbind ( RenderContext  ctx  )  [virtual]

Unbind this Texture2d.

Parameters:
ctx A RenderContext

Implements Derm.Render.Texture.


Property Documentation

int Derm.Render.Texture1d.Width [get]

Texture width property.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads