Interface IVertexCustom

IVertexCustom interface

Represents the interface that must be implemented by a custom vertex fragment.

public interface IVertexCustom : IVertexMaterial

Properties

NameDescription
CustomAttributes { get; }Gets a collection of the attribute keys defined in this vertex.

Methods

NameDescription
SetCustomAttribute(string, object)Sets a custom attribute only if attributeName is defined in the vertex.
TryGetCustomAttribute(string, out object)Tries to get a custom attribute.
Validate()Validates the custom attributes of the vertex fragment. Called by !:VertexBuilder.Validate.

See Also