OmegaEngine API  1.0.3
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

◆ TransformedTextured() [1/2]

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

◆ TransformedTextured() [2/2]

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

◆ Format

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

The fixed-function format of this vertex structure.

◆ Position

Vector3 OmegaEngine.Graphics.VertexDecl.TransformedTextured.Position

The position of the vertex in screen-space

◆ Rhw

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Rhw

The reciprocal of homogeneous W (the depth-value)

◆ StrideSize

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

The length of this vertex structure in bytes.

◆ Tu

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Tu

The U-component of the texture coordinates

◆ Tv

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Tv

The V-component of the texture coordinates

Property Documentation

◆ X

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.X
getset

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

◆ Y

float OmegaEngine.Graphics.VertexDecl.TransformedTextured.Y
getset

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

◆ Z

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: