ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var attributeName: String

The name of the attribute to visualize.

Link copied to clipboard

Optional GLSL fragment shader source to override the default fragment shader.

Link copied to clipboard
abstract var glslDatatype: String?

The GLSL datatype of the attribute. Supported datatypes are float, vec2, vec3, and vec4. Default value - 'vec3'

Link copied to clipboard

Boolean that determines whether this attribute is a per-instance geometry attribute. Default value - false

Link copied to clipboard
abstract var renderState: Any?

Optional render state to override the default render state.

Link copied to clipboard
abstract var vertexShaderSource: String?

Optional GLSL vertex shader source to override the default vertex shader.