Cube texture. More...
Public Member Functions | |
TextureCube (string[] paths) | |
Construct a TextureCube from an image file. | |
TextureCube (Image[] images) | |
Construct a TextureCube from an Image array instance. | |
override void | Bind (RenderContext ctx) |
Bind this Texture2d. | |
override void | Create (RenderContext ctx) |
Texture2d initialization. | |
override void | Unbind (RenderContext ctx) |
Unbind this Texture2d. | |
Properties | |
int | Size [get] |
Texture width property. |
Cube texture.
Derm.Render.TextureCube.TextureCube | ( | Image[] | images | ) |
Construct a TextureCube from an Image array instance.
image |
Derm.Render.TextureCube.TextureCube | ( | string[] | paths | ) |
Construct a TextureCube from an image file.
path | A System.String specifying the image file paths. |
override void Derm.Render.TextureCube.Bind | ( | RenderContext | ctx | ) | [virtual] |
override void Derm.Render.TextureCube.Create | ( | RenderContext | ctx | ) | [virtual] |
override void Derm.Render.TextureCube.Unbind | ( | RenderContext | ctx | ) | [virtual] |
int Derm.Render.TextureCube.Size [get] |
Texture width property.