Classes |
class | glw::ShaderHeaderBuilder |
Namespaces |
namespace | glw |
Defines |
#define | GLW_OFFSET_OF(TYPE, MEMBER) ((const void *)(offsetof(TYPE, MEMBER))) |
#define | GLW_STRINGIFY(S) #S |
Functions |
BufferHandle | glw::createBuffer (Context &ctx, GLsizeiptr size, const void *data=0, GLenum usage=GL_STATIC_DRAW) |
template<typename TValue , typename TAllocator > |
BufferHandle | glw::createBuffer (Context &ctx, const std::vector< TValue, TAllocator > &data, GLenum usage=GL_STATIC_DRAW) |
FramebufferHandle | glw::createFramebuffer (Context &ctx, const RenderTarget &depthTarget, const RenderTarget &colorTarget0=RenderTarget(), const RenderTarget &colorTarget1=RenderTarget(), const RenderTarget &colorTarget2=RenderTarget(), const RenderTarget &colorTarget3=RenderTarget(), const RenderTarget &colorTarget4=RenderTarget(), const RenderTarget &colorTarget5=RenderTarget(), const RenderTarget &colorTarget6=RenderTarget(), const RenderTarget &colorTarget7=RenderTarget()) |
FramebufferHandle | glw::createFramebufferWithDepthStencil (Context &ctx, const RenderTarget &depthTarget, const RenderTarget &stencilTarget, const RenderTarget &colorTarget0=RenderTarget(), const RenderTarget &colorTarget1=RenderTarget(), const RenderTarget &colorTarget2=RenderTarget(), const RenderTarget &colorTarget3=RenderTarget(), const RenderTarget &colorTarget4=RenderTarget(), const RenderTarget &colorTarget5=RenderTarget(), const RenderTarget &colorTarget6=RenderTarget(), const RenderTarget &colorTarget7=RenderTarget()) |
ProgramHandle | glw::createProgram (Context &ctx, const std::string &srcPrefix, const std::string &vertexSrc, const std::string &geometrySrc, const std::string &fragmentSrc, const ProgramArguments &args=ProgramArguments()) |
ProgramHandle | glw::createProgram (Context &ctx, const std::string &srcPrefix, const std::string &vertexSrc, const std::string &fragmentSrc, const ProgramArguments &args=ProgramArguments()) |
RenderbufferHandle | glw::createRenderbuffer (Context &ctx, GLenum format, GLsizei width, GLsizei height) |
Texture2DHandle | glw::createTexture2D (Context &ctx, GLenum format, GLsizei width, GLsizei height, GLenum dataFormat, GLenum dataType, const void *data=0, const TextureSampleMode &sampler=TextureSampleMode()) |
TextureCubeHandle | glw::createTextureCube (Context &ctx, GLenum format, GLsizei size, GLenum dataFormat, GLenum dataType, const void *data=0, const TextureSampleMode &sampler=TextureSampleMode()) |
ProgramHandle | glw::loadProgram (Context &ctx, const std::string &srcPrefix, const std::string &vertexFile, const std::string &geometryFile, const std::string &fragmentFile, const ProgramArguments &args=ProgramArguments()) |
ProgramHandle | glw::loadProgram (Context &ctx, const std::string &srcPrefix, const std::string &vertexFile, const std::string &fragmentFile, const ProgramArguments &args=ProgramArguments()) |
std::string | glw::readTextFile (const char *fileName) |
std::string | glw::readTextFile (const std::string &fileName) |