#include
<oglplus/renderbuffer.hpp>
template <> class ObjCommonOps<tag::Renderbuffer> : public RenderbufferName { public: typedef RenderbufferTarget Target; static RenderbufferName Binding(RenderbufferTarget target); static void Bind(RenderbufferTarget target, RenderbufferName renderbuffer); void Bind(RenderbufferTarget target) const; };
Renderbuffer bind target. |
|
Returns the renderbuffer currently bound to the specified |
|
Binds the specified |
|
Binds |
template <> class ObjectOps<tag::ExplicitSel, tag::Renderbuffer> : public ObjZeroOps<tag::ExplicitSel, tag::Renderbuffer> { public: static void Storage( RenderbufferTarget target, PixelDataInternalFormat internalformat, SizeType width, SizeType height ); static void Storage( RenderbufferTarget target, const images::ImageSpec& image_spec ); static void StorageMultisample( RenderbufferTarget target, SizeType samples, PixelDataInternalFormat internalformat, SizeType width, SizeType height ); static SizeType Width(RenderbufferTarget target); static SizeType Height(RenderbufferTarget target); static SizeType RedSize(RenderbufferTarget target); static SizeType GreenSize(RenderbufferTarget target); static SizeType BlueSize(RenderbufferTarget target); static SizeType AlphaSize(RenderbufferTarget target); static SizeType DepthSize(RenderbufferTarget target); static SizeType StencilSize(RenderbufferTarget target); static SizeType Samples(RenderbufferTarget target); static PixelDataInternalFormat InternalFormat(RenderbufferTarget target); };
Indirectly inherits from ObjCommonOps<tag::Renderbuffer>. |
|
Sets the storage parameters for the renderbuffer currently bound to
the specified |
|
Sets multipsample storage parameters for the renderbuffer currently
bound to the specified |
|
Returns the width in pixels of the renderbuffer currently bound to
the specified |
|
Returns the height in pixels of the renderbuffer currently bound to
the specified |
|
Returns the size in bits of the red component of the renderbuffer currently
bound to the specified |
|
Returns the size in bits of the green component of the renderbuffer
currently bound to the specified |
|
Returns the size in bits of the blue component of the renderbuffer
currently bound to the specified |
|
Returns the size in bits of the alpha component of the renderbuffer
currently bound to the specified |
|
Returns the size in bits of the depth component of the renderbuffer
currently bound to the specified |
|
Returns the size in bits of the stencil component of the renderbuffer
currently bound to the specified |
|
Returns the number of samples of the renderbuffer currently bound to
the specified |
|
Returns the internal format of the renderbuffer currently bound to
the specified |
typedef ObjectOps<tag::ExplicitSel, tag::Renderbuffer> RenderbufferOps; typedef Object<RenderbufferOps> Renderbuffer; typedef ObjectZero<ObjZeroOps<tag::ExplicitSel, tag::Renderbuffer>> NoRenderbuffer;
RenderbufferTarget operator << ( const RenderbufferOps& rbo, RenderbufferTarget target ); RenderbufferTarget operator << ( RenderbufferTarget target, const images::ImageSpec& image_spec );
Binds |
|
Sets the storage parameters from |
#include
<oglplus/renderbuffer_target.hpp>
enum class RenderbufferTarget : GLenum { Renderbuffer = GL_RENDERBUFFER }; template <> Range<RenderbufferTarget> EnumValueRange<RenderbufferTarget>(void); StrCRef EnumValueName(RenderbufferTarget);
#if !OGLPLUS_NO_ENUM_VALUE_CLASSES
namespace enums {
template <typename Base, template<RenderbufferTarget> class Transform>
class EnumToClass<Base, RenderbufferTarget, Transform>
: public Base
{
public:
EnumToClass(void);
EnumToClass(Base&& base);
Transform<RenderbufferTarget::Renderbuffer>
Renderbuffer;
};
} // namespace enums
#endif
Specialization of EnumToClass for the RenderbufferTarget enumeration. |