CL_ProgramObject::set_uniform - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_ProgramObject::set_uniform

Set uniform variable(s).

    	void set_uniform(
    		const std::string& name, int);

    	void set_uniform(
    		const std::string& name, int, int);

    	void set_uniform(
    		const std::string& name, int, int, int);

    	void set_uniform(
    		const std::string& name, int, int, int, int);

    	void set_uniform(
    		const std::string& name, int size, int count, int* data);

    	void set_uniform(
    		const std::string& name, float);

    	void set_uniform(
    		const std::string& name, float, float);

    	void set_uniform(
    		const std::string& name, float, float, float);

    	void set_uniform(
    		const std::string& name, float, float, float, float);

    	void set_uniform(
    		const std::string& name, int size, int count, float* data);

See also:

CL_ProgramObject

Questions or comments, write to the ClanLib mailing list.