Property definitions

gamnit $ GamnitProgramFromSource :: defaultinit
# Gamnit graphical program from the shaders source code
class GamnitProgramFromSource
	super GamnitProgram

	# Source code of the vertex shader
	fun vertex_shader_source: Text is abstract

	redef var vertex_shader = new VertexShader(vertex_shader_source) is lazy

	# Source code of the fragment shader
	fun fragment_shader_source: Text is abstract

	redef var fragment_shader = new FragmentShader(fragment_shader_source) is lazy
end
lib/gamnit/programs.nit:494,1--507,3