opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
render_texture_params.h
Go to the documentation of this file.
1#pragma once
2
8
9#include <iosfwd>
10
11namespace osc
12{
14 friend bool operator==(const RenderTextureParams&, const RenderTextureParams&) = default;
15
16 // The dimensions of the texture in physical pixels.
18
19 // The ratio of the resolution of the texture in physical pixels
20 // to the resolution of it in device-independent pixels.
21 float device_pixel_ratio = 1.0f;
22
27 };
28
29 std::ostream& operator<<(std::ostream&, const RenderTextureParams&);
30}
Definition anti_aliasing_level.h:11
Definition custom_decoration_generator.h:5
std::ostream & operator<<(std::ostream &, const Object &)
DepthStencilRenderBufferFormat
Definition depth_stencil_render_buffer_format.h:13
constexpr U to(T &&value)
Definition conversion.h:56
TextureDimensionality
Definition texture_dimensionality.h:5
ColorRenderBufferFormat
Definition color_render_buffer_format.h:13
Definition render_texture_params.h:13
Vector2i pixel_dimensions
Definition render_texture_params.h:17
AntiAliasingLevel anti_aliasing_level
Definition render_texture_params.h:24
DepthStencilRenderBufferFormat depth_stencil_format
Definition render_texture_params.h:26
float device_pixel_ratio
Definition render_texture_params.h:21
ColorRenderBufferFormat color_format
Definition render_texture_params.h:25
friend bool operator==(const RenderTextureParams &, const RenderTextureParams &)=default
TextureDimensionality dimensionality
Definition render_texture_params.h:23