MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / GlDialect

Class GlDialect

src/platform/gl_dialect.h:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35enum class IconImageFormat { Rgb888, Rgba8888 };
36
37struct GlDialect {
38 std::string_view version_directive;
39 std::string_view fragment_preamble;
40 bool uses_out_color;
41 IconImageFormat icon_image_format;
42 int icon_bytes_per_pixel;
43 bool has_texture_wrap_r;
44 GLenum icon_gl_internal_format;
45 GLenum icon_gl_format;
46 GLuint texture_internal_format(GLenum tex_type, GLenum tex_format) const;
47};
48
49const GlDialect& the_dialect();
50

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected