Resources/Shaders/videoSnake.vsh
/* |
<codex> |
<abstract>Vertex shader.</abstract> |
</codex> |
*/ |
attribute vec4 position; |
attribute mediump vec4 texturecoordinate; |
uniform mat4 amodelview; |
uniform mat4 aprojection; |
varying mediump vec2 coordinate; |
void main() |
{ |
gl_Position = aprojection * amodelview * position; |
coordinate = texturecoordinate.xy; |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-28