File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/SharpGLTF.Core/Memory Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,18 @@ internal string _GetDebuggerDisplay()
3737
3838 #endregion
3939
40+ #region predefined values
41+
42+ public static readonly AttributeFormat Float1 = new AttributeFormat ( ENCODING . FLOAT ) ;
43+ public static readonly AttributeFormat Float2 = new AttributeFormat ( DIMENSIONS . VEC2 , ENCODING . FLOAT ) ;
44+ public static readonly AttributeFormat Float3 = new AttributeFormat ( DIMENSIONS . VEC3 , ENCODING . FLOAT ) ;
45+ public static readonly AttributeFormat Float4 = new AttributeFormat ( DIMENSIONS . VEC4 , ENCODING . FLOAT ) ;
46+ public static readonly AttributeFormat Float2x2 = new AttributeFormat ( DIMENSIONS . MAT2 , ENCODING . FLOAT ) ;
47+ public static readonly AttributeFormat Float3x3 = new AttributeFormat ( DIMENSIONS . MAT3 , ENCODING . FLOAT ) ;
48+ public static readonly AttributeFormat Float4x4 = new AttributeFormat ( DIMENSIONS . MAT4 , ENCODING . FLOAT ) ;
49+
50+ #endregion
51+
4052 #region constructors
4153
4254 public static implicit operator AttributeFormat ( ENCODING enc ) { return new AttributeFormat ( enc ) ; }
You can’t perform that action at this time.
0 commit comments