Sha256: 1b6245253a64b000f82e7374161867d4c61344b4291e492eacd206c01737c48c

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_SHADER_H__
#define __RAYS_SHADER_H__


#include <xot/pimpl.h>
#include "rays/opengl.h"


namespace Rays
{


	class Shader
	{

		typedef Shader This;

		public:

			Shader ();

			Shader (const char* source);

			~Shader ();

			GLuint id () const;

			bool operator == (const Shader& rhs) const;

			bool operator != (const Shader& rhs) const;

			operator bool () const;

			bool operator ! () const;

			struct Data;

			Xot::PImpl<Data, true> self;

	};// Shader


}// Rays


#endif//EOH

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rays-0.1.12 include/rays/shader.h
rays-0.1.11 include/rays/shader.h
rays-0.1.10 include/rays/shader.h
rays-0.1.9 include/rays/shader.h
rays-0.1.8 include/rays/shader.h
rays-0.1.7 include/rays/shader.h