IVertexElementWriter
Description
- Derived from
Base interface for classes that write vertex element data (see VertexElement).
- See also
Extensions
WriteVertexElementFloat2
Writes a vertex element with up to four floating-point components.
When this method is called on a vertex element that has an integer-based type (see VertexElement.IsIntegerType, the given values will be denormalized, e.g. converted from [0..1] to [0..255] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.
WriteVertexElementFloat3
Writes a vertex element with up to four floating-point components.
When this method is called on a vertex element that has an integer-based type (see VertexElement.IsIntegerType, the given values will be denormalized, e.g. converted from [0..1] to [0..255] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.
WriteVertexElementFloat4
Writes a vertex element with up to four floating-point components.
When this method is called on a vertex element that has an integer-based type (see VertexElement.IsIntegerType, the given values will be denormalized, e.g. converted from [0..1] to [0..255] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.
WriteVertexElementInt2
Writes a vertex element with up to four integer components.
When this method is called on a vertex element that has a floating-point type (see VertexElement.IsFloatType), the given values will be normalized, e.g. converted from [0..255] to [0..1] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.
WriteVertexElementInt3
Writes a vertex element with up to four integer components.
When this method is called on a vertex element that has a floating-point type (see VertexElement.IsFloatType), the given values will be normalized, e.g. converted from [0..255] to [0..1] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.
WriteVertexElementInt4
Writes a vertex element with up to four integer components.
When this method is called on a vertex element that has a floating-point type (see VertexElement.IsFloatType), the given values will be normalized, e.g. converted from [0..255] to [0..1] for VertexElementType.UInt8.
- IOException
-
If an I/O exception has occurred while writing to the output stream.