ModelCoordinates
class ModelCoordinates(texture: ColorBuffer, var input: String = "va_texCoord0.xy", var tangentInput: String? = null, textureFunction: TextureFunction = TextureFunction.TILING, var pre: String? = null, var post: String? = null) : TextureFromColorBuffer(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"
Constructors
Link copied to clipboard
constructor(texture: ColorBuffer, input: String = "va_texCoord0.xy", tangentInput: String? = null, textureFunction: TextureFunction = TextureFunction.TILING, pre: String? = null, post: String? = null)