Stay organized with collections
Save and categorize content based on your preferences.
Varying
open class Varying
Data class to represent a single varying variable. A Varying variable can be altered by the vertex shader defined on the mesh but not by the fragment shader defined by AGSL. See https://developer.android.com/develop/ui/views/graphics/agsl for more information regarding Android Graphics Shader Language. This is consumed as part of MeshSpecification#make(Attribute[], int, Varying[], String, String, ColorSpace, int)
to create a MeshSpecification
instance.
Summary
Public constructors
Public methods
getName
open fun getName(): String
Return the name of this Varying
Return |
String |
This value cannot be null . |
getType
open fun getType(): Int
Return the corresponding data type for this Varying
.
toString
open fun toString(): String
Return |
String |
a string representation of the object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.