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.1.31 src/shader_source.h
rays-0.1.30 src/shader_source.h
rays-0.1.29 src/shader_source.h
rays-0.1.28 src/shader_source.h
rays-0.1.27 src/shader_source.h
rays-0.1.26 src/shader_source.h
rays-0.1.25 src/shader_source.h
rays-0.1.24 src/shader_source.h
rays-0.1.23 src/shader_source.h
rays-0.1.22 src/shader_source.h
rays-0.1.21 src/shader_source.h
rays-0.1.20 src/shader_source.h
rays-0.1.19 src/shader_source.h
rays-0.1.18 src/shader_source.h
rays-0.1.17 src/shader_source.h
rays-0.1.16 src/shader_source.h
rays-0.1.15 src/shader_source.h
rays-0.1.14 src/shader_source.h
rays-0.1.13 src/shader_source.h