[orx-fx] Change mppFilterShader to use new filterShaderFromCode
This commit is contained in:
@@ -7,7 +7,6 @@ import org.openrndr.draw.filterShaderFromCode
|
|||||||
import org.openrndr.internal.Driver
|
import org.openrndr.internal.Driver
|
||||||
import org.openrndr.resourceUrl
|
import org.openrndr.resourceUrl
|
||||||
|
|
||||||
fun mppFilterShader(code: String, name: String) : Shader =
|
fun mppFilterShader(code: String, name: String) : Shader = filterShaderFromCode(code, name, includeShaderConfiguration = true)
|
||||||
filterShaderFromCode("${Driver.instance.shaderConfiguration()}\n${code}", name)
|
|
||||||
|
|
||||||
internal data class ColorBufferDescription(val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType)
|
internal data class ColorBufferDescription(val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType)
|
||||||
|
|||||||
Reference in New Issue
Block a user