Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VertexChannelCompressionFlags

enumeration

Description

These enum flags are used specify which elements of a vertex to compress.

Default settings: Position and TexCoord1 are uncompressed because high precision is usually desired. Everything else is compressed to save memory and conserve bandwidth.

Properties

NoneNothing.
PositionPosition.
NormalVertex normal.
TangentTangent.
ColorVertex color.
TexCoord0Texture coordinate 0. Usually used for Albedo texture.
TexCoord1Texture coordinate 1. Usually used for baked lightmap.
TexCoord2Texture coordinate 2. Usually used for realtime GI.
TexCoord3Texture coordinate 3.

Did you find this page useful? Please give it a rating: