Derm.Render.Texture2d Class Reference
Two dimensional texture.
More...
List of all members.
Detailed Description
Two dimensional texture.
Constructor & Destructor Documentation
Derm.Render.Texture2d.Texture2d |
( |
|
) |
|
Derm.Render.Texture2d.Texture2d |
( |
string |
path |
) |
|
Construct a Texture2d from an image file.
- Parameters:
-
| path | A System.String specifying the image file path. |
Member Function Documentation
override void Derm.Render.Texture2d.Bind |
( |
RenderContext |
ctx |
) |
[virtual] |
override void Derm.Render.Texture2d.Create |
( |
RenderContext |
ctx |
) |
[virtual] |
Set Texture data from a Image instance.
- Parameters:
-
| image | An Image holding the texture data. |
void Derm.Render.Texture2d.SetTexture |
( |
Image |
image |
) |
|
Set Texture data from a Image instance.
- Parameters:
-
| image | An Image holding the texture data. |
override void Derm.Render.Texture2d.Unbind |
( |
RenderContext |
ctx |
) |
[virtual] |
Property Documentation
int Derm.Render.Texture2d.Height [get] |
int Derm.Render.Texture2d.Width [get] |