SFGraphics icon indicating copy to clipboard operation
SFGraphics copied to clipboard

check vertex attribute types based on shader

Open ScanMountGoat opened this issue 7 years ago • 0 comments

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.

ScanMountGoat avatar Sep 07 '18 21:09 ScanMountGoat