OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | Properties | List of all members
OmegaEngine.Graphics.VertexDecl.TransformedTextured Struct Reference

A fixed-function vertex format that stores a transformed position and texture coordinates. More...

Public Member Functions

 TransformedTextured (Vector3 position, float rhw, float tu, float tv)
 Creates a new transformed, textured vertex More...
 
 TransformedTextured (float xvalue, float yvalue, float zvalue, float rhw, float tu, float tv)
 Creates a new transformed, textured vertex More...
 
override string ToString ()
 

Public Attributes

const VertexFormat Format = VertexFormat.PositionRhw | VertexFormat.Texture1
 The fixed-function format of this vertex structure. More...
 
const int StrideSize = 6 * 4
 The length of this vertex structure in bytes. More...
 
Vector3 Position
 The position of the vertex in screen-space More...
 
float Rhw
 The reciprocal of homogeneous W (the depth-value) More...
 
float Tu
 The U-component of the texture coordinates More...
 
float Tv
 The V-component of the texture coordinates More...
 

Properties

float X [get, set]
 The X-component of the position of the vertex in screen-space More...
 
float Y [get, set]
 The Y-component of the position of the vertex in screen-space More...
 
float Z [get, set]
 The Z-component of the position of the vertex in screen-space More...
 

Detailed Description

A fixed-function vertex format that stores a transformed position and texture coordinates.

Constructor & Destructor Documentation

OmegaEngine.Graphics.VertexDecl.TransformedTextured.TransformedTextured ( Vector3  position,
float  rhw,
float  tu,
float  tv 
)
inline

Creates a new transformed, textured vertex

Parameters
positionThe position of the vertex in screen-space
rhwThe reciprocal of homogeneous W (the depth-value)
tuThe U-component of the texture coordinates
tvThe V-component of the texture coordinates
OmegaEngine.Graphics.VertexDecl.TransformedTextured.TransformedTextured ( float  xvalue,
float  yvalue,
float  zvalue,
float  rhw,
float  tu,
float  tv 
)
inline

Creates a new transformed, textured vertex

Parameters
xvalueThe X-component of the position of the vertex in screen-space
yvalueThe Y-component of the position of the vertex in screen-space
zvalueThe Z-component of the position of the vertex in screen-space
rhwThe reciprocal of homogeneous W (the depth-value)
tuThe U-component of the texture coordinates
tvThe V-component of the texture coordinates

Member Data Documentation

const VertexFormat OmegaEngine.Graphics.VertexDecl.TransformedTextured.Format = VertexFormat.PositionRhw | VertexFormat.Texture1

The fixed-function format of this vertex structure.

Vector3 OmegaEngine.Graphics.VertexDecl.TransformedTextured.Position

The position of the vertex in screen-space

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Rhw

The reciprocal of homogeneous W (the depth-value)

const int OmegaEngine.Graphics.VertexDecl.TransformedTextured.StrideSize = 6 * 4

The length of this vertex structure in bytes.

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Tu

The U-component of the texture coordinates

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Tv

The V-component of the texture coordinates

Property Documentation

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.X
getset

The X-component of the position of the vertex in screen-space

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Y
getset

The Y-component of the position of the vertex in screen-space

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Z
getset

The Z-component of the position of the vertex in screen-space


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