|
void | renderFullPipeline (ViewSettings settings) |
|
void | saveImage (std::unique_ptr< FileBuffer > image) |
|
void | save_process () |
|
|
bool | alpha_support = true |
|
bool | float_support = false |
|
bool | use_alpha = false |
|
bool | use_float = false |
|
bool | do_exit = false |
|
std::filesystem::path | file_template = "SaveView.png" |
|
FREE_IMAGE_FORMAT | fi_format = FIF_PNG |
|
int | fi_options = PNG_Z_BEST_SPEED |
|
std::optional< gmCore::size2 > | resolution |
|
OffscreenRenderTargets | render_target |
|
RasterProcessor | raster_processor |
|
GLenum | pixel_format |
|
std::vector< std::shared_ptr< View > > | views |
|
int | frame = 0 |
|
std::shared_ptr< gmCore::FreeImage > | free_image |
|
bool | is_setup = false |
|
bool | is_functional = false |
|
bool | save_process_alive = true |
|
std::thread | save_thread |
|
std::condition_variable | save_condition |
|
std::mutex | save_lock |
|
std::unique_ptr< FileBuffer > | save_image |
|
|
static const std::string | fragment_code |
|
◆ fragment_code
const std::string gramods::gmGraphics::SaveView::Impl::fragment_code |
|
static |
Initial value:=
R"lang=glsl(
#version 330 core
uniform sampler2D tex;
in vec2 position;
out vec4 fragColor;
void main() {
vec3 rgb = texture(tex, position * 0.5 + 0.5).rgb;
fragColor = vec4(rgb, 1);
}
)lang=glsl"
The documentation for this struct was generated from the following file:
- /home/karlu/private/program/gramods/modules/gmGraphics/src/SaveView.cpp