io7m | single-page | multi-page | SMF Format Specification 0.16.0-SNAPSHOT
4.5. Section - triangles
Previous
4. SMF/T - Text Encoding
Up
4.7. Example
Next

# 4.6. Section - vertices-noninterleaved

- 4.6.1. Definition
- 4.6.2. Subcommands
- 4.6.3. Subcommand - attribute

## 4.6.1. Definition

1
The vertices-noninterleaved section specifies the vertex data that will appear in the model.
2
The contents of a vertices-noninterleaved section are a series of subcommands with at most one subcommand appearing on each line within the section. A subcommand consists of the subcommand's name and a series of zero or more arguments. Implementations MUST ignore subcommands that have unrecognized names, but SHOULD log warning messages to indicate that unrecognized subcommands have been specified.

## 4.6.2. Subcommands

1
This version of the specification defines the following vertices-noninterleaved subcommands:

### 4.6.2.2. Subcommands

- attribute

## 4.6.3. Subcommand - attribute

1
The attribute subcommand indicates the start of data for an attribute.

### 4.6.3.2. attribute

    vertices_noninterleaved_attribute =
      "attribute" , attribute_name ;

3
The command takes the following arguments:

### 4.6.3.4. attribute Arguments

1. The name of the attribute

5
The named attribute must have been declared in the smf section; Implementations MUST raise errors when encountering attribute subcommands that name attributes that were not declared in the smf section.
6
For an attribute a that specifies c components of type t, in a file that is specified to contain v vertices, the next v non-empty, non-commented lines will contain exactly c whitespace-separated values of type t. Implementations MUST raise errors if there are not exactly v vertex values specified before section's end command or the start of the next attribute subcommand, whichever occurs first.
4.5. Section - triangles
Previous
4. SMF/T - Text Encoding
Up
4.7. Example
Next
io7m | single-page | multi-page | SMF Format Specification 0.16.0-SNAPSHOT