LibCarna Version 3.4.0
Loading...
Searching...
No Matches
BufferedVectorFieldFormat.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#ifndef BUFFEREDVECTORFIELDFORMAT_H_6014714286
16#define BUFFEREDVECTORFIELDFORMAT_H_6014714286
17
18#include <LibCarna/LibCarna.hpp>
19
25namespace LibCarna
26{
27
28namespace base
29{
30
31
32
33// ----------------------------------------------------------------------------------
34// BufferedVectorFieldFormat
35// ----------------------------------------------------------------------------------
36
40template< typename BufferedVectorFieldType >
42{
43 static_assert( sizeof( BufferedVectorFieldType ) == -1, "Unknown BufferedVectorFieldType." );
44};
45
46
50template< >
52{
53 const static unsigned int INTERNAL_FORMAT;
54 const static unsigned int PIXEL_FORMAT;
55 const static unsigned int BUFFER_TYPE;
56};
57
58
62template< >
64{
65 const static unsigned int INTERNAL_FORMAT;
66 const static unsigned int PIXEL_FORMAT;
67 const static unsigned int BUFFER_TYPE;
68};
69
70
74template< >
76{
77 const static unsigned int INTERNAL_FORMAT;
78 const static unsigned int PIXEL_FORMAT;
79 const static unsigned int BUFFER_TYPE;
80};
81
82
83
84} // namespace LibCarna :: base
85
86} // namespace LibCarna
87
88#endif // BUFFEREDVECTORFIELDFORMAT_H_6014714286
Contains forward-declarations.
Represents an association.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
Maps math::VectorField implementations to Texture formats.