Table of Contents

Struct SvgPreserveAspectRatio

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll

A description of a single element to the vertex layout.

public struct SvgPreserveAspectRatio
Inherited Members

Remarks

This structure is a subset of that omits fields required to define a vertex layout.

If the D2D1_APPEND_ALIGNED_ELEMENT constant is used for alignedByteOffset, the elements will be packed contiguously for convenience.

Fields

Align

The semantic index for the element. A semantic index modifies a semantic, with an integer index number. A semantic index is only needed in a case where there is more than one element with the same semantic. For example, a 4x4 matrix would have four components each with the semantic name matrix; however, each of the four components would have different semantic indices (0, 1, 2, and 3).

public SvgAspectAlign Align

Field Value

SvgAspectAlign

Defer

The HLSL semantic associated with this element in a shader input-signature.

public RawBool Defer

Field Value

RawBool

MeetOrSlice

The data type of the element data.

public SvgAspectScaling MeetOrSlice

Field Value

SvgAspectScaling