org.rajawali3d.materials / Material / onPreFragmentShaderInitialize

onPreFragmentShaderInitialize

protected open fun onPreFragmentShaderInitialize(@NonNull fragmentShader: FragmentShader): Unit

Called prior to FragmentShader#initialize() being called when creating auto-generated materials.

Parameters

fragmentShader - FragmentShader: The FragmentShader.

protected open fun onPreFragmentShaderInitialize(@NonNull fragmentShader: FragmentShader): Unit

Called prior to FragmentShader#initialize() being called when creating auto-generated materials.

Parameters

fragmentShader - FragmentShader: The FragmentShader.