Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
Durwella.Unplugged.Viz.TextureMapAttribute Class Reference

Identifies the tagged property as a texture map. The texture map is a uniform attribute which defines how the texture will be sampled for the model. This attribute is applied to properties. More...

Public Member Functions

 TextureMapAttribute ()
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (WrapMode wrapMode)
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (MagnificationFilter magnificationFilter)
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (MagnificationFilter magnificationFilter, WrapMode wrapMode)
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (int width, int height)
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (int width, int height, MagnificationFilter magnificationFilter)
 Initializes a new instance of the ShaderAttribute class. More...
 
 TextureMapAttribute (int width, int height, MagnificationFilter magnificationFilter, WrapMode wrapMode)
 Initializes a new instance of the ShaderAttribute class. More...
 

Properties

int Width [get, set]
 Gets or sets the texture width. Defaults to 0. More...
 
int Height [get, set]
 Gets or sets the texture height. Defaults to 0. More...
 
int Components [get, set]
 Gets or sets the number of components at each vertex. For example, a simple texture map may have a single component representing a magnitude; a color map may have 4 components per vertex (for red, blue, green, and alpha values). More...
 
MagnificationFilter MagnificationFilter [get, set]
 Gets or sets the filtering applied for magnification. Defines how a texture is sampled when the display resolution of the texture does not match the original size. Defaults to MagnificationFilter.LinearInterpolation More...
 
WrapMode WrapMode [get, set]
 Get or set a uniform wrap mode in all axes. Defines how the texture should be sampled when given a coordinate outside of the range 0 to 1. Defaults to WrapMode.ClampToEdge. More...
 

Detailed Description

Identifies the tagged property as a texture map. The texture map is a uniform attribute which defines how the texture will be sampled for the model. This attribute is applied to properties.

Inheritance diagram for Durwella.Unplugged.Viz.TextureMapAttribute:
Durwella.Unplugged.Viz.ColorMapAttribute

Constructor & Destructor Documentation

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( )

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( WrapMode  wrapMode)

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( MagnificationFilter  magnificationFilter)

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( MagnificationFilter  magnificationFilter,
WrapMode  wrapMode 
)

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( int  width,
int  height 
)

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( int  width,
int  height,
MagnificationFilter  magnificationFilter 
)

Initializes a new instance of the ShaderAttribute class.

Durwella.Unplugged.Viz.TextureMapAttribute.TextureMapAttribute ( int  width,
int  height,
MagnificationFilter  magnificationFilter,
WrapMode  wrapMode 
)

Initializes a new instance of the ShaderAttribute class.

Property Documentation

int Durwella.Unplugged.Viz.TextureMapAttribute.Components
getset

Gets or sets the number of components at each vertex. For example, a simple texture map may have a single component representing a magnitude; a color map may have 4 components per vertex (for red, blue, green, and alpha values).

int Durwella.Unplugged.Viz.TextureMapAttribute.Height
getset

Gets or sets the texture height. Defaults to 0.

MagnificationFilter Durwella.Unplugged.Viz.TextureMapAttribute.MagnificationFilter
getset

Gets or sets the filtering applied for magnification. Defines how a texture is sampled when the display resolution of the texture does not match the original size. Defaults to MagnificationFilter.LinearInterpolation

int Durwella.Unplugged.Viz.TextureMapAttribute.Width
getset

Gets or sets the texture width. Defaults to 0.

WrapMode Durwella.Unplugged.Viz.TextureMapAttribute.WrapMode
getset

Get or set a uniform wrap mode in all axes. Defines how the texture should be sampled when given a coordinate outside of the range 0 to 1. Defaults to WrapMode.ClampToEdge.


The documentation for this class was generated from the following file: