All Classes |Grouped Classes |Index

Function load_and_compile

Load and compile.

	static CL_ShaderObject CL_ShaderObject::load_and_compile(
		CL_GraphicContext & gc,
		CL_ShaderType  type,
		const CL_StringRef & filename,
		const CL_VirtualDirectory & directory);

	static CL_ShaderObject CL_ShaderObject::load_and_compile(
		CL_GraphicContext & gc,
		CL_ShaderType  type,
		const CL_StringRef & filename);

	static CL_ShaderObject CL_ShaderObject::load_and_compile(
		CL_GraphicContext & gc,
		CL_ShaderType  type,
		CL_IODevice & file);