ShadeStyleManagerGLCommon
class ShadeStyleManagerGLCommon(name: String, val vsGenerator: (ShadeStructure) -> String, val tcsGenerator: (ShadeStructure) -> String?, val tesGenerator: (ShadeStructure) -> String?, val gsGenerator: (ShadeStructure) -> String?, val fsGenerator: (ShadeStructure) -> String) : ShadeStyleManager, StyleManagerDispatchUniform, StyleManagerDispatchImageBindings, StyleManagerDispatchBufferBindings(source)
Constructors
Link copied to clipboard
constructor(name: String, vsGenerator: (ShadeStructure) -> String, tcsGenerator: (ShadeStructure) -> String?, tesGenerator: (ShadeStructure) -> String?, gsGenerator: (ShadeStructure) -> String?, fsGenerator: (ShadeStructure) -> String)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : ShaderUniforms> dispatchParameters(style: StyleParameters, shader: T, textureBindings: TextureBindings)
Link copied to clipboard
open fun <T : ShaderUniforms> setUniform(shader: T, textureBindings: TextureBindings, targetName: String, name: String, value: Any)
Link copied to clipboard
open override fun shader(style: ShadeStyle?, vertexFormats: List<VertexFormat>, instanceFormats: List<VertexFormat>): Shader