예제 #1
0
 public void BindGlAttributes(SSRenderConfig renderConfig)
 {
     SSVertexFormatHelper.PreparePosition(Size, PositionOffset);
     SSVertexFormatHelper.PrepareTexCoord(renderConfig, Size, TexCoordOffset);
 }
예제 #2
0
 public void BindGlAttributes(SSRenderConfig renderConfig)
 {
     SSVertexFormatHelper.PreparePosition(Size, PositionOffset);
     SSVertexFormatHelper.PrepareColor(Size, ColorOffset);
 }