openrndr / org.openrndr.draw / ShadeStyleManager

ShadeStyleManager

abstract class ShadeStyleManager

Constructors

<init>

ShadeStyleManager()

Functions

shader

abstract fun shader(style: ShadeStyle?, vertexFormats: List<VertexFormat>, instanceFormats: List<VertexFormat> = emptyList()): Shader
fun shader(style: ShadeStyle?, format: VertexFormat): Shader

Companion Object Functions

fromGenerators

fun fromGenerators(vertexShaderGenerator: (ShadeStructure) -> String, fragmentShaderGenerator: (ShadeStructure) -> String): ShadeStyleManager

Inheritors

ShadeStyleManagerGL3

class ShadeStyleManagerGL3 : ShadeStyleManager