ZShaderProgramData

data class ZShaderProgramData(var vertexShader: ZShader = ZShader(ZShaderType.VERTEX_SHADER), var fragmentShader: ZShader = ZShader(ZShaderType.FRAGMENT_SHADER), var shaderSource: ZShaderSource = ZShaderSource(), val attributes: LinkedHashMap<String, ZAttribute> = LinkedHashMap(), var uniforms: ZUniformCollection = ZUniformCollection()) : ZComponentData(source)

Constructors

Link copied to clipboard
constructor(vertexShader: ZShader = ZShader(ZShaderType.VERTEX_SHADER), fragmentShader: ZShader = ZShader(ZShaderType.FRAGMENT_SHADER), shaderSource: ZShaderSource = ZShaderSource(), attributes: LinkedHashMap<String, ZAttribute> = LinkedHashMap(), uniforms: ZUniformCollection = ZUniformCollection())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
open override val refId: String

Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard