|
Houzi Game Engine
|
Houzi Game Engine namespace. More...
Namespaces | |
| display | |
| Contains functions related to displays. | |
| event | |
| Namespace containing event related functions. | |
| keyboard | |
| Functions related to the state of the keyboard. | |
| listener | |
| Functions related to the state of the audio listener. | |
| mouse | |
| Functions related to the state of the mouse. | |
| sound_model | |
| Functions related to the state of the sound propagation model. | |
Classes | |
| class | assertion_violation |
| Assertion violation error. More... | |
| class | audio_buffer |
| Represents an in-memory audio buffer. More... | |
| class | audio_context |
| Represents the global state of the audio device. More... | |
| class | audio_source |
| Parent class for audio sources. More... | |
| class | audio_stream |
| Specialization of a binary_stream representing an audio stream. More... | |
| class | audio_stream_in |
| Input audio stream. More... | |
| class | bad_union_access |
| Bad union access error. More... | |
| class | basic_static_string |
| Stack allocated string. More... | |
| class | binary_file_in |
| Input binary file stream. More... | |
| class | binary_file_out |
| Output binary file stream. More... | |
| class | binary_stream |
| binary stream interface. More... | |
| class | binary_stream_in |
| Binary input stream interface. More... | |
| class | binary_stream_out |
| binary output stream interface. More... | |
| class | bmp_image_file |
| Contains methods to check, read, and write BMP files. More... | |
| class | bounded_checker |
| Bounded checker for checked variable. More... | |
| class | check_matching_sign |
| Class implementing a check to see if two values of different types have the same sign. More... | |
| class | check_matching_sign< matrix< T, Rows, Cols >, matrix< U, Rows, Cols > > |
| Specialization of check_matching_sign for matrix. More... | |
| class | checked_variable |
| Wrapper used to restrict the values that a variable can be assigned. More... | |
| class | clock |
| High resolution p_clock. More... | |
| class | color |
| Represents a color in rgba format. More... | |
| struct | conjunction |
| Class implementing a conjunction condition for variadic template parameters. More... | |
| struct | conjunction< b > |
| Specialization of conjunction for a single boolean variable. More... | |
| struct | conjunction< Head, Tail... > |
| Specialization of conjunction for multiple boolean variables. More... | |
| class | cursor_error |
| File cursor error. More... | |
| class | display_format_mask |
| Represents a display format mask. More... | |
| class | display_mode |
| Represents a display mode: resolution, format, and refresh rate. More... | |
| class | empty_audio_stream_in |
| Class representing a dummy empty input audio stream. More... | |
| struct | enable_bitwise_operators |
| Enable bitwise operators for type T. More... | |
| struct | enable_bitwise_operators< hou::framebuffer_blit_mask > |
| Specialization of enable_bitwise_operators. More... | |
| struct | enable_bitwise_operators< modifier_keys > |
| Enables bitwise operators for modifier_keys. More... | |
| class | exception |
| Base class for all exceptions. More... | |
| class | file |
| Class representing a file. More... | |
| class | file_close_error |
| File close error. More... | |
| class | file_handle |
| Manages the lifetime of a file handle. More... | |
| class | file_open_error |
| File open error. More... | |
| class | font |
| Allows reading metadata and glyphs from font raw data. More... | |
| class | font_creation_error |
| Font creation error. More... | |
| class | font_destruction_error |
| Font destruction error. More... | |
| class | font_operation_error |
| Font operation error. More... | |
| class | formatted_text |
| Formatted, renderable text. More... | |
| class | framebuffer |
| Represents a user defined framebuffer. More... | |
| class | glyph |
| Class describing a glyph, including its metrics and its bitmap image. More... | |
| class | glyph_metrics |
| Class describing the metrics of a glyph. More... | |
| class | graphic_context |
| Represents the global state of the rendering device. More... | |
| class | image |
| Represents an image. More... | |
| class | invalid_audio_data |
| Audio read error. More... | |
| class | invalid_enum |
| Invalid enumeration value. More... | |
| class | invalid_image_data |
| Invalid image data error. More... | |
| class | invariant_violation |
| Invariant violation error. More... | |
| class | inversion_error |
| Inversion error. More... | |
| class | ios_formatting_saver |
| Saves the current formatting of a std::basic_ios object and restores it upon destruction. More... | |
| struct | is_contiguous_container |
| Template checker to determine if the type is a contiguous container. More... | |
| struct | is_same_signedness |
| Determines if two types have the same signedness. More... | |
| struct | is_span |
| Template checker to determine if the type is a span. More... | |
| class | jpg_image_file |
| Contains methods to check, read, and write JPG files. More... | |
| class | matrix |
| Represents a matrix. More... | |
| class | memory_audio_source |
| Represents an audio source with the buffer completely loaded in memory. More... | |
| class | mesh |
| Represents a mesh. More... | |
| class | mesh2_shader_program |
| shader program used to render Mesh2d objects. More... | |
| class | mesh_t |
| Represents a mesh. More... | |
| class | module |
| Module initialization and termination manager. More... | |
| class | module_initialization_error |
| Module initialization error. More... | |
| class | mouse_buttons_state |
| Represents the current status of the mouse buttons. More... | |
| class | narrowing_error |
| Narrowing cast error. More... | |
| class | negative_checker |
| Negative checker for checked variable. More... | |
| class | non_copyable |
| Non copyable class. More... | |
| class | non_instantiable |
| Non instantiable class. More... | |
| class | non_negative_checker |
| Non-negative checker for checked variable. More... | |
| class | non_positive_checker |
| Non-positive checker for checked variable. More... | |
| class | not_null |
| Wrapper for pointers which cannot be null. More... | |
| class | ogg_file_in |
| Input ogg file stream. More... | |
| class | out_of_range |
| Out of range error. More... | |
| class | overflow_error |
| Overflow error. More... | |
| class | pixel |
| Represents a pixel. More... | |
| class | platform_error |
| Platform-specific error. More... | |
| class | png_image_file |
| Contains methods to check, read, and write PNG files. More... | |
| class | positive_checker |
| Positive checker for checked variable. More... | |
| class | postcondition_violation |
| Postcondition violation error. More... | |
| class | precondition_violation |
| Precondition violation error. More... | |
| class | quaternion |
| Represents a quaternion. More... | |
| class | read_error |
| File read error. More... | |
| class | rectangle |
| Object representing an axis aligned rectangle. More... | |
| class | render_surface |
| Abstract base class for surfaces that can be rendered onto. More... | |
| class | rotation2 |
| Represents a rotation in 2d space. More... | |
| class | rotation3 |
| Represents a rotation in 2d space. More... | |
| class | shader |
| Represents a generic interface for a shader. More... | |
| class | shader_program |
| Represents a shader program. More... | |
| class | shader_t |
| Represents a concrete instance of a type of shader. More... | |
| class | span |
| Lightweight proxy for any contiguous container which can be represented by a pointer and a size. More... | |
| class | stopwatch |
| High resolution stopwatch. More... | |
| class | stream |
| Base stream interface. More... | |
| class | stream_in |
| Input stream interface. More... | |
| class | stream_out |
| Output stream interface. More... | |
| class | streaming_audio_source |
| Represents an audio source constantly streaming a buffer. More... | |
| class | text_box_formatting_params |
| Represents a collection of text box formatting parameters. More... | |
| class | text_file_in |
| Input text file stream. More... | |
| class | text_file_out |
| Output text file stream. More... | |
| class | text_shader_program |
| shader program used to render text. More... | |
| class | text_stream |
| text stream interface. More... | |
| class | text_stream_in |
| text input stream interface. More... | |
| class | text_stream_out |
| text output stream interface. More... | |
| class | text_vertex |
| Represents a vertex used to render text. More... | |
| class | texture |
| Represents a texture, that is an image residing in the graphical memory. More... | |
| class | texture_channel_mapping |
| Defines a channel mapping for a texture. More... | |
| class | texture_t |
| Represents a concrete texture type. More... | |
| class | transform2 |
| Transform in 2d space. More... | |
| class | transform3 |
| Transform in 3d space. More... | |
| class | uid_generator |
| A thread safe unique identifier generator. More... | |
| class | underflow_error |
| Overflow error. More... | |
| class | unsupported_error |
| Unsupported feature error. More... | |
| class | utf16 |
| Container class for UTF-16 encoding functions. More... | |
| class | utf32 |
| Container class for UTF-32 encoding functions. More... | |
| class | utf8 |
| Container class for UTF-8 encoding functions. More... | |
| class | vertex2 |
| Represents a vertex in 2d space. More... | |
| class | vertex_array |
| Represents a vertex_array object. More... | |
| class | vertex_attrib_format |
| Class representing the format of an attribute of a vertex. More... | |
| class | vertex_buffer |
| Represents a generic interface for a graphical memory buffer. More... | |
| class | vertex_buffer_t |
| Represents a concrete instance of a type of graphical memory buffer. More... | |
| class | vertex_format |
| Describes the format of a vertex. More... | |
| class | wav_file_in |
| Input wav file stream. More... | |
| class | wide |
| Container class for wide encoding functions. More... | |
| class | window |
| Represents a window. More... | |
| class | write_error |
| File write error. More... | |
Typedefs | |
| using | uint = unsigned int |
| Unsigned int. More... | |
| using | uchar = unsigned char |
| Unsigned char. | |
| using | size_t = std::size_t |
| Size type. More... | |
| template<size_t N> | |
| using | static_string = basic_static_string< char, N, std::char_traits< char > > |
| Utf8 static string. More... | |
| template<size_t N> | |
| using | static_wstring = basic_static_string< wchar_t, N, std::char_traits< wchar_t > > |
| Wide static string. More... | |
| template<size_t N> | |
| using | static_u16string = basic_static_string< char16_t, N, std::char_traits< char16_t > > |
| Utf16 static string. More... | |
| template<size_t N> | |
| using | static_u32string = basic_static_string< char32_t, N, std::char_traits< char32_t > > |
| Utf32 static string. More... | |
| using | code_point = char32_t |
| Unicode code point. More... | |
| template<typename T > | |
| using | positive = checked_variable< T, positive_checker< T > > |
| Positive variable. More... | |
| template<typename T > | |
| using | non_negative = checked_variable< T, non_negative_checker< T > > |
| Non-negative variable. More... | |
| template<typename T > | |
| using | negative = checked_variable< T, negative_checker< T > > |
| Negative variable. More... | |
| template<typename T > | |
| using | non_positive = checked_variable< T, non_positive_checker< T > > |
| Non-positive variable. More... | |
| template<typename T , T Min, T Max> | |
| using | bounded = checked_variable< T, bounded_checker< T, Min, Max > > |
| Bounded variable. More... | |
| using | cor_module = module< prv::cor_module_impl > |
| Core module initialization manager. | |
| template<typename T > | |
| using | mat1x1 = matrix< T, 1u, 1u > |
| 1x1 matrix | |
| template<typename T > | |
| using | mat1x2 = matrix< T, 1u, 2u > |
| 1x2 matrix | |
| template<typename T > | |
| using | mat1x3 = matrix< T, 1u, 3u > |
| 1x3 matrix | |
| template<typename T > | |
| using | mat1x4 = matrix< T, 1u, 4u > |
| 1x4 matrix | |
| template<typename T > | |
| using | mat2x1 = matrix< T, 2u, 1u > |
| 2x1 matrix | |
| template<typename T > | |
| using | mat2x2 = matrix< T, 2u, 2u > |
| 2x2 matrix | |
| template<typename T > | |
| using | mat2x3 = matrix< T, 2u, 3u > |
| 2x3 matrix | |
| template<typename T > | |
| using | mat2x4 = matrix< T, 2u, 4u > |
| 2x4 matrix | |
| template<typename T > | |
| using | mat3x1 = matrix< T, 3u, 1u > |
| 3x1 matrix | |
| template<typename T > | |
| using | mat3x2 = matrix< T, 3u, 2u > |
| 3x2 matrix | |
| template<typename T > | |
| using | mat3x3 = matrix< T, 3u, 3u > |
| 3x3 matrix | |
| template<typename T > | |
| using | mat3x4 = matrix< T, 3u, 4u > |
| 3x4 matrix | |
| template<typename T > | |
| using | mat4x1 = matrix< T, 4u, 1u > |
| 4x1 matrix | |
| template<typename T > | |
| using | mat4x2 = matrix< T, 4u, 2u > |
| 4x2 matrix | |
| template<typename T > | |
| using | mat4x3 = matrix< T, 4u, 3u > |
| 4x3 matrix | |
| template<typename T > | |
| using | mat4x4 = matrix< T, 4u, 4u > |
| 4x4 matrix | |
| using | mat1x1i = mat1x1< int > |
| int 1x1 matrix | |
| using | mat1x2i = mat1x2< int > |
| int 1x2 matrix | |
| using | mat1x3i = mat1x3< int > |
| int 1x3 matrix | |
| using | mat1x4i = mat1x4< int > |
| int 1x4 matrix | |
| using | mat2x1i = mat2x1< int > |
| int 2x1 matrix | |
| using | mat2x2i = mat2x2< int > |
| int 2x2 matrix | |
| using | mat2x3i = mat2x3< int > |
| int 2x3 matrix | |
| using | mat2x4i = mat2x4< int > |
| int 2x4 matrix | |
| using | mat3x1i = mat3x1< int > |
| int 3x1 matrix | |
| using | mat3x2i = mat3x2< int > |
| int 3x2 matrix | |
| using | mat3x3i = mat3x3< int > |
| int 3x3 matrix | |
| using | mat3x4i = mat3x4< int > |
| int 3x4 matrix | |
| using | mat4x1i = mat4x1< int > |
| int 4x1 matrix | |
| using | mat4x2i = mat4x2< int > |
| int 4x2 matrix | |
| using | mat4x3i = mat4x3< int > |
| int 4x3 matrix | |
| using | mat4x4i = mat4x4< int > |
| int 4x4 matrix | |
| using | mat1x1u = mat1x1< uint > |
| Unsigned int 1x1 matrix. | |
| using | mat1x2u = mat1x2< uint > |
| Unsigned int 1x2 matrix. | |
| using | mat1x3u = mat1x3< uint > |
| Unsigned int 1x3 matrix. | |
| using | mat1x4u = mat1x4< uint > |
| Unsigned int 1x4 matrix. | |
| using | mat2x1u = mat2x1< uint > |
| Unsigned int 2x1 matrix. | |
| using | mat2x2u = mat2x2< uint > |
| Unsigned int 2x2 matrix. | |
| using | mat2x3u = mat2x3< uint > |
| Unsigned int 2x3 matrix. | |
| using | mat2x4u = mat2x4< uint > |
| Unsigned int 2x4 matrix. | |
| using | mat3x1u = mat3x1< uint > |
| Unsigned int 3x1 matrix. | |
| using | mat3x2u = mat3x2< uint > |
| Unsigned int 3x2 matrix. | |
| using | mat3x3u = mat3x3< uint > |
| Unsigned int 3x3 matrix. | |
| using | mat3x4u = mat3x4< uint > |
| Unsigned int 3x4 matrix. | |
| using | mat4x1u = mat4x1< uint > |
| Unsigned int 4x1 matrix. | |
| using | mat4x2u = mat4x2< uint > |
| Unsigned int 4x2 matrix. | |
| using | mat4x3u = mat4x3< uint > |
| Unsigned int 4x3 matrix. | |
| using | mat4x4u = mat4x4< uint > |
| Unsigned int 4x4 matrix. | |
| using | mat1x1f = mat1x1< float > |
| float 1x1 matrix | |
| using | mat1x2f = mat1x2< float > |
| float 1x2 matrix | |
| using | mat1x3f = mat1x3< float > |
| float 1x3 matrix | |
| using | mat1x4f = mat1x4< float > |
| float 1x4 matrix | |
| using | mat2x1f = mat2x1< float > |
| float 2x1 matrix | |
| using | mat2x2f = mat2x2< float > |
| float 2x2 matrix | |
| using | mat2x3f = mat2x3< float > |
| float 2x3 matrix | |
| using | mat2x4f = mat2x4< float > |
| float 2x4 matrix | |
| using | mat3x1f = mat3x1< float > |
| float 3x1 matrix | |
| using | mat3x2f = mat3x2< float > |
| float 3x2 matrix | |
| using | mat3x3f = mat3x3< float > |
| float 3x3 matrix | |
| using | mat3x4f = mat3x4< float > |
| float 3x4 matrix | |
| using | mat4x1f = mat4x1< float > |
| float 4x1 matrix | |
| using | mat4x2f = mat4x2< float > |
| float 4x2 matrix | |
| using | mat4x3f = mat4x3< float > |
| float 4x3 matrix | |
| using | mat4x4f = mat4x4< float > |
| float 4x4 matrix | |
| using | mat1x1d = mat1x1< double > |
| double 1x1 matrix | |
| using | mat1x2d = mat1x2< double > |
| double 1x2 matrix | |
| using | mat1x3d = mat1x3< double > |
| double 1x3 matrix | |
| using | mat1x4d = mat1x4< double > |
| double 1x4 matrix | |
| using | mat2x1d = mat2x1< double > |
| double 2x1 matrix | |
| using | mat2x2d = mat2x2< double > |
| double 2x2 matrix | |
| using | mat2x3d = mat2x3< double > |
| double 2x3 matrix | |
| using | mat2x4d = mat2x4< double > |
| double 2x4 matrix | |
| using | mat3x1d = mat3x1< double > |
| double 3x1 matrix | |
| using | mat3x2d = mat3x2< double > |
| double 3x2 matrix | |
| using | mat3x3d = mat3x3< double > |
| double 3x3 matrix | |
| using | mat3x4d = mat3x4< double > |
| double 3x4 matrix | |
| using | mat4x1d = mat4x1< double > |
| double 4x1 matrix | |
| using | mat4x2d = mat4x2< double > |
| double 4x2 matrix | |
| using | mat4x3d = mat4x3< double > |
| double 4x3 matrix | |
| using | mat4x4d = mat4x4< double > |
| double 4x4 matrix | |
| template<typename T , size_t dimension> | |
| using | vec = matrix< T, dimension, 1u > |
| vector | |
| template<typename T > | |
| using | vec1 = vec< T, 1u > |
| 1d vector | |
| using | vec1i = vec1< int > |
| int 2d vector | |
| using | vec1u = vec1< uint > |
| Unsigned int 2d vector. | |
| using | vec1f = vec1< float > |
| float 2d vector | |
| using | vec1d = vec1< double > |
| double 2d vector | |
| template<typename T > | |
| using | vec2 = vec< T, 2u > |
| 2d vector | |
| using | vec2i = vec2< int > |
| int 2d vector | |
| using | vec2u = vec2< uint > |
| Unsigned int 2d vector. | |
| using | vec2f = vec2< float > |
| float 2d vector | |
| using | vec2d = vec2< double > |
| double 2d vector | |
| template<typename T > | |
| using | vec3 = vec< T, 3u > |
| 3d vector | |
| using | vec3i = vec3< int > |
| int 3d vector | |
| using | vec3u = vec3< uint > |
| Unsigned int 3d vector. | |
| using | vec3f = vec3< float > |
| float 3d vector | |
| using | vec3d = vec3< double > |
| double 3d vector | |
| using | mth_module = module< prv::mth_module_impl > |
| Math module initialization manager. | |
| using | quatf = quaternion< float > |
| float quaternion | |
| using | quatd = quaternion< double > |
| double quaternion | |
| template<typename T > | |
| using | rect = rectangle< T > |
| Axis aligned rectangle. | |
| using | recti = rect< int > |
| Integer rectangle. | |
| using | rectf = rect< float > |
| Float rectangle. | |
| using | rectd = rect< double > |
| Double rectangle. | |
| template<typename T > | |
| using | rot2 = rotation2< T > |
| 2d rotation | |
| using | rot2f = rotation2< float > |
| Float 2d rotation. | |
| using | rot2d = rotation2< double > |
| Double 2d rotation. | |
| template<typename T > | |
| using | rot3 = rotation3< T > |
| 3d rotation | |
| using | rot3f = rotation3< float > |
| float 3d rotation | |
| using | rot3d = rotation3< double > |
| double 3d rotation | |
| template<typename T > | |
| using | trans2 = transform2< T > |
| 2d transform | |
| using | trans2f = transform2< float > |
| float 2d transform | |
| using | trans2d = transform2< double > |
| double 2d transform | |
| template<typename T > | |
| using | trans3 = transform3< T > |
| 3d transform | |
| using | trans3f = transform3< float > |
| float 3d transform | |
| using | trans3d = transform3< double > |
| double 3d transform | |
| template<pixel_format format> | |
| using | image1 = image< 1u, format > |
| One-dimensional image. More... | |
| using | image1_r = image1< pixel_format::r > |
| Single channel, one-dimensional image. More... | |
| using | image1_rg = image1< pixel_format::rg > |
| Two channels, one-dimensional image. More... | |
| using | image1_rgb = image1< pixel_format::rgb > |
| Three channels, one-dimensional image. More... | |
| using | image1_rgba = image1< pixel_format::rgba > |
| Four channels, one-dimensional image. More... | |
| template<pixel_format format> | |
| using | image2 = image< 2u, format > |
| Two-dimensional image. More... | |
| using | image2_r = image2< pixel_format::r > |
| Single channel, two-dimensional image. More... | |
| using | image2_rg = image2< pixel_format::rg > |
| Two channels, two-dimensional image. More... | |
| using | image2_rgb = image2< pixel_format::rgb > |
| Three channels, two-dimensional image. More... | |
| using | image2_rgba = image2< pixel_format::rgba > |
| Four channels, two-dimensional image. More... | |
| template<pixel_format format> | |
| using | image3 = image< 3u, format > |
| Three-dimensional image. More... | |
| using | image3_r = image3< pixel_format::r > |
| Single channel, three-dimensional image. More... | |
| using | image3_rg = image3< pixel_format::rg > |
| Two channels, three-dimensional image. More... | |
| using | image3_rgb = image3< pixel_format::rgb > |
| Three channels, three-dimensional image. More... | |
| using | image3_rgba = image3< pixel_format::rgba > |
| Four channels, three-dimensional image. More... | |
| using | pixel_r = pixel< pixel_format::r > |
| Single channel pixel. More... | |
| using | pixel_rg = pixel< pixel_format::rg > |
| Two channels pixel. More... | |
| using | pixel_rgb = pixel< pixel_format::rgb > |
| Three channels pixel. More... | |
| using | pixel_rgba = pixel< pixel_format::rgba > |
| Four channels pixel. More... | |
| using | sys_module = module< prv::sys_module_impl > |
| System module initialization manager. | |
| using | gfx_module = module< prv::gfx_module_impl > |
| Aud module intializaton manager. | |
| using | vsync_mode = gl::vsync_mode |
| Vertical sync mode enumration. More... | |
| using | mesh2 = mesh_t< vertex2 > |
| mesh of vertex2. More... | |
| using | vertex_shader = shader_t< shader_type::vertex > |
| Vertex shader. More... | |
| using | fragment_shader = shader_t< shader_type::fragment > |
| Fragment shader. More... | |
| using | geometry_shader = shader_t< shader_type::geometry > |
| Geometry shader. More... | |
| using | text_mesh = mesh_t< text_vertex > |
| mesh of text_vertex. More... | |
| using | texture2 = texture_t< texture_type::texture2 > |
| 2 dimensional texture. More... | |
| using | texture2_array = texture_t< texture_type::texture2_array > |
| 2 dimensional texture array. More... | |
| using | texture3 = texture_t< texture_type::texture3 > |
| 3 dimensional texture. More... | |
| using | multisample_texture2 = texture_t< texture_type::multisample_texture2 > |
| 2 dimensional multisampled texture. More... | |
| using | multisample_texture2_array = texture_t< texture_type::multisample_texture2_array > |
| 2 dimensional multisampled texture array. More... | |
| template<typename T > | |
| using | static_vertex_buffer = vertex_buffer_t< T, false > |
| Unmodifiable vertex buffer. More... | |
| template<typename T > | |
| using | dynamic_vertex_buffer = vertex_buffer_t< T, true > |
| Modifiable vertex buffer. More... | |
| using | aud_module = module< prv::aud_module_impl > |
| Aud module intializaton manager. | |
Enumerations | |
| enum | display_format : uint32_t { unknown = SDL_PIXELFORMAT_UNKNOWN, index1lsb = SDL_PIXELFORMAT_INDEX1LSB, index1msb = SDL_PIXELFORMAT_INDEX1MSB, index4lsb = SDL_PIXELFORMAT_INDEX4LSB, index4msb = SDL_PIXELFORMAT_INDEX4MSB, index8 = SDL_PIXELFORMAT_INDEX8, rgb332 = SDL_PIXELFORMAT_RGB332, rgb444 = SDL_PIXELFORMAT_RGB444, rgb555 = SDL_PIXELFORMAT_RGB555, bgr555 = SDL_PIXELFORMAT_BGR555, argb4444 = SDL_PIXELFORMAT_ARGB4444, rgba4444 = SDL_PIXELFORMAT_RGBA4444, abgr4444 = SDL_PIXELFORMAT_ABGR4444, bgra4444 = SDL_PIXELFORMAT_BGRA4444, argb1555 = SDL_PIXELFORMAT_ARGB1555, rgba5551 = SDL_PIXELFORMAT_RGBA5551, abgr1555 = SDL_PIXELFORMAT_ABGR1555, bgra5551 = SDL_PIXELFORMAT_BGRA5551, rgb565 = SDL_PIXELFORMAT_RGB565, bgr565 = SDL_PIXELFORMAT_BGR565, rgb24 = SDL_PIXELFORMAT_RGB24, bgr24 = SDL_PIXELFORMAT_BGR24, rgb888 = SDL_PIXELFORMAT_RGB888, rgbx8888 = SDL_PIXELFORMAT_RGBX8888, bgr888 = SDL_PIXELFORMAT_BGR888, bgrx8888 = SDL_PIXELFORMAT_BGRX8888, argb8888 = SDL_PIXELFORMAT_ARGB8888, rgba8888 = SDL_PIXELFORMAT_RGBA8888, abgr8888 = SDL_PIXELFORMAT_ABGR8888, bgra8888 = SDL_PIXELFORMAT_BGRA8888, argb2101010 = SDL_PIXELFORMAT_ARGB2101010, yv12 = SDL_PIXELFORMAT_YV12, iyuv = SDL_PIXELFORMAT_IYUV, yuy2 = SDL_PIXELFORMAT_YUY2, uyvy = SDL_PIXELFORMAT_UYVY, yvyu = SDL_PIXELFORMAT_YVYU, nv12 = SDL_PIXELFORMAT_NV12, nv21 = SDL_PIXELFORMAT_NV21 } |
| Represents a display format. | |
| enum | display_format_type : Uint32 { unknown = SDL_PIXELTYPE_UNKNOWN, index1 = SDL_PIXELTYPE_INDEX1, index4 = SDL_PIXELTYPE_INDEX4, index8 = SDL_PIXELTYPE_INDEX8, packed8 = SDL_PIXELTYPE_PACKED8, packed16 = SDL_PIXELTYPE_PACKED16, packed32 = SDL_PIXELTYPE_PACKED32, arrayu8 = SDL_PIXELTYPE_ARRAYU8, arrayu16 = SDL_PIXELTYPE_ARRAYU16, arrayu32 = SDL_PIXELTYPE_ARRAYU32, arrayf16 = SDL_PIXELTYPE_ARRAYF16, arrayf32 = SDL_PIXELTYPE_ARRAYF32 } |
| Represents the type of a display_format. | |
| enum | display_format_bitmap_order : Uint32 { none = SDL_BITMAPORDER_NONE, ev4321 = SDL_BITMAPORDER_4321, ev1234 = SDL_BITMAPORDER_1234 } |
| Represents the bit order in a bitmap display_format. | |
| enum | display_format_packed_order : Uint32 { none = SDL_PACKEDORDER_NONE, xrgb = SDL_PACKEDORDER_XRGB, rgbx = SDL_PACKEDORDER_RGBX, argb = SDL_PACKEDORDER_ARGB, rgba = SDL_PACKEDORDER_RGBA, xbgr = SDL_PACKEDORDER_XBGR, bgrx = SDL_PACKEDORDER_BGRX, abgr = SDL_PACKEDORDER_ABGR, bgra = SDL_PACKEDORDER_BGRA } |
| Represents the bit order in a packed display_format. | |
| enum | display_format_array_order : Uint32 { none = SDL_ARRAYORDER_NONE, rgb = SDL_ARRAYORDER_RGB, rgba = SDL_ARRAYORDER_RGBA, argb = SDL_ARRAYORDER_ARGB, bgr = SDL_ARRAYORDER_BGR, bgra = SDL_ARRAYORDER_BGRA, abgr = SDL_ARRAYORDER_ABGR } |
| Represents the bit order in an array display_format. | |
| enum | display_format_packed_layout : Uint32 { none = SDL_PACKEDLAYOUT_NONE, ev332 = SDL_PACKEDLAYOUT_332, ev4444 = SDL_PACKEDLAYOUT_4444, ev1555 = SDL_PACKEDLAYOUT_1555, ev5551 = SDL_PACKEDLAYOUT_5551, ev565 = SDL_PACKEDLAYOUT_565, ev8888 = SDL_PACKEDLAYOUT_8888, ev2101010 = SDL_PACKEDLAYOUT_2101010, ev1010102 = SDL_PACKEDLAYOUT_1010102 } |
| Represents the bit layout in a packed display_format. | |
| enum | file_open_mode { file_open_mode::read, file_open_mode::write, file_open_mode::append } |
| Enumeration for file open mode. More... | |
| enum | file_type { file_type::binary, file_type::text } |
| Enumeration for a file type. More... | |
| enum | key_code { unknown = SDLK_UNKNOWN, f1 = SDLK_F1, f2 = SDLK_F2, f3 = SDLK_F3, f4 = SDLK_F4, f5 = SDLK_F5, f6 = SDLK_F6, f7 = SDLK_F7, f8 = SDLK_F8, f9 = SDLK_F9, f10 = SDLK_F10, f11 = SDLK_F11, f12 = SDLK_F12, f13 = SDLK_F13, f14 = SDLK_F14, f15 = SDLK_F15, f16 = SDLK_F16, f17 = SDLK_F17, f18 = SDLK_F18, f19 = SDLK_F19, f20 = SDLK_F20, f21 = SDLK_F21, f22 = SDLK_F22, f23 = SDLK_F23, f24 = SDLK_F24, numpad0 = SDLK_KP_0, numpad1 = SDLK_KP_1, numpad2 = SDLK_KP_2, numpad3 = SDLK_KP_3, numpad4 = SDLK_KP_4, numpad5 = SDLK_KP_5, numpad6 = SDLK_KP_6, numpad7 = SDLK_KP_7, numpad8 = SDLK_KP_8, numpad9 = SDLK_KP_9, numpad_plus = SDLK_KP_PLUS, numpad_minus = SDLK_KP_MINUS, numpad_multiply = SDLK_KP_MULTIPLY, numpad_divide = SDLK_KP_DIVIDE, numpad_decimal = SDLK_KP_DECIMAL, numpad_enter = SDLK_KP_ENTER, page_up = SDLK_PAGEUP, page_down = SDLK_PAGEDOWN, end = SDLK_END, home = SDLK_HOME, insert = SDLK_INSERT, del = SDLK_DELETE, backspace = SDLK_BACKSPACE, left = SDLK_LEFT, right = SDLK_RIGHT, up = SDLK_UP, down = SDLK_DOWN, num0 = SDLK_0, num1 = SDLK_1, num2 = SDLK_2, num3 = SDLK_3, num4 = SDLK_4, num5 = SDLK_5, num6 = SDLK_6, num7 = SDLK_7, num8 = SDLK_8, num9 = SDLK_9, a = SDLK_a, b = SDLK_b, c = SDLK_c, d = SDLK_d, e = SDLK_e, f = SDLK_f, g = SDLK_g, h = SDLK_h, i = SDLK_i, j = SDLK_j, k = SDLK_k, l = SDLK_l, m = SDLK_m, n = SDLK_n, o = SDLK_o, p = SDLK_p, q = SDLK_q, r = SDLK_r, s = SDLK_s, t = SDLK_t, u = SDLK_u, v = SDLK_v, x = SDLK_x, y = SDLK_y, w = SDLK_w, z = SDLK_z, lbracket = SDLK_LEFTBRACKET, rbracket = SDLK_RIGHTBRACKET, apostrophe = SDLK_QUOTE, backslash = SDLK_BACKSLASH, comma = SDLK_COMMA, dash = SDLK_MINUS, enter = SDLK_RETURN, equal = SDLK_EQUALS, grave = SDLK_BACKQUOTE, period = SDLK_PERIOD, semicolon = SDLK_SEMICOLON, slash = SDLK_SLASH, space = SDLK_SPACE, tab = SDLK_TAB, caps_lock = SDLK_CAPSLOCK, num_lock = SDLK_NUMLOCKCLEAR, scroll_lock = SDLK_SCROLLLOCK, lctrl = SDLK_LCTRL, rctrl = SDLK_RCTRL, lalt = SDLK_LALT, ralt = SDLK_RALT, lshift = SDLK_LSHIFT, rshift = SDLK_RSHIFT, lsystem = SDLK_LGUI, rsystem = SDLK_RGUI, ac_back = SDLK_AC_BACK, ac_forward = SDLK_AC_FORWARD, ac_refresh = SDLK_AC_REFRESH, ac_stop = SDLK_AC_STOP, ac_search = SDLK_AC_SEARCH, ac_bookmarks = SDLK_AC_BOOKMARKS, ac_home = SDLK_AC_HOME, volume_up = SDLK_VOLUMEUP, volume_down = SDLK_VOLUMEDOWN, mute = SDLK_AUDIOMUTE, media_next_track = SDLK_AUDIONEXT, media_previous_track = SDLK_AUDIOPREV, media_stop = SDLK_AUDIOSTOP, media_play_pause = SDLK_AUDIOPLAY, launch_media_select = SDLK_MEDIASELECT, launch_mail = SDLK_MAIL, again = SDLK_AGAIN, alt_erase = SDLK_ALTERASE, application = SDLK_APPLICATION, brightness_up = SDLK_BRIGHTNESSUP, brightness_down = SDLK_BRIGHTNESSDOWN, calculator = SDLK_CALCULATOR, cancel = SDLK_CANCEL, clear_again = SDLK_CLEARAGAIN, computer = SDLK_COMPUTER, copy = SDLK_COPY, crsel = SDLK_CRSEL, currency_sub_unit = SDLK_CURRENCYSUBUNIT, currency_unit = SDLK_CURRENCYUNIT, cut = SDLK_CUT, decimal_separator = SDLK_DECIMALSEPARATOR, display_switch = SDLK_DISPLAYSWITCH, eject = SDLK_EJECT, escape = SDLK_ESCAPE, execute = SDLK_EXECUTE, exsel = SDLK_EXSEL, find = SDLK_FIND, help = SDLK_HELP, illumination_down = SDLK_KBDILLUMDOWN, illumination_up = SDLK_KBDILLUMUP, illumination_toggle = SDLK_KBDILLUMTOGGLE, oper = SDLK_OPER, out = SDLK_OUT, paste = SDLK_PASTE, pause = SDLK_PAUSE, power = SDLK_POWER, print_screen = SDLK_PRINTSCREEN, prior = SDLK_PRIOR, separator = SDLK_SEPARATOR, select = SDLK_SELECT, sleep = SDLK_SLEEP, sys_req = SDLK_SYSREQ, thousands_separator = SDLK_THOUSANDSSEPARATOR, undo = SDLK_UNDO, www = SDLK_WWW, ampersand = SDLK_AMPERSAND, asterisk = SDLK_ASTERISK, at = SDLK_AT, caret = SDLK_CARET, colon = SDLK_COLON, dollar = SDLK_DOLLAR, exclamation_mark = SDLK_EXCLAIM, less = SDLK_LESS, greater = SDLK_GREATER, hash = SDLK_HASH, lparenthesis = SDLK_LEFTPAREN, rparentheses = SDLK_RIGHTPAREN, percent = SDLK_PERCENT, plus = SDLK_PLUS, question_mark = SDLK_QUESTION, double_quote = SDLK_QUOTEDBL, underscore = SDLK_UNDERSCORE } |
| Keyboard key code. More... | |
| enum | modifier_keys : uint32_t { none = 0, lalt = KMOD_LALT, ralt = KMOD_RALT, alt = KMOD_ALT, lctrl = KMOD_LCTRL, rctrl = KMOD_RCTRL, ctrl = KMOD_CTRL, lshift = KMOD_LSHIFT, rshift = KMOD_RSHIFT, shift = KMOD_SHIFT, lsystem = KMOD_LGUI, rsystem = KMOD_RGUI, system = KMOD_GUI, num = KMOD_NUM, caps = KMOD_CAPS, mode = KMOD_MODE } |
| Enumeration for the modifier key flags, used for key related window events. More... | |
| enum | mouse_button { mouse_button::lb = SDL_BUTTON_LEFT, mouse_button::mb = SDL_BUTTON_MIDDLE, mouse_button::rb = SDL_BUTTON_RIGHT, mouse_button::xb1 = SDL_BUTTON_X1, mouse_button::xb2 = SDL_BUTTON_X2 } |
| Enumeration for the mouse buttons. More... | |
| enum | pixel_format { pixel_format::r, pixel_format::rg, pixel_format::rgb, pixel_format::rgba } |
| Enumeration for the format of an image pixel. More... | |
| enum | scan_code { unknown, f1 = SDL_SCANCODE_F1, f2 = SDL_SCANCODE_F2, f3 = SDL_SCANCODE_F3, f4 = SDL_SCANCODE_F4, f5 = SDL_SCANCODE_F5, f6 = SDL_SCANCODE_F6, f7 = SDL_SCANCODE_F7, f8 = SDL_SCANCODE_F8, f9 = SDL_SCANCODE_F9, f10 = SDL_SCANCODE_F10, f11 = SDL_SCANCODE_F11, f12 = SDL_SCANCODE_F12, numpad0 = SDL_SCANCODE_KP_0, numpad1 = SDL_SCANCODE_KP_1, numpad2 = SDL_SCANCODE_KP_2, numpad3 = SDL_SCANCODE_KP_3, numpad4 = SDL_SCANCODE_KP_4, numpad5 = SDL_SCANCODE_KP_5, numpad6 = SDL_SCANCODE_KP_6, numpad7 = SDL_SCANCODE_KP_7, numpad8 = SDL_SCANCODE_KP_8, numpad9 = SDL_SCANCODE_KP_9, numpad_plus = SDL_SCANCODE_KP_PLUS, numpad_minus = SDL_SCANCODE_KP_MINUS, numpad_multiply = SDL_SCANCODE_KP_MULTIPLY, numpad_divide = SDL_SCANCODE_KP_DIVIDE, numpad_decimal = SDL_SCANCODE_KP_DECIMAL, numpad_enter = SDL_SCANCODE_KP_ENTER, page_up = SDL_SCANCODE_PAGEUP, page_down = SDL_SCANCODE_PAGEDOWN, end = SDL_SCANCODE_END, home = SDL_SCANCODE_HOME, insert = SDL_SCANCODE_INSERT, del = SDL_SCANCODE_DELETE, backspace = SDL_SCANCODE_BACKSPACE, left = SDL_SCANCODE_LEFT, right = SDL_SCANCODE_RIGHT, up = SDL_SCANCODE_UP, down = SDL_SCANCODE_DOWN, num0 = SDL_SCANCODE_0, num1 = SDL_SCANCODE_1, num2 = SDL_SCANCODE_2, num3 = SDL_SCANCODE_3, num4 = SDL_SCANCODE_4, num5 = SDL_SCANCODE_5, num6 = SDL_SCANCODE_6, num7 = SDL_SCANCODE_7, num8 = SDL_SCANCODE_8, num9 = SDL_SCANCODE_9, a = SDL_SCANCODE_A, b = SDL_SCANCODE_B, c = SDL_SCANCODE_C, d = SDL_SCANCODE_D, e = SDL_SCANCODE_E, f = SDL_SCANCODE_F, g = SDL_SCANCODE_G, h = SDL_SCANCODE_H, i = SDL_SCANCODE_I, j = SDL_SCANCODE_J, k = SDL_SCANCODE_K, l = SDL_SCANCODE_L, m = SDL_SCANCODE_M, n = SDL_SCANCODE_N, o = SDL_SCANCODE_O, p = SDL_SCANCODE_P, q = SDL_SCANCODE_Q, r = SDL_SCANCODE_R, s = SDL_SCANCODE_S, t = SDL_SCANCODE_T, u = SDL_SCANCODE_U, v = SDL_SCANCODE_V, x = SDL_SCANCODE_X, y = SDL_SCANCODE_Y, w = SDL_SCANCODE_W, z = SDL_SCANCODE_Z, lbracket = SDL_SCANCODE_LEFTBRACKET, rbracket = SDL_SCANCODE_RIGHTBRACKET, apostrophe = SDL_SCANCODE_APOSTROPHE, backslash = SDL_SCANCODE_BACKSLASH, comma = SDL_SCANCODE_COMMA, dash = SDL_SCANCODE_MINUS, enter = SDL_SCANCODE_RETURN, equal = SDL_SCANCODE_EQUALS, period = SDL_SCANCODE_PERIOD, grave = SDL_SCANCODE_GRAVE, semicolon = SDL_SCANCODE_SEMICOLON, slash = SDL_SCANCODE_SLASH, space = SDL_SCANCODE_SPACE, tab = SDL_SCANCODE_TAB, caps_lock = SDL_SCANCODE_CAPSLOCK, num_lock = SDL_SCANCODE_NUMLOCKCLEAR, scroll_lock = SDL_SCANCODE_SCROLLLOCK, lctrl = SDL_SCANCODE_LCTRL, rctrl = SDL_SCANCODE_RCTRL, lalt = SDL_SCANCODE_LALT, ralt = SDL_SCANCODE_RALT, lshift = SDL_SCANCODE_LSHIFT, rshift = SDL_SCANCODE_RSHIFT, lsystem = SDL_SCANCODE_LGUI, rsystem = SDL_SCANCODE_RGUI, ac_back = SDL_SCANCODE_AC_BACK, ac_forward = SDL_SCANCODE_AC_FORWARD, ac_refresh = SDL_SCANCODE_AC_REFRESH, ac_stop = SDL_SCANCODE_AC_STOP, ac_search = SDL_SCANCODE_AC_SEARCH, ac_bookmarks = SDL_SCANCODE_AC_BOOKMARKS, ac_home = SDL_SCANCODE_AC_HOME, volume_up = SDL_SCANCODE_VOLUMEUP, volume_down = SDL_SCANCODE_VOLUMEDOWN, mute = SDL_SCANCODE_AUDIOMUTE, media_next_track = SDL_SCANCODE_AUDIONEXT, media_previous_track = SDL_SCANCODE_AUDIOPREV, media_stop = SDL_SCANCODE_AUDIOSTOP, media_play_pause = SDL_SCANCODE_AUDIOPLAY, launch_media_select = SDL_SCANCODE_MEDIASELECT, launch_mail = SDL_SCANCODE_MAIL, again = SDL_SCANCODE_AGAIN, alt_erase = SDL_SCANCODE_ALTERASE, application = SDL_SCANCODE_APPLICATION, brightness_up = SDL_SCANCODE_BRIGHTNESSUP, brightness_down = SDL_SCANCODE_BRIGHTNESSDOWN, calculator = SDL_SCANCODE_CALCULATOR, cancel = SDL_SCANCODE_CANCEL, clear_again = SDL_SCANCODE_CLEARAGAIN, computer = SDL_SCANCODE_COMPUTER, copy = SDL_SCANCODE_COPY, crsel = SDL_SCANCODE_CRSEL, currency_sub_unit = SDL_SCANCODE_CURRENCYSUBUNIT, currency_unit = SDL_SCANCODE_CURRENCYUNIT, cut = SDL_SCANCODE_CUT, decimal_separator = SDL_SCANCODE_DECIMALSEPARATOR, display_switch = SDL_SCANCODE_DISPLAYSWITCH, eject = SDL_SCANCODE_EJECT, escape = SDL_SCANCODE_ESCAPE, execute = SDL_SCANCODE_EXECUTE, exsel = SDL_SCANCODE_EXSEL, find = SDL_SCANCODE_FIND, help = SDL_SCANCODE_HELP, illumination_down = SDL_SCANCODE_KBDILLUMDOWN, illumination_up = SDL_SCANCODE_KBDILLUMUP, illumination_toggle = SDL_SCANCODE_KBDILLUMTOGGLE, oper = SDL_SCANCODE_OPER, out = SDL_SCANCODE_OUT, paste = SDL_SCANCODE_PASTE, pause = SDL_SCANCODE_PAUSE, power = SDL_SCANCODE_POWER, print_screen = SDL_SCANCODE_PRINTSCREEN, prior = SDL_SCANCODE_PRIOR, separator = SDL_SCANCODE_SEPARATOR, select = SDL_SCANCODE_SELECT, sleep = SDL_SCANCODE_SLEEP, sys_req = SDL_SCANCODE_SYSREQ, thousands_separator = SDL_SCANCODE_THOUSANDSSEPARATOR, undo = SDL_SCANCODE_UNDO, www = SDL_SCANCODE_WWW, international1 = SDL_SCANCODE_INTERNATIONAL1, international2 = SDL_SCANCODE_INTERNATIONAL2, international3 = SDL_SCANCODE_INTERNATIONAL3, international4 = SDL_SCANCODE_INTERNATIONAL4, international5 = SDL_SCANCODE_INTERNATIONAL5, international6 = SDL_SCANCODE_INTERNATIONAL6, international7 = SDL_SCANCODE_INTERNATIONAL7, international8 = SDL_SCANCODE_INTERNATIONAL8, international9 = SDL_SCANCODE_INTERNATIONAL9, language1 = SDL_SCANCODE_LANG1, language2 = SDL_SCANCODE_LANG2, language3 = SDL_SCANCODE_LANG3, language4 = SDL_SCANCODE_LANG4, language5 = SDL_SCANCODE_LANG5, language6 = SDL_SCANCODE_LANG6, language7 = SDL_SCANCODE_LANG7, language8 = SDL_SCANCODE_LANG8, language9 = SDL_SCANCODE_LANG9, non_us_backslash = SDL_SCANCODE_NONUSBACKSLASH, non_us_hash = SDL_SCANCODE_NONUSHASH } |
| Keyboard scan code. More... | |
| enum | window_mode { window_mode::windowed, window_mode::fullscreen, window_mode::desktop_fullscreen } |
| Window mode. More... | |
| enum | blending_equation { add = GL_FUNC_ADD, subtract = GL_FUNC_SUBTRACT, reverse_subtract = GL_FUNC_REVERSE_SUBTRACT, min = GL_MIN, max = GL_MAX } |
| Enumeration for blending equations. | |
| enum | blending_factor { blending_factor::zero = GL_ZERO, blending_factor::one = GL_ONE, blending_factor::src_color = GL_SRC_COLOR, blending_factor::one_minus_src_color = GL_ONE_MINUS_SRC_COLOR, blending_factor::dst_color = GL_DST_COLOR, blending_factor::one_minus_dst_color = GL_ONE_MINUS_DST_COLOR, blending_factor::src_alpha = GL_SRC_ALPHA, blending_factor::one_minus_src_alpha = GL_ONE_MINUS_SRC_ALPHA, blending_factor::dst_alpha = GL_DST_ALPHA, blending_factor::one_minus_dst_alpha = GL_ONE_MINUS_DST_ALPHA, blending_factor::constant_color = GL_CONSTANT_COLOR, blending_factor::one_minus_constant_color = GL_ONE_MINUS_CONSTANT_COLOR, blending_factor::constant_alpha = GL_CONSTANT_ALPHA, blending_factor::one_minus_constant_alpha = GL_ONE_MINUS_CONSTANT_ALPHA } |
| Enumeration for blending factors. More... | |
| enum | framebuffer_blit_filter : GLenum { framebuffer_blit_filter::nearest = GL_NEAREST, framebuffer_blit_filter::linear = GL_LINEAR } |
| Specifies how to filter when blitting a framebuffer onto another. More... | |
| enum | framebuffer_blit_mask : GLenum { framebuffer_blit_mask::none = 0, framebuffer_blit_mask::color = GL_COLOR_BUFFER_BIT, framebuffer_blit_mask::depth = GL_DEPTH_BUFFER_BIT, framebuffer_blit_mask::stencil = GL_STENCIL_BUFFER_BIT, framebuffer_blit_mask::all = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT } |
| Bitfield used to specify which attachments to blit when blitting a framebuffer onto another one. More... | |
| enum | gl_type : GLenum { gl_type::byte = GL_BYTE, gl_type::unsigned_byte = GL_UNSIGNED_BYTE, gl_type::short_integer = GL_SHORT, gl_type::unsigned_short_integer = GL_UNSIGNED_SHORT, gl_type::integer = GL_INT, gl_type::unsigned_integer = GL_UNSIGNED_INT, gl_type::half_float_decimal = GL_HALF_FLOAT, gl_type::float_decimal = GL_FLOAT, gl_type::double_decimal = GL_DOUBLE, gl_type::fixed_decimal = GL_FIXED } |
| Enum representing an OpenGL type. More... | |
| enum | mesh_draw_mode : GLenum { mesh_draw_mode::points = GL_POINTS, mesh_draw_mode::line_strip = GL_LINE_STRIP, mesh_draw_mode::line_loop = GL_LINE_LOOP, mesh_draw_mode::lines = GL_LINES, mesh_draw_mode::line_strip_adjacency = GL_LINE_STRIP_ADJACENCY, mesh_draw_mode::line_adjacency = GL_LINES_ADJACENCY, mesh_draw_mode::triangle_strip = GL_TRIANGLE_STRIP, mesh_draw_mode::triangle_fan = GL_TRIANGLE_FAN, mesh_draw_mode::triangles = GL_TRIANGLES, mesh_draw_mode::triangle_strip_adjacency = GL_TRIANGLE_STRIP_ADJACENCY, mesh_draw_mode::patches = GL_PATCHES } |
| Enumeration for the draw mode of a mesh. More... | |
| enum | mesh_fill_mode : GLenum { mesh_fill_mode::point = GL_POINT, mesh_fill_mode::line = GL_LINE, mesh_fill_mode::fill = GL_FILL } |
| Enumeration for the mesh fill mode of a mesh. More... | |
| enum | shader_type : GLenum { shader_type::fragment = GL_FRAGMENT_SHADER, shader_type::geometry = GL_GEOMETRY_SHADER, shader_type::vertex = GL_VERTEX_SHADER } |
| Represents the type of a shader. More... | |
| enum | text_flow { text_flow::left_right, text_flow::right_left, text_flow::top_bottom, text_flow::bottom_top } |
| Represents the direction of the text flow. More... | |
| enum | texture_channel : GLenum { texture_channel::r = GL_RED, texture_channel::g = GL_GREEN, texture_channel::b = GL_BLUE, texture_channel::a = GL_ALPHA, texture_channel::zero = GL_ZERO, texture_channel::one = GL_ONE } |
| Enumeration for the texture channel. More... | |
| enum | texture_filter { texture_filter::nearest, texture_filter::linear, texture_filter::bilinear, texture_filter::trilinear } |
| Enumeration for the texture filter type. More... | |
| enum | texture_format : GLenum { texture_format::r = GL_R8, texture_format::rg = GL_RG8, texture_format::rgb = GL_RGB8, texture_format::rgba = GL_RGBA8, texture_format::depth = GL_DEPTH_COMPONENT24, texture_format::depth_stencil = GL_DEPTH24_STENCIL8 } |
| Represents the pixel format of a texture. More... | |
| enum | texture_type : GLenum { texture_type::texture2 = GL_TEXTURE_2D, texture_type::texture2_array = GL_TEXTURE_2D_ARRAY, texture_type::texture3 = GL_TEXTURE_3D, texture_type::multisample_texture2 = GL_TEXTURE_2D_MULTISAMPLE, texture_type::multisample_texture2_array = GL_TEXTURE_2D_MULTISAMPLE_ARRAY } |
| Represents the type of a texture. More... | |
| enum | texture_wrap_mode : GLenum { texture_wrap_mode::clamp_to_edge = GL_CLAMP_TO_EDGE, texture_wrap_mode::repeat = GL_REPEAT, texture_wrap_mode::mirrored_repeat = GL_MIRRORED_REPEAT } |
| Enumeration for the clamp mode of a texture. More... | |
| enum | vertex_buffer_target : GLenum { vertex_buffer_target::array_buffer = GL_ARRAY_BUFFER, vertex_buffer_target::element_array_buffer = GL_ELEMENT_ARRAY_BUFFER } |
| Target for vertex buffer binding. More... | |
| enum | audio_buffer_format : ALenum { audio_buffer_format::mono8 = AL_FORMAT_MONO8, audio_buffer_format::mono16 = AL_FORMAT_MONO16, audio_buffer_format::stereo8 = AL_FORMAT_STEREO8, audio_buffer_format::stereo16 = AL_FORMAT_STEREO16 } |
| Enumeration class for audio formats. More... | |
| enum | audio_source_state { audio_source_state::stopped, audio_source_state::playing, audio_source_state::paused } |
| Enumeration class for the state of an audio source. More... | |
| enum | sound_distance_model : ALenum { sound_distance_model::inverse_distance = AL_INVERSE_DISTANCE, sound_distance_model::inverse_distance_clamped = AL_INVERSE_DISTANCE_CLAMPED, sound_distance_model::linear_distance = AL_LINEAR_DISTANCE, sound_distance_model::linear_distance_clamped = AL_LINEAR_DISTANCE_CLAMPED, sound_distance_model::exponent_distance = AL_EXPONENT_DISTANCE, sound_distance_model::exponent_distance_clamped = AL_EXPONENT_DISTANCE_CLAMPED } |
| Enumeration class for sound distance models. More... | |
Functions | |
| template<typename CharT , size_t N, typename Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const basic_static_string< CharT, N, Traits > &s) |
| Output stream operator. More... | |
| template<typename CharT , size_t N, typename Traits > | |
| bool | operator== (const basic_static_string< CharT, N, Traits > &lhs, const basic_static_string< CharT, N, Traits > &rhs) noexcept |
| Checks if two basic_static_string objects are equal. More... | |
| template<typename CharT , size_t N, typename Traits > | |
| bool | operator!= (const basic_static_string< CharT, N, Traits > &lhs, const basic_static_string< CharT, N, Traits > &rhs) noexcept |
| Checks if two basic_static_string objects are not equal. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, T >::type | operator| (T lhs, T rhs) noexcept |
| Bitwise OR operator. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, T & >::type | operator|= (T &lhs, T rhs) noexcept |
| Bitwise OR operator. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, T >::type | operator & (T lhs, T rhs) noexcept |
| Bitwise AND operator. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, T & >::type | operator &= (T &lhs, T rhs) noexcept |
| Bitwise AND operator. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, bool >::type | check_all (T bitfield, T bits) noexcept |
| Checks if all given bits are set in a bitfield. More... | |
| template<typename T > | |
| std::enable_if< enable_bitwise_operators< T >::enable, bool >::type | check_any (T bitfield, T bits) noexcept |
| Checks if any of the given bits are set in a bitfield. More... | |
| template<typename OutputEncoding , typename InputEncoding , typename OutputIt , typename InputIt > | |
| OutputIt | convert_encoding (InputIt in_first, InputIt in_last, OutputIt out_first) |
| Performs a conversion between two encodings. More... | |
| template<typename OutputEncoding , typename InputEncoding > | |
| std::basic_string< typename OutputEncoding::code_unit > | convert_encoding (const std::basic_string< typename InputEncoding::code_unit > &s) |
| Converts an encoded string. More... | |
| template<> | |
| HOU_COR_API std::string | convert_encoding< utf8, utf8 > (const std::string &s) |
| convert_encoding specialization. More... | |
| template<> | |
| HOU_COR_API std::u16string | convert_encoding< utf16, utf16 > (const std::u16string &s) |
| convert_encoding specialization. More... | |
| template<> | |
| HOU_COR_API std::u32string | convert_encoding< utf32, utf32 > (const std::u32string &s) |
| convert_encoding specialization. More... | |
| template<> | |
| HOU_COR_API std::wstring | convert_encoding< wide, wide > (const std::wstring &s) |
| convert_encoding specialization. More... | |
| template HOU_COR_API std::string | convert_encoding< utf8, utf16 > (const std::u16string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::string | convert_encoding< utf8, utf32 > (const std::u32string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::string | convert_encoding< utf8, wide > (const std::wstring &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u16string | convert_encoding< utf16, utf8 > (const std::string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u16string | convert_encoding< utf16, utf32 > (const std::u32string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u16string | convert_encoding< utf16, wide > (const std::wstring &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u32string | convert_encoding< utf32, utf8 > (const std::string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u32string | convert_encoding< utf32, utf16 > (const std::u16string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::u32string | convert_encoding< utf32, wide > (const std::wstring &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::wstring | convert_encoding< wide, utf8 > (const std::string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::wstring | convert_encoding< wide, utf16 > (const std::u16string &s) |
| convert_encoding instantion. More... | |
| template HOU_COR_API std::wstring | convert_encoding< wide, utf32 > (const std::u32string &s) |
| convert_encoding instantion. More... | |
| template<typename T , typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| bool | close (T lhs, T rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two floating point numbers are equal with the given accuracy. More... | |
| template<typename T , typename InputIt1 , typename InputIt2 , typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| constexpr bool | container_close (InputIt1 begin1, InputIt1 end1, InputIt2 begin2, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if the elements of two containers are close with the given accuracy. More... | |
| template<typename Iterator > | |
| std::ostream & | container_stream (std::ostream &os, Iterator begin, Iterator end) |
| Outputs a container to the given stream. More... | |
| void HOU_COR_API | exit_with_error (const std::string &message) noexcept |
| Prints the given message to the console error stream and stops execution. More... | |
| template<typename ExceptionType , typename... Args> | |
| void | error (Args... args) |
| Reports an error. More... | |
| template<typename To , typename From > | |
| constexpr To | narrow_cast (const From &from) |
| Cast checking for narrowing errors. More... | |
| template<typename T > | |
| std::remove_reference< T >::type && | move_content (not_null< T > &&t) noexcept |
| Moves the content away from the nullptr. More... | |
| template<typename T > | |
| constexpr bool | operator== (const span< T > &lhs, const span< T > &rhs) noexcept |
| Checks if two span objects are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const span< T > &lhs, const span< T > &rhs) noexcept |
| Checks if two span objects are not equal. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const span< T > &s) |
| Outsputs a span object into a stream. More... | |
| template<typename Out , typename In > | |
| constexpr span< Out > | reinterpret_span (const span< In > &in) |
| Reinterprets the span as a span with a different underlying type. More... | |
| template<typename T , typename U , std::size_t N, typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| constexpr bool | close (const std::array< U, N > &lhs, const std::array< U, N > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if the elements of two std::array objects are close with the given accuracy. More... | |
| template<typename T , std::size_t N> | |
| std::ostream & | operator<< (std::ostream &os, const std::array< T, N > &c) |
| Outputs a std::array to the given stream. More... | |
| template<typename T , typename U , typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| constexpr bool | close (const std::set< U > &lhs, const std::set< U > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if the elements of two std::set objects are close with the given accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const std::set< T > &c) |
| Outputs a std::set to the given stream. More... | |
| HOU_COR_API std::string | replace_all (std::string s, const std::string &from, const std::string &to) |
| Replaces all occurrences of a given substring with another substring. More... | |
| HOU_COR_API std::string | escape_regex (std::string s) |
| Escapes special characters in a regular expression. More... | |
| template<typename... Args> | |
| std::string | format_string (const std::string &s, Args... args) |
| Fills a format string with the given format values. More... | |
| template<typename OutputIterator > | |
| OutputIterator | split_string (const std::string &s, char delimiter, OutputIterator out) |
| Splits a string into all substrings delimited by a given character. More... | |
| template<typename T > | |
| std::string | to_string (const T &obj) |
| Converts an object into a string. More... | |
| HOU_COR_API std::string | to_string (bool value) |
| Converts a boolean into a string. More... | |
| template<typename T , typename U , typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| constexpr bool | close (const std::vector< U > &lhs, const std::vector< U > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if the elements of two std::vector objects are close with the given accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const std::vector< T > &c) |
| Outputs a std::vector to the given stream. More... | |
| template<typename T > | |
| constexpr T | pi () noexcept |
| Retrieves the value of pi. More... | |
| template<typename T > | |
| constexpr T | deg_to_rad (T deg) noexcept |
| Converts degrees to radians. More... | |
| template<typename T > | |
| constexpr T | rad_to_deg (T rad) noexcept |
| Converts radians to degrees. More... | |
| template<typename T , typename Enable = std::enable_if_t<std::is_floating_point<T>::value>> | |
| constexpr T | log (T x, int n) noexcept |
| Computes the logarithm in base n of x. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr matrix< T, Rows, Cols > | operator+ (matrix< T, Rows, Cols > lhs, const matrix< T, Rows, Cols > &rhs) noexcept |
| Sums two matrices. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr matrix< T, Rows, Cols > | operator- (matrix< T, Rows, Cols > lhs, const matrix< T, Rows, Cols > &rhs) noexcept |
| Subtracts two matrices. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr matrix< T, Rows, Cols > | operator- (matrix< T, Rows, Cols > m) noexcept |
| Computes the opposite of a matrix. More... | |
| template<typename T , size_t Rows, size_t Mid, size_t Cols> | |
| constexpr matrix< T, Rows, Cols > | operator* (const matrix< T, Rows, Mid > &lhs, const matrix< T, Mid, Cols > &rhs) noexcept |
| Multiplies two matrices. More... | |
| template<typename T > | |
| constexpr T | det (const matrix< T, 1, 1 > &m) noexcept |
| Computes the determinant of the given matrix. More... | |
| template<typename T > | |
| constexpr T | det (const matrix< T, 2, 2 > &m) noexcept |
| Computes the determinant of the given matrix. More... | |
| template<typename T > | |
| constexpr T | det (const matrix< T, 3, 3 > &m) noexcept |
| Computes the determinant of the given matrix. More... | |
| template<typename T , size_t RC, typename Enable = std::enable_if_t<(RC > 3> | |
| constexpr T | det (const matrix< T, RC, RC > &m) noexcept |
| Computes the determinant of the given matrix. More... | |
| template<typename T , size_t RC> | |
| constexpr T | trace (const matrix< T, RC, RC > &m) noexcept |
| Computes the trace of the given square matrix. More... | |
| template<typename T , size_t Rows, size_t Cols, typename Enable = std::enable_if_t<(Rows > 1 && Cols, 1 > | |
| constexpr matrix< T, Rows - 1, Cols - 1 > | reduce (const matrix< T, Rows, Cols > &m, size_t row, size_t col) |
| Removes a row and a column from a matrix. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr matrix< T, Cols, Rows > | transpose (const matrix< T, Rows, Cols > &m) noexcept |
| Computes the transpose of the given matrix. More... | |
| template<typename T > | |
| constexpr matrix< T, 1, 1 > | adjugate (const matrix< T, 1, 1 > &m) noexcept |
| Computes the adjugate of the given matrix. More... | |
| template<typename T > | |
| constexpr matrix< T, 2, 2 > | adjugate (const matrix< T, 2, 2 > &m) noexcept |
| Computes the adjugate of the given matrix. More... | |
| template<typename T , size_t RC, typename Enable = std::enable_if_t<(RC > 2> | |
| constexpr matrix< T, RC, RC > | adjugate (const matrix< T, RC, RC > &m) noexcept |
| Computes the adjugate of the given matrix. More... | |
| template<typename T , size_t RC> | |
| constexpr matrix< T, RC, RC > | inverse (matrix< T, RC, RC > m) |
| Computes the inverse of the given matrix. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr T | square_norm (const matrix< T, Rows, Cols > &m) noexcept |
| Computes the square norm of the given matrix. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr T | norm (const matrix< T, Rows, Cols > &m) noexcept |
| Computes the norm of the given matrix. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| constexpr matrix< T, Rows, Cols > | normalized (matrix< T, Rows, Cols > m) |
| Computes the normalized matrix. More... | |
| template<typename T > | |
| constexpr matrix< T, 3u, 3u > | cross_matrix (const matrix< T, 3u, 1u > &m) noexcept |
| Computes the cross product matrix associated to the given 3d vector. More... | |
| template<typename T > | |
| constexpr matrix< T, 2u, 1u > | cross (const matrix< T, 2u, 1u > &v) noexcept |
| Computes the cross product of a 2d vector. More... | |
| template<typename T > | |
| constexpr matrix< T, 3u, 1u > | cross (const matrix< T, 3u, 1u > &lhs, const matrix< T, 3u, 1u > &rhs) noexcept |
| Computes the cross product between two 3d vectors. More... | |
| template<typename T > | |
| constexpr matrix< T, 3u, 3u > | outer_product (const matrix< T, 3u, 1u > &lhs, const matrix< T, 3u, 1u > &rhs) noexcept |
| Computes the outer product between the two given 3d vectors. More... | |
| template<typename T , size_t Rows> | |
| constexpr T | dot (const matrix< T, Rows, 1u > &lhs, const matrix< T, Rows, 1u > &rhs) noexcept |
| Computes the dot product between the two given vectors. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| bool | operator== (const matrix< T, Rows, Cols > &lhs, const matrix< T, Rows, Cols > &rhs) noexcept |
| Checks if two matrices are equal. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| bool | operator!= (const matrix< T, Rows, Cols > &lhs, const matrix< T, Rows, Cols > &rhs) noexcept |
| Checks if two matrices are not equal. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| bool | close (const matrix< T, Rows, Cols > &lhs, const matrix< T, Rows, Cols > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two matrices are equal with the specified accuracy. More... | |
| template<typename T , size_t Rows, size_t Cols> | |
| std::ostream & | operator<< (std::ostream &os, const matrix< T, Rows, Cols > &m) |
| Writes the object into a stream. More... | |
| template<typename T , size_t Rows, size_t Cols, typename Enable > | |
| constexpr matrix< T, Rows - 1, Cols - 1 > | reduce (const matrix< T, Rows, Cols > &m, size_t row, size_t col) |
| Removes a row and a column from a matrix. More... | |
| template<typename T > | |
| constexpr quaternion< T > | operator+ (quaternion< T > lhs, const quaternion< T > &rhs) noexcept |
| Sums two quaternions. More... | |
| template<typename T > | |
| constexpr quaternion< T > | operator- (quaternion< T > lhs, const quaternion< T > &rhs) noexcept |
| Subtracts two quaternions. More... | |
| template<typename T > | |
| constexpr quaternion< T > | operator* (quaternion< T > lhs, const quaternion< T > &rhs) noexcept |
| Multiplies two quaternions. More... | |
| template<typename T > | |
| constexpr quaternion< T > | inverse (quaternion< T > q) |
| Computes the inverse of a quaternion. More... | |
| template<typename T > | |
| constexpr quaternion< T > | conjugate (quaternion< T > q) noexcept |
| Computes the conjugate of a quaternion. More... | |
| template<typename T > | |
| constexpr T | square_norm (const quaternion< T > &q) noexcept |
| Computes the square norm of a quaternion. More... | |
| template<typename T > | |
| constexpr T | norm (const quaternion< T > &q) noexcept |
| Computes the norm of a quaternion. More... | |
| template<typename T > | |
| constexpr quaternion< T > | normalized (quaternion< T > q) |
| Computes the normalized quaternion. More... | |
| template<typename T > | |
| constexpr bool | operator== (const quaternion< T > &lhs, const quaternion< T > &rhs) noexcept |
| Checks if two quaternions are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const quaternion< T > &lhs, const quaternion< T > &rhs) noexcept |
| Checks if two quaternions are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const quaternion< T > &lhs, const quaternion< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two quaternions are equal with the specified accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const quaternion< T > &q) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr bool | operator== (const rectangle< T > &lhs, const rectangle< T > &rhs) noexcept |
| Checks if two rectangles are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const rectangle< T > &lhs, const rectangle< T > &rhs) noexcept |
| Checks if two rectangles are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const rectangle< T > &lhs, const rectangle< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two rectangles are equal with the given accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const rectangle< T > &rect) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr bool | is_point_in_rectangle (const rectangle< T > &r, const vec2< T > &p) noexcept |
| Checks if a point lies inside a rectangle. More... | |
| template<typename T > | |
| constexpr rotation2< T > | operator* (rotation2< T > lhs, const rotation2< T > &rhs) noexcept |
| Computes the combination of two rotations. More... | |
| template<typename T > | |
| constexpr rotation2< T > | inverse (rotation2< T > r) noexcept |
| Computes the inverse of the given rotation. More... | |
| template<typename T > | |
| constexpr bool | operator== (const rotation2< T > &lhs, const rotation2< T > &rhs) noexcept |
| Checks if two rotations are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const rotation2< T > &lhs, const rotation2< T > &rhs) noexcept |
| Checks if two rotations are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const rotation2< T > &lhs, const rotation2< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two rotations are equal with the given accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const rotation2< T > &r) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr rotation3< T > | operator* (rotation3< T > lhs, const rotation3< T > &rhs) |
| Computes the combination of two rotations. More... | |
| template<typename T > | |
| constexpr rotation3< T > | inverse (rotation3< T > r) |
| Computes the inverse of the given rotation. More... | |
| template<typename T > | |
| constexpr bool | operator== (const rotation3< T > &lhs, const rotation3< T > &rhs) noexcept |
| Checks if two rotations are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const rotation3< T > &lhs, const rotation3< T > &rhs) noexcept |
| Checks if two rotations are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const rotation3< T > &lhs, const rotation3< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two rotations are equal with the given accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const rotation3< T > &r) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr transform2< T > | operator* (transform2< T > lhs, const transform2< T > &rhs) noexcept |
| Combines two transforms. More... | |
| template<typename T > | |
| constexpr transform2< T > | inverse (transform2< T > t) |
| Computes the inverse of a transform. More... | |
| template<typename T > | |
| constexpr bool | operator== (const transform2< T > &lhs, const transform2< T > &rhs) noexcept |
| Checks if two transforms are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const transform2< T > &lhs, const transform2< T > &rhs) noexcept |
| Checks if two transforms are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const transform2< T > &lhs, const transform2< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two transforms are equal with the specified accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const transform2< T > &t) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr transform3< T > | operator* (transform3< T > lhs, const transform3< T > &rhs) noexcept |
| Combines two transforms. More... | |
| template<typename T > | |
| constexpr transform3< T > | inverse (transform3< T > t) |
| Computes the inverse of a transform. More... | |
| template<typename T > | |
| bool constexpr | operator== (const transform3< T > &lhs, const transform3< T > &rhs) noexcept |
| Checks if two transforms are equal. More... | |
| template<typename T > | |
| bool constexpr | operator!= (const transform3< T > &lhs, const transform3< T > &rhs) noexcept |
| Checks if two transforms are not equal. More... | |
| template<typename T > | |
| bool constexpr | close (const transform3< T > &lhs, const transform3< T > &rhs, T acc=std::numeric_limits< T >::epsilon()) noexcept |
| Checks if two transforms are equal with the specified accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const transform3< T > &t) |
| Writes the object into a stream. More... | |
| template<typename T > | |
| constexpr bool | operator== (const transform3< T > &lhs, const transform3< T > &rhs) noexcept |
| Checks if two transforms are equal. More... | |
| template<typename T > | |
| constexpr bool | operator!= (const transform3< T > &lhs, const transform3< T > &rhs) noexcept |
| Checks if two transforms are not equal. More... | |
| template<typename T > | |
| constexpr bool | close (const transform3< T > &lhs, const transform3< T > &rhs, T acc) noexcept |
| Checks if two transforms are equal with the specified accuracy. More... | |
| HOU_SYS_API color | color_f (float red, float green, float blue, float alpha) noexcept |
| Creates a color given the float color components. More... | |
| HOU_SYS_API bool | operator== (const color &lhs, const color &rhs) noexcept |
| Checks if two color objects are equal. More... | |
| HOU_SYS_API bool | operator!= (const color &lhs, const color &rhs) noexcept |
| Checks if two color objects are not equal. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, const color &c) |
| Writes a color object into a stream. More... | |
| HOU_SYS_API uint | get_bits_per_pixel (display_format f) |
| Gets the number of bits per pixel for a given display_format. More... | |
| HOU_SYS_API uint | get_bytes_per_pixel (display_format f) |
| Gets the number of bytes per pixel for a given display_format. More... | |
| HOU_SYS_API display_format_type | get_type (display_format f) |
| Gets the type of a given display_format. More... | |
| HOU_SYS_API display_format_bitmap_order | get_bitmap_order (display_format f) |
| Gets the bit order for a bitmap type display_format. More... | |
| HOU_SYS_API display_format_packed_order | get_packed_order (display_format f) |
| Gets the bit order for a packed type display_format. More... | |
| HOU_SYS_API display_format_array_order | get_array_order (display_format f) |
| Gets the bit order for a array type display_format. More... | |
| HOU_SYS_API display_format_packed_layout | get_packed_layout (display_format f) |
| Gets the bit layout for a packed type display_format. More... | |
| HOU_SYS_API bool | is_indexed (display_format f) |
| Checks if a display_format is indexed. More... | |
| HOU_SYS_API bool | has_alpha (display_format f) |
| Checks if a display_format has alpha bits. More... | |
| HOU_SYS_API bool | is_fourcc (display_format f) |
| Checks if a display_format is a FourCC format. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format f) |
| Writes a display_format enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format_type f) |
| Writes a display_format_type enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format_bitmap_order f) |
| Writes a display_format_bitmap_order enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format_packed_order f) |
| Writes a display_format_packed_order enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format_array_order f) |
| Writes a display_format_array_order enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, display_format_packed_layout f) |
| Writes a display_format_packed_layour enum into a stream. More... | |
| HOU_SYS_API bool | operator== (const display_format_mask &lhs, const display_format_mask &rhs) noexcept |
| Checks if two display_format_mask objects are equal. More... | |
| HOU_SYS_API bool | operator!= (const display_format_mask &lhs, const display_format_mask &rhs) noexcept |
| Checks if two display_format_mask objects are not equal. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, const display_format_mask &fm) |
| Writes a display_format_mask object into a stream. More... | |
| HOU_SYS_API bool | operator== (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if two display_mode objects are equal. More... | |
| HOU_SYS_API bool | operator!= (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if two display_mode objects are not equal. More... | |
| HOU_SYS_API bool | operator< (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if lhs is less than rhs. More... | |
| HOU_SYS_API bool | operator> (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if lhs is greater than rhs. More... | |
| HOU_SYS_API bool | operator<= (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if lhs is less or equal to rhs. More... | |
| HOU_SYS_API bool | operator>= (const display_mode &lhs, const display_mode &rhs) noexcept |
| Checks if lhs is greater or equal to rhs. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, const display_mode &vm) |
| Writes a display_mode object into a stream. More... | |
| HOU_SYS_API std::string | get_file_mode_string (file_open_mode mode, file_type type) noexcept |
| Returns the file mode string equivalent to the provided file_open_mode and file_type. More... | |
| HOU_SYS_API FILE * | open_file (const std::string &path, const std::string &mode) noexcept |
| Opens a file. More... | |
| HOU_SYS_API bool | close_file (FILE *f) noexcept |
| Closes a file. More... | |
| HOU_SYS_API bool | check_dir (const std::string &path) noexcept |
| Checks if a directory exists. More... | |
| HOU_SYS_API bool | remove_dir (const std::string &path) noexcept |
| Removes the specified directory. More... | |
| HOU_SYS_API bool | rename_dir (const std::string &old_path, const std::string &new_path) noexcept |
| Renames the specified directory. More... | |
| HOU_SYS_API size_t | get_dir_byte_size (const std::string &path) noexcept |
| Retrieves the size in bytes of a directory. More... | |
| HOU_SYS_API int | get_file_descriptor (FILE *file) noexcept |
| Retrieves the file descriptor integer associated to a file. More... | |
| HOU_SYS_API size_t | get_file_byte_size (int file_descriptor) noexcept |
| Retrieves the size of a file in bytes. More... | |
| HOU_SYS_API std::string | get_filename_extension (const std::string &path) |
| Retrieves the filename extension of a given path. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, file_open_mode fom) |
| Writes a file_open_mode enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, file_type fom) |
| Writes a file_type enum into a stream. More... | |
| template<size_t Dim, pixel_format PF> | |
| bool | operator== (const image< Dim, PF > &lhs, const image< Dim, PF > &rhs) noexcept |
| Checks if two image objects are equal. More... | |
| template<size_t Dim, pixel_format PF> | |
| bool | operator!= (const image< Dim, PF > &lhs, const image< Dim, PF > &rhs) noexcept |
| Checks if two image objects are not equal. More... | |
| template<size_t Dim, pixel_format PF> | |
| std::ostream & | operator<< (std::ostream &os, const image< Dim, PF > &im) |
| Writes the object into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, key_code kc) |
| Writes a key_code enum into a stream. More... | |
| HOU_SYS_API key_code | get_key_code (scan_code sc) |
| Gets the key code corresponding to a scan code. More... | |
| HOU_SYS_API scan_code | get_scan_code (key_code kc) |
| Gets the key code corresponding to a scan code. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, modifier_keys mkf) |
| Writes a modifier_keys enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, mouse_button mb) |
| Writes a mouse_button enum into a stream. More... | |
| HOU_SYS_API bool | operator== (mouse_buttons_state lhs, mouse_buttons_state rhs) |
| Checks if two mouse_buttons_state objects are equal. More... | |
| HOU_SYS_API bool | operator!= (mouse_buttons_state lhs, mouse_buttons_state rhs) |
| Checks if two mouse_buttons_state objects are not equal. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, mouse_buttons_state mbs) |
| Writes a mouse_buttons_state object into a stream. More... | |
| template<pixel_format PF> | |
| constexpr bool | operator== (const pixel< PF > &lhs, const pixel< PF > &rhs) noexcept |
| Checks if two pixel objects are equal. More... | |
| template<pixel_format PF> | |
| constexpr bool | operator!= (const pixel< PF > &lhs, const pixel< PF > &rhs) noexcept |
| Checks if two pixel objects are not equal. More... | |
| template<pixel_format PF> | |
| std::ostream & | operator<< (std::ostream &os, const pixel< PF > &pixel) |
| Writes the object into a stream. More... | |
| constexpr uint | get_bits_per_pixel (pixel_format format) noexcept |
| Gets the number of bits of a pixel with the given format. More... | |
| constexpr uint | get_bytes_per_pixel (pixel_format format) noexcept |
| Gets the number of bytes of a pixel with the given format. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, pixel_format format) |
| Writes a pixel_format enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, scan_code sc) |
| Writes a scan_code enum into a stream. More... | |
| HOU_SYS_API std::ostream & | operator<< (std::ostream &os, window_mode wm) |
| Writes into a stream. More... | |
| HOU_GL_API std::ostream & | operator<< (std::ostream &os, blending_equation be) |
| Writes a blending_equation enum into a stream. More... | |
| HOU_GL_API std::ostream & | operator<< (std::ostream &os, blending_factor bf) |
| Writes a blending_factor enum into a stream. More... | |
| HOU_GFX_API void | blit (const framebuffer &src, const recti &src_rect, framebuffer &dst, const recti &dst_rect, framebuffer_blit_mask mask, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Copies a rectangular region of a framebuffer into another framebuffer. More... | |
| HOU_GFX_API void | blit (const framebuffer &src, const recti &src_rect, texture &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Copies a rectangular region of a framebuffer into a texture. More... | |
| HOU_GFX_API void | blit (const texture &src, const recti &src_rect, framebuffer &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Copies a rectangular region of a texture into a framebuffer. More... | |
| HOU_GFX_API void | blit (const texture &src, const recti &src_rect, texture &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Copies a rectangular region of a texture into a framebuffer. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, framebuffer_blit_filter fbbf) |
| Writes the object into a stream. More... | |
| template<typename data_type > | |
| gl_type | to_gl_type () |
| Retrieves the gl_type enum value associated to a specific data type. More... | |
| uint | get_gl_type_byte_size (gl_type type) |
| Retrieves the size in bytes for a variable of type gl_type. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, gl_type type) |
| Writes the object into a stream. More... | |
| HOU_GFX_API bool | operator== (const glyph &lhs, const glyph &rhs) noexcept |
| Checks if two glyph objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const glyph &lhs, const glyph &rhs) noexcept |
| Checks if two glyph objects are not equal. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const glyph &gm) |
| Writes a glyph object into a stream. More... | |
| HOU_GFX_API bool | operator== (const glyph_metrics &lhs, const glyph_metrics &rhs) noexcept |
| Checks if two glyph_metrics objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const glyph_metrics &lhs, const glyph_metrics &rhs) noexcept |
| Checks if two glyph_metrics objects are not equal. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const glyph_metrics &gm) |
| Writes a glyph_metrics object into a stream. More... | |
| bool | is_multisampling_enabled () |
| Checks if multisampling is enabled. More... | |
| void | set_multisampling_enabled (bool value) |
| Sets if multisampling is enabled. More... | |
| bool | is_blending_enabled () |
| Checks if blending is enabled. More... | |
| void | set_blending_enabled (bool value) |
| Sets if blending is enabled. More... | |
| blending_factor | get_source_blending_factor () |
| Gets the source blending factor. More... | |
| void | set_source_blending_factor (blending_factor f) |
| Sets the source blending factor. More... | |
| blending_factor | get_destination_blending_factor () |
| Gets the destination blending factor. More... | |
| void | set_destination_blending_factor (blending_factor f) |
| Sets the destination blending factor. More... | |
| blending_equation | get_blending_equation () |
| Gets the current blending equation. More... | |
| void | set_blending_equation (blending_equation eq) |
| Sets the current blending equation. More... | |
| color | get_blending_color () |
| Gets the current blending color. More... | |
| void | set_blending_color (const color &c) |
| Sets the current blending color. More... | |
| template<typename T > | |
| bool | operator== (const mesh_t< T > &lhs, const mesh_t< T > &rhs) |
| Checks if two mesh objects are equal. More... | |
| template<typename T > | |
| bool | operator!= (const mesh_t< T > &lhs, const mesh_t< T > &rhs) |
| Checks if two mesh_t objects are not equal. More... | |
| template<typename T > | |
| bool | close (const mesh_t< T > &lhs, const mesh_t< T > &rhs, float acc=std::numeric_limits< float >::epsilon()) |
| Checks if two mesh_t objects are equal with the specified accuracy. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const mesh_t< T > &m) |
| Writes the object into a stream. More... | |
| HOU_GFX_API mesh2 | create_rectangle_mesh2 (const vec2f &size) |
| Creates a mesh object representing a rectangle shape with the given size. More... | |
| HOU_GFX_API mesh2 | create_rectangle_outline_mesh2 (const vec2f &size, float thickness) |
| Creates a mesh2 object representing a rectangle outline shape with the given size and border thickness. More... | |
| HOU_GFX_API mesh2 | create_ellipse_mesh2 (const vec2f &size, uint pointCount) |
| Creates a mesh2 object representing an approximation of an ellipse with the given size and drawn with the given number of points. More... | |
| HOU_GFX_API mesh2 | create_ellipse_outline_mesh2 (const vec2f &size, uint pointCount, float thickness) |
| Creates a mesh2 object representing an approximation of an ellipse outline with the given size and drawn with the given number of points. More... | |
| HOU_GFX_API mesh2 | create_texture_quad_mesh2 (const rectf &rect, const vec2f &textureSize) |
| Creates a mesh2 object representing a texture quad covering the specified rectangle of a texture. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, mesh_draw_mode mdm) |
| Writes a mesh_draw_mode enum into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, mesh_fill_mode mfm) |
| Writes a mesh_fill_mode enum into a stream. More... | |
| HOU_GFX_API void | blit (const render_surface &src, const recti &src_rect, render_surface &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Blits the render_surface onto another render_surface. More... | |
| HOU_GFX_API void | blit (const render_surface &src, const recti &src_rect, texture &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Blits the render_surface onto another render_surface. More... | |
| HOU_GFX_API void | blit (const texture &src, const recti &src_rect, render_surface &dst, const recti &dst_rect, framebuffer_blit_filter filter=framebuffer_blit_filter::nearest) |
| Blits the render_surface onto another render_surface. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, shader_type st) |
| Writes the object into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, text_flow tf) |
| Writes the object into a stream. More... | |
| HOU_GFX_API bool | operator== (const text_vertex &lhs, const text_vertex &rhs) noexcept |
| Checks if two text_vertex objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const text_vertex &lhs, const text_vertex &rhs) noexcept |
| Checks if two text_vertex objects are not equal. More... | |
| HOU_GFX_API bool | close (const text_vertex &lhs, const text_vertex &rhs, float acc=std::numeric_limits< float >::epsilon()) noexcept |
| Checks if two text_vertex objects are equal with the specified accuracy. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const text_vertex &v) |
| Writes the object into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, texture_channel tc) |
| Writes a texture_channel enum into a stream. More... | |
| HOU_GFX_API bool | operator== (const texture_channel_mapping &lhs, const texture_channel_mapping &rhs) noexcept |
| Checks if two texture_channel_mapping objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const texture_channel_mapping &lhs, const texture_channel_mapping &rhs) noexcept |
| Checks if two texture_channel_mapping objects are not equal. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const texture_channel_mapping &tcm) |
| Outputs a texture_channel_mapping object into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, texture_filter tf) |
| Writes a texture_filter enum into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, texture_format format) |
| Writes a texture_format enum into a stream. More... | |
| HOU_GFX_API pixel_format | get_associated_pixel_format (texture_format tf) |
| Gets a compatible pixel format associated to the texture format. More... | |
| HOU_GFX_API bool | check_format_compatibility (texture_format tf, pixel_format pf) |
| Check if a pixel and texture formats are compatible with each other. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, texture_type type) |
| Writes the object into a stream. More... | |
| constexpr size_t | get_texture_type_dimension_count (texture_type t) noexcept |
| Retrieves the number of dimensions associated to a texture_type. More... | |
| constexpr bool | is_texture_type_mipmapped (texture_type t) noexcept |
| Checks whether a texture_type represents a mip-mapped texture. More... | |
| constexpr bool | is_texture_type_multisampled (texture_type t) noexcept |
| Checks whether a texture_type represents a multisample texture. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, texture_wrap_mode twm) |
| Writes a texture_wrap_mode enum into a stream. More... | |
| HOU_GFX_API bool | operator== (const vertex2 &lhs, const vertex2 &rhs) noexcept |
| Checks if two vertex2 objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const vertex2 &lhs, const vertex2 &rhs) noexcept |
| Checks if two vertex2 objects are not equal. More... | |
| HOU_GFX_API bool | close (const vertex2 &lhs, const vertex2 &rhs, float acc=std::numeric_limits< float >::epsilon()) noexcept |
| Checks if two vertex2 objects are equal with the specified accuracy. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const vertex2 &v) |
| Writes the object into a stream. More... | |
| HOU_GFX_API bool | operator== (const vertex_attrib_format &lhs, const vertex_attrib_format &rhs) noexcept |
| Checks if two vertex_attrib_format objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const vertex_attrib_format &lhs, const vertex_attrib_format &rhs) noexcept |
| Checks if two vertex_attrib_format objects not are equal. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const vertex_attrib_format &vf) |
| Writes the object into a stream. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, vertex_buffer_target vbt) |
| Writes the object into a stream. More... | |
| HOU_GFX_API bool | operator== (const vertex_format &lhs, const vertex_format &rhs) noexcept |
| Checks if two vertex_format objects are equal. More... | |
| HOU_GFX_API bool | operator!= (const vertex_format &lhs, const vertex_format &rhs) noexcept |
| Checks if two vertex_format objects are not equal. More... | |
| HOU_GFX_API std::ostream & | operator<< (std::ostream &os, const vertex_format &vf) |
| Writes the object into a stream. More... | |
| HOU_AUD_API audio_buffer_format | get_audio_buffer_format_enum (uint channels, uint bytes_per_sample) |
| Gets the appropriate audio format given the number of channels and bytes per sample. More... | |
| HOU_AUD_API uint | get_audio_buffer_format_channel_count (audio_buffer_format format) noexcept |
| Gets the number of channels associated to an audio format. More... | |
| HOU_AUD_API uint | get_audio_buffer_format_bytes_per_sample (audio_buffer_format format) noexcept |
| Gets the number of bytes per sample associated to an audio format. More... | |
| HOU_AUD_API std::ostream & | operator<< (std::ostream &os, audio_buffer_format format) |
| Writes a audio_buffer_format enum into a stream. More... | |
| HOU_AUD_API std::ostream & | operator<< (std::ostream &os, audio_source_state state) |
| Writes the object into a stream. More... | |
| HOU_AUD_API std::ostream & | operator<< (std::ostream &os, sound_distance_model dm) |
| Writes the object into a stream. More... | |
Houzi Game Engine namespace.
| using hou::bounded = typedef checked_variable<T, bounded_checker<T, Min, Max> > |
Bounded variable.
| using hou::code_point = typedef char32_t |
Unicode code point.
| using hou::dynamic_vertex_buffer = typedef vertex_buffer_t<T, true> |
Modifiable vertex buffer.
| using hou::fragment_shader = typedef shader_t<shader_type::fragment> |
Fragment shader.
| using hou::geometry_shader = typedef shader_t<shader_type::geometry> |
Geometry shader.
| using hou::image1 = typedef image<1u, format> |
One-dimensional image.
| using hou::image1_r = typedef image1<pixel_format::r> |
Single channel, one-dimensional image.
| using hou::image1_rg = typedef image1<pixel_format::rg> |
Two channels, one-dimensional image.
| using hou::image1_rgb = typedef image1<pixel_format::rgb> |
Three channels, one-dimensional image.
| using hou::image1_rgba = typedef image1<pixel_format::rgba> |
Four channels, one-dimensional image.
| using hou::image2 = typedef image<2u, format> |
Two-dimensional image.
| using hou::image2_r = typedef image2<pixel_format::r> |
Single channel, two-dimensional image.
| using hou::image2_rg = typedef image2<pixel_format::rg> |
Two channels, two-dimensional image.
| using hou::image2_rgb = typedef image2<pixel_format::rgb> |
Three channels, two-dimensional image.
| using hou::image2_rgba = typedef image2<pixel_format::rgba> |
Four channels, two-dimensional image.
| using hou::image3 = typedef image<3u, format> |
Three-dimensional image.
| using hou::image3_r = typedef image3<pixel_format::r> |
Single channel, three-dimensional image.
| using hou::image3_rg = typedef image3<pixel_format::rg> |
Two channels, three-dimensional image.
| using hou::image3_rgb = typedef image3<pixel_format::rgb> |
Three channels, three-dimensional image.
| using hou::image3_rgba = typedef image3<pixel_format::rgba> |
Four channels, three-dimensional image.
| using hou::mesh2 = typedef mesh_t<vertex2> |
mesh of vertex2.
Used to represent 2d shapes such as rectangles, circles...
| using hou::multisample_texture2 = typedef texture_t<texture_type::multisample_texture2> |
2 dimensional multisampled texture.
| using hou::multisample_texture2_array = typedef texture_t<texture_type::multisample_texture2_array> |
2 dimensional multisampled texture array.
| using hou::negative = typedef checked_variable<T, negative_checker<T> > |
Negative variable.
| using hou::non_negative = typedef checked_variable<T, non_negative_checker<T> > |
Non-negative variable.
| using hou::non_positive = typedef checked_variable<T, non_positive_checker<T> > |
Non-positive variable.
| using hou::pixel_r = typedef pixel<pixel_format::r> |
Single channel pixel.
| using hou::pixel_rg = typedef pixel<pixel_format::rg> |
Two channels pixel.
| using hou::pixel_rgb = typedef pixel<pixel_format::rgb> |
Three channels pixel.
| using hou::pixel_rgba = typedef pixel<pixel_format::rgba> |
Four channels pixel.
| using hou::positive = typedef checked_variable<T, positive_checker<T> > |
Positive variable.
| using hou::size_t = typedef std::size_t |
Size type.
| using hou::static_string = typedef basic_static_string<char, N, std::char_traits<char> > |
Utf8 static string.
| using hou::static_u16string = typedef basic_static_string<char16_t, N, std::char_traits<char16_t> > |
Utf16 static string.
| using hou::static_u32string = typedef basic_static_string<char32_t, N, std::char_traits<char32_t> > |
Utf32 static string.
| using hou::static_vertex_buffer = typedef vertex_buffer_t<T, false> |
Unmodifiable vertex buffer.
| using hou::static_wstring = typedef basic_static_string<wchar_t, N, std::char_traits<wchar_t> > |
Wide static string.
| using hou::text_mesh = typedef mesh_t<text_vertex> |
mesh of text_vertex.
Used to represent 2d text.
| using hou::texture2 = typedef texture_t<texture_type::texture2> |
2 dimensional texture.
| using hou::texture2_array = typedef texture_t<texture_type::texture2_array> |
2 dimensional texture array.
| using hou::texture3 = typedef texture_t<texture_type::texture3> |
3 dimensional texture.
| using hou::uint = typedef unsigned int |
Unsigned int.
| using hou::vertex_shader = typedef shader_t<shader_type::vertex> |
Vertex shader.
| using hou::vsync_mode = typedef gl::vsync_mode |
Vertical sync mode enumration.
|
strong |
|
strong |
|
strong |
Enumeration for blending factors.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Enum representing an OpenGL type.
|
strong |
Keyboard key code.
A key code identifies a key by its value under the current keyboard layout. For example, the key corresponding to key_code::z in a US layout will correspond to key_code::y in a German layout and to key_code::w in a French layout.
For non-english keyboard layouts, some enumeration values might be missing. They can still be represented as a key_code enum though.
|
strong |
Enumeration for the draw mode of a mesh.
|
strong |
|
strong |
Enumeration for the modifier key flags, used for key related window events.
Values in this enumeration can be used as a bitfield.
|
strong |
|
strong |
|
strong |
Keyboard scan code.
A scan code identifies a key by its phyical position on the keyboard. It is therefore independent from the current keyboard layout. For example, scan_code::z would refer to the same key on a US, German or French layout.
The naming refers to the position of the keys on a US keyboard.
|
strong |
|
strong |
Enumeration class for sound distance models.
|
strong |
|
strong |
|
strong |
Enumeration for the texture filter type.
|
strong |
Represents the pixel format of a texture.
|
strong |
Represents the type of a texture.
|
strong |
|
strong |
|
strong |
|
noexcept |
Computes the adjugate of the given matrix.
| T | the scalar type. |
| m | the input matrix. |
|
noexcept |
Computes the adjugate of the given matrix.
| T | the scalar type. |
| m | the input matrix. |
|
noexcept |
Computes the adjugate of the given matrix.
| T | the scalar type. |
| RC | the number of rows or columns. |
| Enable | enabling parameter (can be left to the default value). |
| m | the input matrix. |
| HOU_GFX_API void hou::blit | ( | const framebuffer & | src, |
| const recti & | src_rect, | ||
| framebuffer & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_mask | mask, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Copies a rectangular region of a framebuffer into another framebuffer.
The following constraints must be observed, or an exception will be thrown:
| src | the source framebuffer. |
| src_rect | the source rectangle. |
| dst | the destination framebuffer. |
| dst_rect | the destination rectangle. |
| mask | a bitfield specifying what attachments to blit. |
| filter | the filter to apply for this operation. |
| hou::precondition_violation | if one condition on the arguments is violated. |
| HOU_GFX_API void hou::blit | ( | const framebuffer & | src, |
| const recti & | src_rect, | ||
| texture & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Copies a rectangular region of a framebuffer into a texture.
The following constraints must be observed, or an exception will be thrown:
| src | the source framebuffer. |
| src_rect | the source rectangle. |
| dst | the destination texture. |
| dst_rect | the destination rectangle. |
| filter | the filter to apply for this operation. |
| hou::precondition_violation | if one condition on the arguments is violated. |
| HOU_GFX_API void hou::blit | ( | const texture & | src, |
| const recti & | src_rect, | ||
| framebuffer & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Copies a rectangular region of a texture into a framebuffer.
The following constraints must be observed, or an exception will be thrown:
| src | the source texture. |
| src_rect | the source rectangle. |
| dst | the destination framebuffer. |
| dst_rect | the destination rectangle. |
| filter | the filter to apply for this operation. |
| hou::precondition_violation | if one condition on the arguments is violated. |
| HOU_GFX_API void hou::blit | ( | const texture & | src, |
| const recti & | src_rect, | ||
| texture & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Copies a rectangular region of a texture into a framebuffer.
The following constraints must be observed, or an exception will be thrown:
| src | the source texture. |
| src_rect | the source rectangle. |
| dst | the destination texture. |
| dst_rect | the destination rectangle. |
| filter | the filter to apply for this operation. |
| hou::precondition_violation | if one condition on the arguments is violated. |
| HOU_GFX_API void hou::blit | ( | const render_surface & | src, |
| const recti & | src_rect, | ||
| render_surface & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Blits the render_surface onto another render_surface.
Throws if blitting is performed between two render_surface objects with different sample count and source and destination rectangles with different size.
Blitting between two render_surface objects with different sample count but source and destination rectangle with the same size, or with source and destination rectangle with same size but different sample count is possible.
If the size of the source and destination rectangle is the same but inverted, it counts as the same for the purpose of this check.
| src | the source render_surface. |
| dst | the destination render_surface. |
| src_rect | the source rectangle of the blit operation. |
| dst_rect | the destination rectangle of the blit operation. |
| filter | the blit filter. |
| hou::precondition_violation | if one argument doesn't satisfies the consttraints. |
| HOU_GFX_API void hou::blit | ( | const render_surface & | src, |
| const recti & | src_rect, | ||
| texture & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Blits the render_surface onto another render_surface.
Throws if blitting is performed between two render_surface objects with different sample count and source and destination rectangles with different size.
Blitting between two render_surface objects with different sample count but source and destination rectangle with the same size, or with source and destination rectangle with same size but different sample count is possible.
If the size of the source and destination rectangle is the same but inverted, it counts as the same for the purpose of this check.
| src | the source render_surface. |
| dst | the destination texture. |
| src_rect | the source rectangle of the blit operation. |
| dst_rect | the destination rectangle of the blit operation. |
| filter | the blit filter. |
| hou::precondition_violation | if one argument doesn't satisfies the consttraints. |
| HOU_GFX_API void hou::blit | ( | const texture & | src, |
| const recti & | src_rect, | ||
| render_surface & | dst, | ||
| const recti & | dst_rect, | ||
| framebuffer_blit_filter | filter = framebuffer_blit_filter::nearest |
||
| ) |
Blits the render_surface onto another render_surface.
Throws if blitting is performed between two render_surface objects with different sample count and source and destination rectangles with different size.
Blitting between two render_surface objects with different sample count but source and destination rectangle with the same size, or with source and destination rectangle with same size but different sample count is possible.
If the size of the source and destination rectangle is the same but inverted, it counts as the same for the purpose of this check.
| src | the source texture. |
| dst | the destination render_surface. |
| src_rect | the source rectangle of the blit operation. |
| dst_rect | the destination rectangle of the blit operation. |
| filter | the blit filter. |
| hou::precondition_violation | if one argument doesn't satisfies the consttraints. |
|
noexcept |
Checks if all given bits are set in a bitfield.
| T | the type. |
| bitfield | the field. |
| bits | the bits to be checked |
|
noexcept |
Checks if any of the given bits are set in a bitfield.
| T | the type. |
| bitfield | the field. |
| bits | the bits to be checked |
|
noexcept |
Checks if a directory exists.
Supports unicode paths.
| path | the directory to be checked. |
| HOU_GFX_API bool hou::check_format_compatibility | ( | texture_format | tf, |
| pixel_format | pf | ||
| ) |
Check if a pixel and texture formats are compatible with each other.
| tf | the texture format. |
| pf | the pixel format. |
|
noexcept |
Checks if the elements of two std::set objects are close with the given accuracy.
| T | the accuracy type. It must be a floating point type. |
| U | the element type. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if two floating point numbers are equal with the given accuracy.
A specialization is provided only for float and double.
| T | the floating point type. |
| Enable | enabling parameter. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if the elements of two std::vector objects are close with the given accuracy.
| T | the accuracy type. It must be a floating point type. |
| U | the element type. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if the elements of two std::array objects are close with the given accuracy.
| T | the accuracy type. It must be a floating point type. |
| U | the element type. |
| N | the size of the std::array objects. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if two text_vertex objects are equal with the specified accuracy.
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if two vertex2 objects are equal with the specified accuracy.
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
| bool hou::close | ( | const mesh_t< T > & | lhs, |
| const mesh_t< T > & | rhs, | ||
| float | acc = std::numeric_limits<float>::epsilon() |
||
| ) |
Checks if two mesh_t objects are equal with the specified accuracy.
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Checks if two transforms are equal with the specified accuracy.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
| acc | the accuracy. |
|
noexcept |
Checks if two rotations are equal with the given accuracy.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy of the comparison. |
|
noexcept |
Checks if two rectangles are equal with the given accuracy.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy used in the comparison. |
|
noexcept |
Checks if two rotations are equal with the given accuracy.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy of the comparison. |
|
noexcept |
Checks if two transforms are equal with the specified accuracy.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
| acc | the accuracy. |
|
noexcept |
Checks if two transforms are equal with the specified accuracy.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
| acc | the accuracy. |
|
noexcept |
Checks if two quaternions are equal with the specified accuracy.
| T | the scalar type. |
| lhs | the left operator. |
| rhs | the right operator. |
| acc | the accuracy. |
|
noexcept |
Checks if two matrices are equal with the specified accuracy.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| lhs | the left operand. |
| rhs | the right operand. |
| acc | the accuracy. |
|
noexcept |
Closes a file.
| f | the file to be closed. |
|
noexcept |
Creates a color given the float color components.
| red | the red value. |
| green | the green value. |
| blue | the blue value. |
| alpha | the alpha value. |
|
noexcept |
Computes the conjugate of a quaternion.
| T | the scalar type. |
| q | the quaternion to be conjugated. |
|
noexcept |
Checks if the elements of two containers are close with the given accuracy.
The first container is fully defined by the range provided by begin1 and last1. The second container is defined by the range provided by begin2 and begin2 + (end1 - begin1). The user must ensure that the size of the second container is at least the size of the first container. If the second container contains more elements than the first one, only the first elements will be compared.
| T | the accuracy type. |
| InputIt1 | the iterator type of the first container. |
| InputIt2 | the iterator type of the second container. |
| Enable | enabling parameter. |
| begin1 | the iterator to the begin of the first container. |
| end1 | the iterator to the end of the first container. |
| begin2 | the iterator to the begin of the second container. |
| acc | the accuracy. |
| std::ostream & hou::container_stream | ( | std::ostream & | os, |
| Iterator | begin, | ||
| Iterator | end | ||
| ) |
Outputs a container to the given stream.
| Iterator | the input iterator type. |
| os | the output stream. |
| begin | the iterator to the begin of the input container. |
| end | the iterator to the end of the input container. |
| OutputIt hou::convert_encoding | ( | InputIt | in_first, |
| InputIt | in_last, | ||
| OutputIt | out_first | ||
| ) |
Performs a conversion between two encodings.
If the input iterator pair contains more than one encoded code point, the first code point will be converted. Throws if the input iterator pair does not contain a valid code unit sequence. The user must ensure that out_first is a valid itrator and that the container is large enough to contain the converted code point.
| InputEncoding | the input encoding. |
| OutputEncoding | the output encoding. |
| InputIt | the input iterator type. |
| OutputIt | the output iterator type. |
| in_first | the begin of the input code unit sequence. |
| in_last | the end of the input code unit sequence. |
| out_first | the begin of the output code unit sequence. |
| std::bad_alloc. |
| std::basic_string< typename OutputEncoding::code_unit > hou::convert_encoding | ( | const std::basic_string< typename InputEncoding::code_unit > & | s | ) |
Converts an encoded string.
| InputEncoding | the input encoding. |
| OutputEncoding | the output encoding. |
| s | the input encoded string. |
| std::bad_alloc. |
| HOU_COR_API std::u16string hou::convert_encoding< utf16, utf16 > | ( | const std::u16string & | s | ) |
convert_encoding specialization.
| template HOU_COR_API std::u16string hou::convert_encoding< utf16, utf32 > | ( | const std::u32string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::u16string hou::convert_encoding< utf16, utf8 > | ( | const std::string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::u16string hou::convert_encoding< utf16, wide > | ( | const std::wstring & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::u32string hou::convert_encoding< utf32, utf16 > | ( | const std::u16string & | s | ) |
convert_encoding instantion.
| HOU_COR_API std::u32string hou::convert_encoding< utf32, utf32 > | ( | const std::u32string & | s | ) |
convert_encoding specialization.
| template HOU_COR_API std::u32string hou::convert_encoding< utf32, utf8 > | ( | const std::string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::u32string hou::convert_encoding< utf32, wide > | ( | const std::wstring & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::string hou::convert_encoding< utf8, utf16 > | ( | const std::u16string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::string hou::convert_encoding< utf8, utf32 > | ( | const std::u32string & | s | ) |
convert_encoding instantion.
| HOU_COR_API std::string hou::convert_encoding< utf8, utf8 > | ( | const std::string & | s | ) |
convert_encoding specialization.
| template HOU_COR_API std::string hou::convert_encoding< utf8, wide > | ( | const std::wstring & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::wstring hou::convert_encoding< wide, utf16 > | ( | const std::u16string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::wstring hou::convert_encoding< wide, utf32 > | ( | const std::u32string & | s | ) |
convert_encoding instantion.
| template HOU_COR_API std::wstring hou::convert_encoding< wide, utf8 > | ( | const std::string & | s | ) |
convert_encoding instantion.
| HOU_COR_API std::wstring hou::convert_encoding< wide, wide > | ( | const std::wstring & | s | ) |
convert_encoding specialization.
Creates a mesh2 object representing an approximation of an ellipse with the given size and drawn with the given number of points.
The texture coordinates are always equal to zero. The color is always white. The actual vertex count is equal to pointCount plus 2, as the center of the ellipse is also defined as a vertex and one vertex has to be repeated twice to close the shape.
| size | the size of the ellipse. |
| pointCount | the number of pointCount used to draw the ellipse. |
| HOU_GFX_API mesh2 hou::create_ellipse_outline_mesh2 | ( | const vec2f & | size, |
| uint | pointCount, | ||
| float | thickness | ||
| ) |
Creates a mesh2 object representing an approximation of an ellipse outline with the given size and drawn with the given number of points.
The texture coordinates are always equal to zero. The color is always white. The number of points refers to the number of points used to draw the outer and inner perimiter of the outline each. The size refers to the outside of the border.
The actual vertex count is equal to double pointCount plus 2, as the center of the ellipse is also defined as a vertex and one vertex has to be repeated twice to close the shape.
| size | the size of the ellipse. |
| pointCount | the number of pointCount used to draw the ellipse. |
| thickness | the thicknes of the outline. |
Creates a mesh object representing a rectangle shape with the given size.
The texture coordinates are defined so that a texture is stretched to cover the entire rectangle. The color is always white.
| size | the size of the rectangle. |
Creates a mesh2 object representing a rectangle outline shape with the given size and border thickness.
The texture coordinates are always equal to zero. The color is always white. The size refers to the outside of the border.
| size | the size of the rectangle. |
| thickness | the thickness of the border of the rectangle. |
Creates a mesh2 object representing a texture quad covering the specified rectangle of a texture.
A texture quad has a rectangular shape with the top left corner at the origin and the size specified by rect, just like a normal rectangle mesh. Unlike the rectangle mesh, the texture coordinates are defined to coincide with the elements of rect, normalized by the actual texture size. The same texture quad may be used with different textures with the same size. If a texture quad is used with a texture of a different size than the one it was defined with, it will work, but the section of texture shown will not correspond to the values of rect anymore. The color is always white.
| rect | the part of the texture to be shown. |
| textureSize | the size of the texture to be used with the quad. |
|
noexcept |
Computes the cross product of a 2d vector.
| T | the scalar type. |
| v | the vector. |
|
noexcept |
Computes the cross product between two 3d vectors.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Computes the cross product matrix associated to the given 3d vector.
| T | the scalar type. |
| m | a 3d vector. |
|
noexcept |
Converts degrees to radians.
| T | the scalar type. |
| deg | the angle in degrees. |
|
noexcept |
Computes the determinant of the given matrix.
| T | the scalar type. |
| T | the scalar type. |
| m | the input matrix. |
|
noexcept |
Computes the determinant of the given matrix.
| T | the scalar type. |
| m | the input matrix. |
|
noexcept |
Computes the determinant of the given matrix.
| T | the scalar type. |
| m | the input matrix. |
|
noexcept |
Computes the determinant of the given matrix.
| T | the scalar type. |
| RC | = the number of rows or columns. |
| Enable | enabling parameter (can be left to the default value). |
| m | the input matrix. |
|
noexcept |
Computes the dot product between the two given vectors.
| T | the scalar type. |
| Rows | the size of the vector. |
| lhs | the left operand. |
| rhs | the right operand. |
| void hou::error | ( | Args... | args | ) |
Reports an error.
If exceptions are enabled, it will throw an exception of type ExceptionType with the given arguments. If exceptions are disabled, it will exit execution and print the what() message of the exception into the error output stream.
| ExceptionType | the exception type. |
| Args | the arguments to build the exception. |
| args | the arguments to build the exception. |
| HOU_COR_API std::string hou::escape_regex | ( | std::string | s | ) |
Escapes special characters in a regular expression.
| s | the string to be modified. |
| std::bad_alloc. |
|
noexcept |
Prints the given message to the console error stream and stops execution.
This function internally calls std::exit, meaning that callbacks can be registered with std::at_exit to do some final cleanup.
| message | the error message to be printed. |
| std::string hou::format_string | ( | const std::string & | s, |
| Args... | args | ||
| ) |
Fills a format string with the given format values.
| Args | the format variables. |
| s | the string to be modified. |
| args | the format values. |
| std::bad_alloc. |
| HOU_SYS_API display_format_array_order hou::get_array_order | ( | display_format | f | ) |
Gets the bit order for a array type display_format.
| f | the display_format. |
| HOU_GFX_API pixel_format hou::get_associated_pixel_format | ( | texture_format | tf | ) |
Gets a compatible pixel format associated to the texture format.
| tf | the texture format. |
|
noexcept |
Gets the number of bytes per sample associated to an audio format.
| format | the audio format. |
|
noexcept |
Gets the number of channels associated to an audio format.
| format | the audio format. |
| HOU_AUD_API audio_buffer_format hou::get_audio_buffer_format_enum | ( | uint | channels, |
| uint | bytes_per_sample | ||
| ) |
Gets the appropriate audio format given the number of channels and bytes per sample.
| channels | the number of channels. It must be 1 (single channel, mono format) or 2 (double channel, stereo format). |
| bytes_per_sample | the number of bytes per sample. It must be 1 (8-bit format) or 2 (16-bit format). |
| hou::precondition_violation | if channels or bytes_per_sample have a value different from 1 or 2. |
| HOU_SYS_API display_format_bitmap_order hou::get_bitmap_order | ( | display_format | f | ) |
Gets the bit order for a bitmap type display_format.
| f | the display_format. |
|
noexcept |
Gets the number of bits of a pixel with the given format.
| format | the pixel_format. |
| HOU_SYS_API uint hou::get_bits_per_pixel | ( | display_format | f | ) |
Gets the number of bits per pixel for a given display_format.
| f | the display_format. |
| color hou::get_blending_color | ( | ) |
Gets the current blending color.
The default value is color::transparent().
| blending_equation hou::get_blending_equation | ( | ) |
Gets the current blending equation.
The default value is blending_equation::add.
|
noexcept |
Gets the number of bytes of a pixel with the given format.
| format | the pixel_format. |
| HOU_SYS_API uint hou::get_bytes_per_pixel | ( | display_format | f | ) |
Gets the number of bytes per pixel for a given display_format.
| f | the display_format. |
| blending_factor hou::get_destination_blending_factor | ( | ) |
Gets the destination blending factor.
The default value is blending_factor::one_minus_src_alpha.
|
noexcept |
Retrieves the size in bytes of a directory.
Supports unicode paths.
| path | the path. |
|
noexcept |
Retrieves the size of a file in bytes.
| file_descriptor | the file descriptor. It can be obtained by using get_file_descriptor. |
|
noexcept |
Retrieves the file descriptor integer associated to a file.
If file is not a valid file handle, the behaviour of this function is undefined.
| file | the file pointer. |
|
noexcept |
Returns the file mode string equivalent to the provided file_open_mode and file_type.
The returned string can be used with functions like fopen.
| mode | the file open mode. |
| type | the file type. |
| HOU_SYS_API std::string hou::get_filename_extension | ( | const std::string & | path | ) |
Retrieves the filename extension of a given path.
Supports unicode paths.
| path | the path to be analyzed. |
| std::bad_alloc. |
Retrieves the size in bytes for a variable of type gl_type.
| type | the type. |
Gets the key code corresponding to a scan code.
| sc | the scan code. |
| HOU_SYS_API display_format_packed_layout hou::get_packed_layout | ( | display_format | f | ) |
Gets the bit layout for a packed type display_format.
| f | the display_format. |
| HOU_SYS_API display_format_packed_order hou::get_packed_order | ( | display_format | f | ) |
Gets the bit order for a packed type display_format.
| f | the display_format. |
Gets the key code corresponding to a scan code.
| kc | the key code. |
| blending_factor hou::get_source_blending_factor | ( | ) |
Gets the source blending factor.
The default value is blending_factor::src_alpha.
|
noexcept |
Retrieves the number of dimensions associated to a texture_type.
| t | the texture type. |
| HOU_SYS_API display_format_type hou::get_type | ( | display_format | f | ) |
Gets the type of a given display_format.
| f | the display_format. |
| HOU_SYS_API bool hou::has_alpha | ( | display_format | f | ) |
Checks if a display_format has alpha bits.
| f | the display_format; |
Computes the inverse of the given rotation.
| T | the scalar type. |
| r | the rotation |
Computes the inverse of the given rotation.
| T | the scalar type. |
| r | the rotation |
| constexpr transform3< T > hou::inverse | ( | transform3< T > | t | ) |
Computes the inverse of a transform.
| T | the scalar type. |
| t | the transform to be inverted. |
| constexpr transform2< T > hou::inverse | ( | transform2< T > | t | ) |
Computes the inverse of a transform.
| T | the scalar type. |
| t | the transform to be inverted. |
| constexpr quaternion< T > hou::inverse | ( | quaternion< T > | q | ) |
Computes the inverse of a quaternion.
| T | the scalar type. |
| q | the quaternion to be inverted. |
| hou::precondition_violation | if the norm of the quaternion is 0. |
| constexpr matrix< T, RC, RC > hou::inverse | ( | matrix< T, RC, RC > | m | ) |
Computes the inverse of the given matrix.
| T | the scalar type. |
| RC | the number of rows or columns. |
| m | the input matrix. |
| hou::precondition | if the determinant of the matrix is 0. |
| bool hou::is_blending_enabled | ( | ) |
Checks if blending is enabled.
Blending is enabled by default.
| HOU_SYS_API bool hou::is_fourcc | ( | display_format | f | ) |
Checks if a display_format is a FourCC format.
| f | the display_format; |
| HOU_SYS_API bool hou::is_indexed | ( | display_format | f | ) |
Checks if a display_format is indexed.
| f | the display_format; |
| bool hou::is_multisampling_enabled | ( | ) |
Checks if multisampling is enabled.
Multisampling is enabled by default.
|
noexcept |
Checks if a point lies inside a rectangle.
| T | the scalar type. |
| r | the rectangle. |
| p | the point. |
|
noexcept |
Checks whether a texture_type represents a mip-mapped texture.
|
noexcept |
Checks whether a texture_type represents a multisample texture.
|
noexcept |
Computes the logarithm in base n of x.
| T | the scalar type. |
| n | the base. |
| x | the argument. |
|
noexcept |
Moves the content away from the nullptr.
| T | the pointer type. |
| t | the nullptr. |
| constexpr To hou::narrow_cast | ( | const From & | from | ) |
Cast checking for narrowing errors.
| To | to target type. |
| From | the source type. |
| Enable | enabling parameter. |
| from | the input value. |
| hou::narrowing_error | if the conversion results in a narrowing error. |
|
noexcept |
Computes the norm of a quaternion.
| T | the scalar type. |
| q | the quaternion. |
|
noexcept |
Computes the norm of the given matrix.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| m | the input matrix. |
| constexpr quaternion< T > hou::normalized | ( | quaternion< T > | q | ) |
Computes the normalized quaternion.
| T | the scalar type. |
| q | the quaternion. |
| hou::precondition_violation | if the norm of q is zero. |
| constexpr matrix< T, Rows, Cols > hou::normalized | ( | matrix< T, Rows, Cols > | m | ) |
Computes the normalized matrix.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| m | the input matrix. |
| hou::precondition_violation | if the norm of the matrix is 0. |
|
noexcept |
Opens a file.
Supports unicode paths.
| path | the path to the file. |
| mode | the mode string (see fopen documentation). |
|
noexcept |
Bitwise AND operator.
| T | the type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Bitwise AND operator.
| T | the type. |
| lhs | the left operand. It will store the result of the operation. |
| rhs | the right operand. |
| HOU_SYS_API bool hou::operator!= | ( | mouse_buttons_state | lhs, |
| mouse_buttons_state | rhs | ||
| ) |
Checks if two mouse_buttons_state objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two vertex_attrib_format objects not are equal.
| lhs | the left operand. |
| rhs | the right operand. |
Checks if two glyph objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two text_vertex objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two display_format_mask objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two display_mode objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two vertex_format objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
Checks if two vertex2 objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two texture_channel_mapping objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
Checks if two mesh_t objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two transforms are not equal.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
|
noexcept |
Checks if two glyph_metrics objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two rotations are not equal.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two rectangles are not equal.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two rotations are not equal.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two transforms are not equal.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
|
noexcept |
Checks if two transforms are not equal.
| T | the scalar type. |
| lhs | the left operand of the comparison. |
| rhs | the right operand of the comparison. |
Checks if two color objects are not equal.
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two span objects are not equal.
Two spans are equal if the memory adress the point at and the size is the same, the check does not compare the elements in the buffer.
| T | the value type of the span. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two image objects are not equal.
| Dim | the number of dimensions of the image. |
| PF | the pixel format. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two pixel objects are not equal.
| PF | the pixel format. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Checks if two basic_static_string objects are not equal.
| CharT | the character type. |
| N | the maximum number of characters allowed in the string. |
| Traits | the character traits. |
| lhs | the left operand. |
| rhs | the right operand |
|
noexcept |
Checks if two quaternions are not equal.
| T | the scalar type. |
| lhs | the left operator. |
| rhs | the right operator. |
|
noexcept |
Checks if two matrices are not equal.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Computes the combination of two rotations.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
| constexpr rotation3< T > hou::operator* | ( | rotation3< T > | lhs, |
| const rotation3< T > & | rhs | ||
| ) |
Computes the combination of two rotations.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Combines two transforms.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Combines two transforms.
| T | the scalar type. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Multiplies two quaternions.
| T | the scalar type. |
| lhs | the left operator. |
| rhs | the right operator. |
|
noexcept |
Multiplies two matrices.
The result is the row-column product between the two matrices. The number of columns of the left matrix must be equal to the number of columns of the right matrix.
| T | the scalar type. |
| Rows | the number of rows of lhs. |
| Mid | the number of columns of lhs and rows of rhs. |
| Cols | the number of columns of rhs. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Sums two quaternions.
The sum is element-wise.
| T | the scalar type. |
| lhs | the left operator. |
| rhs | the right operator. |
|
noexcept |
Sums two matrices.
The sum is element-wise.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Subtracts two quaternions.
The difference is element-wise.
| T | the scalar type. |
| T | the scalar type. |
| lhs | the left operator. |
| rhs | the right operator. |
|
noexcept |
Subtracts two matrices.
The difference is element-wise.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| lhs | the left operand. |
| rhs | the right operand. |
|
noexcept |
Computes the opposite of a matrix.
All elements of the resulting matrix are the opposite of the corresponding original elements.
| T | the scalar type. |
| Rows | the number of rows. |
| Cols | the number of columns. |
| m | the matrix. |
|
noexcept |
Checks if lhs is less than rhs.
| lhs | the left operand. |
| rhs | the right operand. |
| HOU_GFX_API std::ostream& hou::operator<< | ( | std::ostream & | os, |
| mesh_fill_mode | mfm | ||
| ) |
Writes a mesh_fill_mode enum into a stream.
| os | the stream. |
| mfm | the mesh_fill_mode enum. |
| HOU_SYS_API std::ostream& hou::operator<< | ( | std::ostream & | os, |
| window_mode | wm | ||
| ) |
Writes into a stream.
| os | the stream. |
| wm | the value to be written into the stream. |
| HOU_GFX_API std::ostream& hou::operator<< | ( | std::ostream & | os, |
| vertex_buffer_target | vbt | ||
| ) |
Writes the object into a stream.
| os | the stream. |
| vbt | the vertex_buffer_target enum. |
| HOU_GFX_API std::ostream& hou::operator<< | ( | std::ostream & | os, |
| framebuffer_blit_filter | fbbf | ||
| ) |
Writes the object into a stream.
| os | the stream. |
| fbbf | the framebuffer_blit_filter enum. |
| HOU_SYS_API std::ostream& hou::operator<< | ( | std::ostream & | os, |
| file_type | fom | ||
| ) |