diff --git a/inc/hgl/graph/VertexAttribDataAccess.h b/inc/hgl/graph/VertexAttribDataAccess.h index 31797541..3b611e47 100644 --- a/inc/hgl/graph/VertexAttribDataAccess.h +++ b/inc/hgl/graph/VertexAttribDataAccess.h @@ -1159,9 +1159,10 @@ namespace hgl typedef VertexAttribDataAccess1 VB1d; typedef VertexAttribDataAccess1 VB1sf8; //输入-128 to 127,但使用为-1 to +1 - typedef VertexAttribDataAccess1 VB1sf16; //输入-32768 to 32768,但使用为-1 to +1 + typedef VertexAttribDataAccess1 VB1sf16; //输入-32768 to 32767,但使用为-1 to +1 typedef VertexAttribDataAccess1 VB1uf8; //输入0-255,但使用为0-1 typedef VertexAttribDataAccess1 VB1uf16; //输入0-65535,但使用为0-1 + typedef VertexAttribDataAccess1 VB1hf; //half float typedef VertexAttribDataAccess2 VB2i8 ,VB2b; typedef VertexAttribDataAccess2 VB2i16 ,VB2s; @@ -1175,9 +1176,10 @@ namespace hgl typedef VertexAttribDataAccess2 VB2d; typedef VertexAttribDataAccess1 VB2sf8; //输入-128 to 127,但使用为-1 to +1 - typedef VertexAttribDataAccess1 VB2sf16; //输入-32768 to 32768,但使用为-1 to +1 - typedef VertexAttribDataAccess2 VB2uf8; //输入0-255,但使用为0-1 - typedef VertexAttribDataAccess2 VB2uf16; //输入0-65535,但使用为0-1 + typedef VertexAttribDataAccess1 VB2sf16; //输入-32768 to 32767,但使用为-1 to +1 + typedef VertexAttribDataAccess2 VB2uf8; //输入0-255,但使用为0-1 + typedef VertexAttribDataAccess2 VB2uf16; //输入0-65535,但使用为0-1 + typedef VertexAttribDataAccess2 VB2hf; //half float // typedef VertexAttribDataAccess3 VB3i8 ,VB3b; // typedef VertexAttribDataAccess3 VB3i16 ,VB3s; @@ -1202,9 +1204,10 @@ namespace hgl typedef VertexAttribDataAccess4 VB4d; typedef VertexAttribDataAccess4 VB4sf8; //输入-128 to 127,但使用为-1 to +1 - typedef VertexAttribDataAccess4 VB4sf16; //输入-32768 to 32768,但使用为-1 to +1 + typedef VertexAttribDataAccess4 VB4sf16; //输入-32768 to 32767,但使用为-1 to +1 typedef VertexAttribDataAccess4 VB4uf8; //输入0-255,但使用为0-1 typedef VertexAttribDataAccess4 VB4uf16; //输入0-65535,但使用为0-1 + typedef VertexAttribDataAccess4 VB4hf; //half float }//namespace graph }//namespace hgl #endif//HGL_GRAPH_VERTEX_ATTRIB_DATA_ACCESS_INCLUDE