Derm.Render.TextureRectangle Class Reference

Two dimensional texture using rectangle coordinates. More...

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

List of all members.

Public Member Functions

 TextureRectangle ()
 Construct a TextureRectangle.
override void Bind (RenderContext ctx)
 Bind this TextureRectangle.
override void Create (RenderContext ctx)
 TextureRectangle initialization.
void SetTexture (Image image, int iLayer)
 Set TextureRectangle data from a Image instance.
void SetTexture (Image image)
 Set TextureRectangle data from a Image instance.
void SetTexture (RenderContext ctx, Image image, int iLayer)
 Set TextureRectangle data from a Image instance.
void SetTexture (RenderContext ctx, Image image)
 Set TextureRectangle data from a Image instance.
override void Unbind (RenderContext ctx)
 Unbind this TextureRectangle.

Properties

int Height [get]
 Texture height property.
int Width [get]
 Texture width property.

Detailed Description

Two dimensional texture using rectangle coordinates.


Constructor & Destructor Documentation

Derm.Render.TextureRectangle.TextureRectangle (  ) 

Construct a TextureRectangle.


Member Function Documentation

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

Bind this TextureRectangle.

Parameters:
ctx A RenderContext

Implements Derm.Render.Texture.

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

TextureRectangle initialization.

Parameters:
ctx A RenderContext

Reimplemented from Derm.Render.Texture.

void Derm.Render.TextureRectangle.SetTexture ( Image  image,
int  iLayer 
)

Set TextureRectangle data from a Image instance.

Parameters:
image An Image holding the texture data.
iLayer A System.Int32 specifying the image layer composing this texture.
void Derm.Render.TextureRectangle.SetTexture ( Image  image  ) 

Set TextureRectangle data from a Image instance.

Parameters:
image An Image holding the texture data.
void Derm.Render.TextureRectangle.SetTexture ( RenderContext  ctx,
Image  image,
int  iLayer 
)

Set TextureRectangle data from a Image instance.

Parameters:
ctx A RenderContext used for texture creation.
image An Image holding the texture data.
iLayer A System.Int32 specifying the image layer composing this texture.
void Derm.Render.TextureRectangle.SetTexture ( RenderContext  ctx,
Image  image 
)

Set TextureRectangle data from a Image instance.

Parameters:
ctx A RenderContext used for texture creation.
image An Image holding the texture data.
override void Derm.Render.TextureRectangle.Unbind ( RenderContext  ctx  )  [virtual]

Unbind this TextureRectangle.

Parameters:
ctx A RenderContext

Implements Derm.Render.Texture.


Property Documentation

int Derm.Render.TextureRectangle.Height [get]

Texture height property.

int Derm.Render.TextureRectangle.Width [get]

Texture width property.



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