Sha256: 6facb02ade71191952669bd73cf4951aee50075a18795582c65a2c05435deedd

Contents?: true

Size: 541 Bytes

Versions: 3

Compression:

Stored size: 541 Bytes

Contents

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


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


namespace Rays
{


	class RenderBuffer
	{

		public:

			RenderBuffer ();

			RenderBuffer (int width, int height);

			~RenderBuffer ();

			GLuint id () const;

			int width () const;

			int height () const;

			operator bool () const;

			bool operator ! () const;

			struct Data;

			Xot::PImpl<Data, true> self;

	};// RenderBuffer


}// Rays


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rays-0.1.12 src/render_buffer.h
rays-0.1.11 src/render_buffer.h
rays-0.1.10 src/render_buffer.h