Varying
open class Varying
| kotlin.Any | |
| ↳ | android.graphics.MeshSpecification.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 | |
|---|---|
| open String |
getName()Return the name of this |
| open Int |
getType()Return the corresponding data type for this |
| open String |
toString()Returns a string representation of the object. |
Public constructors
Varying
Varying(
type: Int,
name: String)
| Parameters | |
|---|---|
type |
Int: Value is one of the following: |
name |
String: This value cannot be null. |
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.
| Return | |
|---|---|
Int |
Value is one of the following: |
toString
open fun toString(): String
Returns a string representation of the object.
| Return | |
|---|---|
String |
a string representation of the object. |