texture_format.h
1/*
2** ClanLib SDK
3** Copyright (c) 1997-2020 The ClanLib Team
4**
5** This software is provided 'as-is', without any express or implied
6** warranty. In no event will the authors be held liable for any damages
7** arising from the use of this software.
8**
9** Permission is granted to anyone to use this software for any purpose,
10** including commercial applications, and to alter it and redistribute it
11** freely, subject to the following restrictions:
12**
13** 1. The origin of this software must not be misrepresented; you must not
14** claim that you wrote the original software. If you use this software
15** in a product, an acknowledgment in the product documentation would be
16** appreciated but is not required.
17** 2. Altered source versions must be plainly marked as such, and must not be
18** misrepresented as being the original software.
19** 3. This notice may not be removed or altered from any source distribution.
20**
21** Note: Some of the libraries ClanLib may link to may have additional
22** requirements or restrictions.
23**
24** File Author(s):
25**
26** Magnus Norddahl
27** Mark Page
28*/
29
30#pragma once
31
32namespace clan
33{
36
38 enum class TextureFormat
39 {
40 // Standard ClanLib sized formats (most common listed first)
45
46 // sized internal format
47 stencil_index1, // For RenderBuffer ?
48 stencil_index4, // For RenderBuffer ?
49 stencil_index8, // For RenderBuffer ?
50 stencil_index16, // For RenderBuffer ?
51
63 //rgb8, (listed earlier)
72 //rgba8, (listed earlier)
138 };
139
141}
TextureFormat
Texture format.
Definition texture_format.h:39
@ depth_component32f
Definition texture_format.h:117
@ rg8_snorm
Definition texture_format.h:57
@ rgba32ui
Definition texture_format.h:113
@ rgba8i
Definition texture_format.h:108
@ rgb8
Definition texture_format.h:42
@ compressed_rg
Definition texture_format.h:121
@ depth24_stencil8
Definition texture_format.h:118
@ bgr8
Definition texture_format.h:44
@ rgba32i
Definition texture_format.h:112
@ rg8ui
Definition texture_format.h:97
@ r16f
Definition texture_format.h:80
@ stencil_index16
Definition texture_format.h:50
@ rgba4
Definition texture_format.h:70
@ r8_snorm
Definition texture_format.h:53
@ rgb10_a2
Definition texture_format.h:74
@ rgb16
Definition texture_format.h:67
@ rg16i
Definition texture_format.h:98
@ compressed_srgb
Definition texture_format.h:124
@ rgba16f
Definition texture_format.h:83
@ compressed_rgba_s3tc_dxt3
Definition texture_format.h:132
@ rgb8i
Definition texture_format.h:102
@ rgb12
Definition texture_format.h:66
@ stencil_index1
Definition texture_format.h:47
@ rg16
Definition texture_format.h:58
@ srgb8_alpha8
Definition texture_format.h:79
@ rg32f
Definition texture_format.h:85
@ compressed_srgb_alpha_s3tc_dxt3
Definition texture_format.h:136
@ stencil_index4
Definition texture_format.h:48
@ rgb4
Definition texture_format.h:61
@ rgba16
Definition texture_format.h:76
@ rgb32i
Definition texture_format.h:106
@ rgba16_snorm
Definition texture_format.h:77
@ rgb16_snorm
Definition texture_format.h:68
@ rgba2
Definition texture_format.h:69
@ rgba16i
Definition texture_format.h:110
@ r11f_g11f_b10f
Definition texture_format.h:88
@ rgb5
Definition texture_format.h:62
@ compressed_srgb_alpha_s3tc_dxt5
Definition texture_format.h:137
@ rgba16ui
Definition texture_format.h:111
@ r16ui
Definition texture_format.h:93
@ r16
Definition texture_format.h:54
@ rg16f
Definition texture_format.h:81
@ r8ui
Definition texture_format.h:91
@ rg8i
Definition texture_format.h:96
@ r8i
Definition texture_format.h:90
@ compressed_red_rgtc1
Definition texture_format.h:126
@ rgb16ui
Definition texture_format.h:105
@ rgb5_a1
Definition texture_format.h:71
@ rg8
Definition texture_format.h:56
@ rgb9_e5
Definition texture_format.h:89
@ rgb8ui
Definition texture_format.h:103
@ r32f
Definition texture_format.h:84
@ rg16_snorm
Definition texture_format.h:59
@ r8
Definition texture_format.h:52
@ r32ui
Definition texture_format.h:95
@ compressed_srgb_s3tc_dxt1
Definition texture_format.h:134
@ rgba8_snorm
Definition texture_format.h:73
@ rgb32ui
Definition texture_format.h:107
@ compressed_rgba
Definition texture_format.h:123
@ r32i
Definition texture_format.h:94
@ rgba32f
Definition texture_format.h:87
@ bgra8
Definition texture_format.h:43
@ r16i
Definition texture_format.h:92
@ rgba8ui
Definition texture_format.h:109
@ compressed_rgb_s3tc_dxt1
Definition texture_format.h:130
@ rgba8
Definition texture_format.h:41
@ rgb16f
Definition texture_format.h:82
@ compressed_srgb_alpha_s3tc_dxt1
Definition texture_format.h:135
@ rgb8_snorm
Definition texture_format.h:64
@ srgb8
Definition texture_format.h:78
@ rg16ui
Definition texture_format.h:99
@ stencil_index8
Definition texture_format.h:49
@ rgb10
Definition texture_format.h:65
@ depth32f_stencil8
Definition texture_format.h:119
@ compressed_rg_rgtc2
Definition texture_format.h:128
@ depth_component16
Definition texture_format.h:114
@ rgba12
Definition texture_format.h:75
@ compressed_srgb_alpha
Definition texture_format.h:125
@ depth_component32
Definition texture_format.h:116
@ compressed_rgba_s3tc_dxt5
Definition texture_format.h:133
@ compressed_rgb
Definition texture_format.h:122
@ rgb32f
Definition texture_format.h:86
@ rg32i
Definition texture_format.h:100
@ depth_component24
Definition texture_format.h:115
@ compressed_signed_red_rgtc1
Definition texture_format.h:127
@ r16_snorm
Definition texture_format.h:55
@ compressed_red
Definition texture_format.h:120
@ r3_g3_b2
Definition texture_format.h:60
@ compressed_signed_rg_rgtc2
Definition texture_format.h:129
@ compressed_rgba_s3tc_dxt1
Definition texture_format.h:131
@ rg32ui
Definition texture_format.h:101
@ rgb16i
Definition texture_format.h:104
Definition clanapp.h:36