ModelCoordinates
constructor(texture: ColorBuffer, input: String = "va_texCoord0.xy", tangentInput: String? = null, textureFunction: TextureFunction = TextureFunction.TILING, pre: String? = null, post: String? = null)(source)
Parameters
texture
the texture to sample from
input
input coordinates, default is "va_texCoord0.xy"
textureFunction
the texture function to use, default is TextureFunction.TILING
pre
the pre-fetch shader code to inject, can only adjust "x_texCoord"
post
the post-fetch shader code to inject, can only adjust "x_texture"