Table of Contents

Struct TransformedTextured

Namespace
OmegaEngine.Graphics.VertexDecl
Assembly
OmegaEngine.dll

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

public struct TransformedTextured
Inherited Members
Extension Methods

Constructors

TransformedTextured(Vector3, float, float, float)

Creates a new transformed, textured vertex

public TransformedTextured(Vector3 position, float rhw, float tu, float tv)

Parameters

position Vector3

The position of the vertex in screen-space

rhw float

The reciprocal of homogeneous W (the depth-value)

tu float

The U-component of the texture coordinates

tv float

The V-component of the texture coordinates

TransformedTextured(float, float, float, float, float, float)

Creates a new transformed, textured vertex

public TransformedTextured(float xvalue, float yvalue, float zvalue, float rhw, float tu, float tv)

Parameters

xvalue float

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

yvalue float

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

zvalue float

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

rhw float

The reciprocal of homogeneous W (the depth-value)

tu float

The U-component of the texture coordinates

tv float

The V-component of the texture coordinates

Fields

Format

The fixed-function format of this vertex structure.

public const VertexFormat Format = PositionRhw | Texture1

Field Value

VertexFormat

Position

The position of the vertex in screen-space

public Vector3 Position

Field Value

Vector3

Rhw

The reciprocal of homogeneous W (the depth-value)

public float Rhw

Field Value

float

StrideSize

The length of this vertex structure in bytes.

public const int StrideSize = 24

Field Value

int

Tu

The U-component of the texture coordinates

public float Tu

Field Value

float

Tv

The V-component of the texture coordinates

public float Tv

Field Value

float

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.