-
-
Save SableRaf/349ee841a10dfeed335f41e89a4295d0 to your computer and use it in GitHub Desktop.
vertexAttribute(config: { variableName: any; }): any
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vertexAttribute(config: { variableName: any; }): any | |
vertexAttribute(config: {variableName: Shaders.VertexAttribute}): GenericVector | |
Returns a signal for the specified vertex attribute depending on the VertexAttribute used: | |
VertexAttribute.POSITION: Point4DSignal | |
VertexAttribute.NORMAL: PointSignal | |
VertexAttribute.TANGENT: Point4DSignal | |
VertexAttribute.TEX_COORDS: Point2DSignal | |
VertexAttribute.COLOR: Point4DSignal | |
VertexAttribute.BASE_POSITION: Point4DSignal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment