Vertex format add custom: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
== Parameters ==
== Parameters ==
{| class="funcpars"
{| class="funcpars"
! Parameter !! Description
! Parameter !! Data Type !! Description
|-
|-
| type || integer || The type of vertex attribute being added.
| type || integer || The type of vertex attribute being added.

Revision as of 02:03, 18 June 2018

Description

Adds a custom attribute to the current vertex format being declared. This can be used to specify attributes in a custom way, as well as to specify custom attributes as part of the vertex data.

Parameters

Parameter Data Type Description
type integer The type of vertex attribute being added.
usage integer The usage of the vertex attribute being added.

Return Values

void: This function does not return anything.

Example Call

// Example of using the function.