SFGraphics
SFGraphics copied to clipboard
check vertex attribute types based on shader
The count should be ValueCount.Four, for example, if the attribute is declared vec4 in the shader. The shader object could raise an error event to which users can subscribe. Invalid values can be ignored, so invalid values are not bad enough to warrant throwing an exception at runtime.