Sha256: 1687941b84d9b37254b3dd554d445d7ae58e8f01a393c0b62095daf8d5d7a3e3

Contents?: true

Size: 691 Bytes

Versions: 39

Compression:

Stored size: 691 Bytes

Contents

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


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


namespace Rays
{


	class ShaderSource
	{

		typedef ShaderSource This;

		public:

			ShaderSource ();

			ShaderSource (GLenum type, const char* source);

			~ShaderSource ();

			const char* source () const;

			GLenum type () const;

			GLuint id () const;

			operator bool () const;

			bool operator ! () const;

			friend bool operator == (const This& lhs, const This& rhs);

			friend bool operator != (const This& lhs, const This& rhs);

			struct Data;

			Xot::PSharedImpl<Data> self;

	};// ShaderSource


}// Rays


#endif//EOH

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
rays-0.3 src/shader_source.h
rays-0.2.1 src/shader_source.h
rays-0.2 src/shader_source.h
rays-0.1.49 src/shader_source.h
rays-0.1.48 src/shader_source.h
rays-0.1.47 src/shader_source.h
rays-0.1.46 src/shader_source.h
rays-0.1.45 src/shader_source.h
rays-0.1.44 src/shader_source.h
rays-0.1.43 src/shader_source.h
rays-0.1.42 src/shader_source.h
rays-0.1.40 src/shader_source.h
rays-0.1.39 src/shader_source.h
rays-0.1.38 src/shader_source.h
rays-0.1.37 src/shader_source.h
rays-0.1.36 src/shader_source.h
rays-0.1.35 src/shader_source.h
rays-0.1.34 src/shader_source.h
rays-0.1.33 src/shader_source.h
rays-0.1.32 src/shader_source.h