clanDisplay Display

Classes

class  clan::BlendState
 Blend state setup. More...
 
class  clan::BlendStateDescription
 Blend state description. More...
 
class  clan::BlendStateProvider
 
class  clan::Canvas
 2D Graphics Canvas More...
 
class  clan::ClipRectStack
 
class  clan::ClipRectState
 
class  clan::CursorProvider
 Interface for implementing a Cursor target. More...
 
class  clan::DepthStencilState
 DepthStencil state setup. More...
 
class  clan::DepthStencilStateDescription
 DepthStencil state description. More...
 
class  clan::DepthStencilStateProvider
 
class  clan::DisplayTarget
 Display target for clanDisplay. More...
 
class  clan::DisplayTargetProvider
 Interface for implementing a DisplayTarget target. More...
 
class  clan::DisplayWindowProvider
 Interface for implementing a DisplayWindow target. More...
 
class  clan::DisplayWindowSite
 Display Window site. More...
 
class  clan::ElementArrayBuffer
 Element Array Buffer. More...
 
class  clan::ElementArrayBufferProvider
 Element Array Buffer provider. More...
 
class  clan::ElementArrayVector< Type >
 Element Array Vector. More...
 
class  clan::FrameBuffer
 Frame-buffer object class. More...
 
class  clan::FrameBufferProvider
 Interface for implementing a FrameBuffer target. More...
 
class  clan::GraphicContext
 Interface to drawing graphics. More...
 
class  clan::GraphicContextProvider
 Interface for implementing a GraphicContext target. More...
 
class  clan::IconSet
 Icon set class. More...
 
class  clan::ImageImportDescription
 Image Import Description Class. More...
 
class  clan::OcclusionQuery
 Graphics occlusion query class. More...
 
class  clan::PerlinNoise
 Perlin Noise Generator class. More...
 
class  clan::PixelBuffer
 Pixel data container. More...
 
class  clan::PixelBufferHelp
 Pixel data helper class. More...
 
class  clan::PixelBufferLock< Type >
 PixelBuffer locking helper. More...
 
class  clan::PixelBufferProvider
 Element Array Buffer provider. More...
 
class  clan::PixelBufferSet
 Set of images that combined form a complete texture. More...
 
class  clan::PixelConverter
 Low level pixel format converter class. More...
 
class  clan::PrimitivesArray
 Primitives array description. More...
 
class  clan::PrimitivesArrayProvider
 Interface for implementing a PrimitivesArray target. More...
 
class  clan::ProgramObject
 Program Object. More...
 
class  clan::ProgramObjectProvider
 Program Object provider. More...
 
class  clan::RasterizerState
 Rasterizer state setup. More...
 
class  clan::RasterizerStateDescription
 Rasterizer state description. More...
 
class  clan::RasterizerStateProvider
 
class  clan::RenderBatcher
 Render batching abstraction. More...
 
class  clan::RenderBuffer
 Render-buffer object class. More...
 
class  clan::RenderBufferProvider
 Interface for implementing a RenderBuffer target. More...
 
class  clan::ScreenInfo
 Screen Information class. More...
 
class  clan::ShaderEffect
 Shader Feffect. More...
 
class  clan::ShaderEffectDescription
 Shader Effect Description. More...
 
class  clan::ShaderObject
 Shader Object. More...
 
class  clan::ShaderObjectProvider
 Shader Object provider. More...
 
class  clan::SharedGCData
 Shared Graphic Context Data. More...
 
class  clan::StorageBuffer
 Storage Buffer. More...
 
class  clan::StorageBufferProvider
 Storage Buffer provider. More...
 
class  clan::StorageVector< Type >
 Storage Buffer Vector. More...
 
class  clan::Texture
 Texture object class. More...
 
class  clan::Texture1D
 1D texture object class. More...
 
class  clan::Texture1DArray
 1D texture array object class. More...
 
class  clan::Texture2D
 2D texture object class. More...
 
class  clan::Texture2DArray
 2D texture array object class. More...
 
class  clan::Texture3D
 3D texture object class. More...
 
class  clan::TextureCube
 2D texture cube object class. More...
 
class  clan::TextureCubeArray
 2D texture cube array object class. More...
 
class  clan::TextureProvider
 Interface for implementing a Texture target. More...
 
class  clan::TransferBuffer
 Transfer Buffer. More...
 
class  clan::TransferBufferProvider
 Transfer Buffer provider. More...
 
class  clan::TransferTexture
 Texture Transfer class. More...
 
class  clan::TransferVector< Type >
 Transfer Vector. More...
 
class  clan::TransformState
 
class  clan::UniformBuffer
 Uniform Buffer. More...
 
class  clan::UniformBufferProvider
 Uniform Buffer provider. More...
 
class  clan::UniformVector< Type >
 Uniform Buffer Vector. More...
 
class  clan::VertexArrayBuffer
 Vertex Array Buffer. More...
 
class  clan::VertexArrayBufferProvider
 Vertex Array Buffer provider. More...
 
class  clan::VertexArrayVector< Type >
 Vertex Array Vector. More...
 
class  clan::PrimitivesArrayProvider::VertexData
 

Macros

#define cl_offsetof(s, m)   (&(((s *)0)->m))
 

Typedefs

typedef PixelBufferLock
< signed char > 
clan::PixelBufferLock1b
 
typedef PixelBufferLock< double > clan::PixelBufferLock1d
 
typedef PixelBufferLock< float > clan::PixelBufferLock1f
 
typedef PixelBufferLock
< HalfFloat > 
clan::PixelBufferLock1hf
 
typedef PixelBufferLock
< signed int > 
clan::PixelBufferLock1i
 
typedef PixelBufferLock
< signed short > 
clan::PixelBufferLock1s
 
typedef PixelBufferLock
< unsigned char > 
clan::PixelBufferLock1ub
 
typedef PixelBufferLock
< unsigned int > 
clan::PixelBufferLock1ui
 
typedef PixelBufferLock
< unsigned short > 
clan::PixelBufferLock1us
 
typedef PixelBufferLock< Vec2b > clan::PixelBufferLock2b
 
typedef PixelBufferLock< Vec2d > clan::PixelBufferLock2d
 
typedef PixelBufferLock< Vec2f > clan::PixelBufferLock2f
 
typedef PixelBufferLock< Vec2hf > clan::PixelBufferLock2hf
 
typedef PixelBufferLock< Vec2i > clan::PixelBufferLock2i
 
typedef PixelBufferLock< Vec2s > clan::PixelBufferLock2s
 
typedef PixelBufferLock< Vec2ub > clan::PixelBufferLock2ub
 
typedef PixelBufferLock< Vec2ui > clan::PixelBufferLock2ui
 
typedef PixelBufferLock< Vec2us > clan::PixelBufferLock2us
 
typedef PixelBufferLock< Vec3b > clan::PixelBufferLock3b
 
typedef PixelBufferLock< Vec3d > clan::PixelBufferLock3d
 
typedef PixelBufferLock< Vec3f > clan::PixelBufferLock3f
 
typedef PixelBufferLock< Vec3hf > clan::PixelBufferLock3hf
 
typedef PixelBufferLock< Vec3i > clan::PixelBufferLock3i
 
typedef PixelBufferLock< Vec3s > clan::PixelBufferLock3s
 
typedef PixelBufferLock< Vec3ub > clan::PixelBufferLock3ub
 
typedef PixelBufferLock< Vec3ui > clan::PixelBufferLock3ui
 
typedef PixelBufferLock< Vec3us > clan::PixelBufferLock3us
 
typedef PixelBufferLock< Vec4b > clan::PixelBufferLock4b
 
typedef PixelBufferLock< Vec4d > clan::PixelBufferLock4d
 
typedef PixelBufferLock< Vec4f > clan::PixelBufferLock4f
 
typedef PixelBufferLock< Vec4hf > clan::PixelBufferLock4hf
 
typedef PixelBufferLock< Vec4i > clan::PixelBufferLock4i
 
typedef PixelBufferLock< Vec4s > clan::PixelBufferLock4s
 
typedef PixelBufferLock< Vec4ub > clan::PixelBufferLock4ub
 
typedef PixelBufferLock< Vec4ui > clan::PixelBufferLock4ui
 
typedef PixelBufferLock< Vec4us > clan::PixelBufferLock4us
 
typedef PixelBufferLock
< unsigned char > 
clan::PixelBufferLockAny
 

Enumerations

enum  clan::BlendEquation {
  clan::equation_add, clan::equation_subtract, clan::equation_reverse_subtract, clan::equation_min,
  clan::equation_max
}
 Blending equations. More...
 
enum  clan::BlendFunc {
  clan::blend_zero, clan::blend_one, clan::blend_dest_color, clan::blend_src_color,
  clan::blend_one_minus_dest_color, clan::blend_one_minus_src_color, clan::blend_src_alpha, clan::blend_one_minus_src_alpha,
  clan::blend_dest_alpha, clan::blend_one_minus_dest_alpha, clan::blend_src_alpha_saturate, clan::blend_constant_color,
  clan::blend_one_minus_constant_color, clan::blend_constant_alpha, clan::blend_one_minus_constant_alpha
}
 Blending functions. More...
 
enum  clan::BufferAccess { clan::access_read_only, clan::access_write_only, clan::access_read_write, clan::access_write_discard }
 Array Buffer access enum. More...
 
enum  clan::BufferUsage {
  clan::usage_stream_draw, clan::usage_stream_read, clan::usage_stream_copy, clan::usage_static_draw,
  clan::usage_static_read, clan::usage_static_copy, clan::usage_dynamic_draw, clan::usage_dynamic_read,
  clan::usage_dynamic_copy
}
 Array Buffer usage enum. More...
 
enum  clan::CompareFunction {
  clan::compare_lequal, clan::compare_gequal, clan::compare_less, clan::compare_greater,
  clan::compare_equal, clan::compare_notequal, clan::compare_always, clan::compare_never
}
 Compare functions. More...
 
enum  clan::CullMode { clan::cull_front, clan::cull_back, clan::cull_front_and_back }
 Polygon culling modes. More...
 
enum  clan::DrawBuffer {
  clan::buffer_none, clan::buffer_front_left, clan::buffer_front_right, clan::buffer_back_left,
  clan::buffer_back_right, clan::buffer_front, clan::buffer_back, clan::buffer_left,
  clan::buffer_right, clan::buffer_front_and_back
}
 Drawing buffers. More...
 
enum  clan::FaceSide { clan::face_clockwise, clan::face_counter_clockwise }
 Front face modes. More...
 
enum  clan::FillMode { clan::fill_point, clan::fill_line, clan::fill_polygon }
 Polygon filling modes. More...
 
enum  clan::FrameBufferBindTarget { clan::framebuffer_draw, clan::framebuffer_read }
 Framebuffer bind target. More...
 
enum  clan::LogicOp {
  clan::logic_clear, clan::logic_and, clan::logic_and_reverse, clan::logic_copy,
  clan::logic_and_inverted, clan::logic_noop, clan::logic_xor, clan::logic_or,
  clan::logic_nor, clan::logic_equiv, clan::logic_invert, clan::logic_or_reverse,
  clan::logic_copy_inverted, clan::logic_or_inverted, clan::logic_nand, clan::logic_set
}
 Logic Op. More...
 
enum  clan::MapMode { clan::map_2d_upper_left, clan::map_2d_lower_left, clan::map_user_projection }
 Mapping modes. More...
 
enum  clan::PixelBufferDirection { clan::data_to_gpu, clan::data_from_gpu }
 Pixel buffer prefered direction. More...
 
enum  clan::PointSpriteOrigin { clan::origin_upper_left, clan::origin_lower_left }
 Point Sprite Origin. More...
 
enum  clan::PrimitivesType {
  clan::type_points, clan::type_line_strip, clan::type_line_loop, clan::type_lines,
  clan::type_triangle_strip, clan::type_triangle_fan, clan::type_triangles
}
 Primitive types. More...
 
enum  clan::ShaderLanguage { clan::shader_glsl, clan::shader_hlsl, clan::shader_fixed_function, clan::num_shader_languages }
 Shader language used. More...
 
enum  clan::ShaderType {
  clan::shadertype_vertex, clan::shadertype_geometry, clan::shadertype_fragment, clan::shadertype_tess_evaluation,
  clan::shadertype_tess_control, clan::shadertype_compute, clan::shadertype_num_types
}
 Shader Type. More...
 
enum  clan::StandardProgram { clan::program_color_only, clan::program_single_texture, clan::program_sprite, clan::program_path }
 Standard Program. More...
 
enum  clan::StencilOp {
  clan::stencil_keep, clan::stencil_zero, clan::stencil_replace, clan::stencil_incr,
  clan::stencil_decr, clan::stencil_invert, clan::stencil_incr_wrap, clan::stencil_decr_wrap
}
 Stencil operations. More...
 
enum  clan::TextureCompareMode { clan::comparemode_none, clan::comparemode_compare_r_to_texture }
 Texture compare modes. More...
 
enum  clan::TextureCubeDirection {
  clan::cl_cube_positive_x, clan::cl_cube_negative_x, clan::cl_cube_positive_y, clan::cl_cube_negative_y,
  clan::cl_cube_positive_z, clan::cl_cube_negative_z
}
 Texture cube directions. More...
 
enum  clan::TextureDimensions {
  clan::texture_1d, clan::texture_1d_array, clan::texture_2d, clan::texture_2d_array,
  clan::texture_3d, clan::texture_cube, clan::texture_cube_array
}
 Texture dimensions. More...
 
enum  clan::TextureFilter {
  clan::filter_nearest, clan::filter_linear, clan::filter_nearest_mipmap_nearest, clan::filter_nearest_mipmap_linear,
  clan::filter_linear_mipmap_nearest, clan::filter_linear_mipmap_linear
}
 Texture filters. More...
 
enum  clan::TextureFormat {
  clan::tf_rgba8, clan::tf_rgb8, clan::tf_bgra8, clan::tf_bgr8,
  clan::tf_stencil_index1, clan::tf_stencil_index4, clan::tf_stencil_index8, clan::tf_stencil_index16,
  clan::tf_r8, clan::tf_r8_snorm, clan::tf_r16, clan::tf_r16_snorm,
  clan::tf_rg8, clan::tf_rg8_snorm, clan::tf_rg16, clan::tf_rg16_snorm,
  clan::tf_r3_g3_b2, clan::tf_rgb4, clan::tf_rgb5, clan::tf_rgb8_snorm,
  clan::tf_rgb10, clan::tf_rgb12, clan::tf_rgb16, clan::tf_rgb16_snorm,
  clan::tf_rgba2, clan::tf_rgba4, clan::tf_rgb5_a1, clan::tf_rgba8_snorm,
  clan::tf_rgb10_a2, clan::tf_rgba12, clan::tf_rgba16, clan::tf_rgba16_snorm,
  clan::tf_srgb8, clan::tf_srgb8_alpha8, clan::tf_r16f, clan::tf_rg16f,
  clan::tf_rgb16f, clan::tf_rgba16f, clan::tf_r32f, clan::tf_rg32f,
  clan::tf_rgb32f, clan::tf_rgba32f, clan::tf_r11f_g11f_b10f, clan::tf_rgb9_e5,
  clan::tf_r8i, clan::tf_r8ui, clan::tf_r16i, clan::tf_r16ui,
  clan::tf_r32i, clan::tf_r32ui, clan::tf_rg8i, clan::tf_rg8ui,
  clan::tf_rg16i, clan::tf_rg16ui, clan::tf_rg32i, clan::tf_rg32ui,
  clan::tf_rgb8i, clan::tf_rgb8ui, clan::tf_rgb16i, clan::tf_rgb16ui,
  clan::tf_rgb32i, clan::tf_rgb32ui, clan::tf_rgba8i, clan::tf_rgba8ui,
  clan::tf_rgba16i, clan::tf_rgba16ui, clan::tf_rgba32i, clan::tf_rgba32ui,
  clan::tf_depth_component16, clan::tf_depth_component24, clan::tf_depth_component32, clan::tf_depth_component32f,
  clan::tf_depth24_stencil8, clan::tf_depth32f_stencil8, clan::tf_compressed_red, clan::tf_compressed_rg,
  clan::tf_compressed_rgb, clan::tf_compressed_rgba, clan::tf_compressed_srgb, clan::tf_compressed_srgb_alpha,
  clan::tf_compressed_red_rgtc1, clan::tf_compressed_signed_red_rgtc1, clan::tf_compressed_rg_rgtc2, clan::tf_compressed_signed_rg_rgtc2,
  clan::tf_compressed_rgb_s3tc_dxt1, clan::tf_compressed_rgba_s3tc_dxt1, clan::tf_compressed_rgba_s3tc_dxt3, clan::tf_compressed_rgba_s3tc_dxt5,
  clan::tf_compressed_srgb_s3tc_dxt1, clan::tf_compressed_srgb_alpha_s3tc_dxt1, clan::tf_compressed_srgb_alpha_s3tc_dxt3, clan::tf_compressed_srgb_alpha_s3tc_dxt5
}
 Texture format. More...
 
enum  clan::TextureImageYAxis { clan::y_axis_bottom_up, clan::y_axis_top_down }
 Y axis direction for viewports, clipping rects, textures and render targets. More...
 
enum  clan::TextureSubtype {
  clan::subtype_cube_map_positive_x, clan::subtype_cube_map_negative_x, clan::subtype_cube_map_positive_y, clan::subtype_cube_map_negative_y,
  clan::subtype_cube_map_positive_z, clan::subtype_cube_map_negative_z
}
 Texture Subtype. More...
 
enum  clan::TextureWrapMode { clan::wrap_clamp_to_edge, clan::wrap_repeat, clan::wrap_mirrored_repeat }
 Texture coordinate wrapping modes. More...
 
enum  clan::VertexAttributeDataType {
  clan::type_unsigned_byte, clan::type_unsigned_short, clan::type_unsigned_int, clan::type_byte,
  clan::type_short, clan::type_int, clan::type_float
}
 Primitives array description. More...
 

Variables

const float clan::pixelcenter_constant = 0.375f
 

Detailed Description

Macro Definition Documentation

#define cl_offsetof (   s,
 
)    (&(((s *)0)->m))

Typedef Documentation

typedef PixelBufferLock<signed char> clan::PixelBufferLock1b
typedef PixelBufferLock<double> clan::PixelBufferLock1d
typedef PixelBufferLock<float> clan::PixelBufferLock1f
typedef PixelBufferLock<HalfFloat> clan::PixelBufferLock1hf
typedef PixelBufferLock<signed int> clan::PixelBufferLock1i
typedef PixelBufferLock<signed short> clan::PixelBufferLock1s
typedef PixelBufferLock<unsigned char> clan::PixelBufferLock1ub
typedef PixelBufferLock<unsigned int> clan::PixelBufferLock1ui
typedef PixelBufferLock<unsigned short> clan::PixelBufferLock1us
typedef PixelBufferLock<Vec2b> clan::PixelBufferLock2b
typedef PixelBufferLock<Vec2d> clan::PixelBufferLock2d
typedef PixelBufferLock<Vec2f> clan::PixelBufferLock2f
typedef PixelBufferLock<Vec2hf> clan::PixelBufferLock2hf
typedef PixelBufferLock<Vec2i> clan::PixelBufferLock2i
typedef PixelBufferLock<Vec2s> clan::PixelBufferLock2s
typedef PixelBufferLock<Vec2ub> clan::PixelBufferLock2ub
typedef PixelBufferLock<Vec2ui> clan::PixelBufferLock2ui
typedef PixelBufferLock<Vec2us> clan::PixelBufferLock2us
typedef PixelBufferLock<Vec3b> clan::PixelBufferLock3b
typedef PixelBufferLock<Vec3d> clan::PixelBufferLock3d
typedef PixelBufferLock<Vec3f> clan::PixelBufferLock3f
typedef PixelBufferLock<Vec3hf> clan::PixelBufferLock3hf
typedef PixelBufferLock<Vec3i> clan::PixelBufferLock3i
typedef PixelBufferLock<Vec3s> clan::PixelBufferLock3s
typedef PixelBufferLock<Vec3ub> clan::PixelBufferLock3ub
typedef PixelBufferLock<Vec3ui> clan::PixelBufferLock3ui
typedef PixelBufferLock<Vec3us> clan::PixelBufferLock3us
typedef PixelBufferLock<Vec4b> clan::PixelBufferLock4b
typedef PixelBufferLock<Vec4d> clan::PixelBufferLock4d
typedef PixelBufferLock<Vec4f> clan::PixelBufferLock4f
typedef PixelBufferLock<Vec4hf> clan::PixelBufferLock4hf
typedef PixelBufferLock<Vec4i> clan::PixelBufferLock4i
typedef PixelBufferLock<Vec4s> clan::PixelBufferLock4s
typedef PixelBufferLock<Vec4ub> clan::PixelBufferLock4ub
typedef PixelBufferLock<Vec4ui> clan::PixelBufferLock4ui
typedef PixelBufferLock<Vec4us> clan::PixelBufferLock4us
typedef PixelBufferLock<unsigned char> clan::PixelBufferLockAny

Enumeration Type Documentation

Blending equations.

Enumerator
equation_add 
equation_subtract 
equation_reverse_subtract 
equation_min 
equation_max 

Blending functions.

Enumerator
blend_zero 

source or destination (0, 0, 0, 0)

blend_one 

source or destination (1, 1, 1, 1)

blend_dest_color 

source (Rd, Gd, Bd, Ad)

blend_src_color 

destination (Rs, Gs, Bs, As)

blend_one_minus_dest_color 

source (1, 1, 1, 1) - (Rd, Gd, Bd, Ad)

blend_one_minus_src_color 

destination (1, 1, 1, 1) - (Rs, Gs, Bs, As)

blend_src_alpha 

source or destination (As, As, As, As)

blend_one_minus_src_alpha 

source or destination (1, 1, 1, 1) - (As, As, As, As)

blend_dest_alpha 

source or destination (Ad, Ad, Ad, Ad)

blend_one_minus_dest_alpha 

source or destination (1, 1, 1, 1) - (Ad, Ad, Ad, Ad)

blend_src_alpha_saturate 

source (f, f, f, 1) - f = min(As, 1 - Ad)

blend_constant_color 

source or destination (Rc, Gc, Bc, Ac)

blend_one_minus_constant_color 

source or destination (1, 1, 1, 1) - (Rc, Gc, Bc, Ac)

blend_constant_alpha 

source or destination (Ac, Ac, Ac, Ac)

blend_one_minus_constant_alpha 

source or destination (1, 1, 1, 1) - (Ac, Ac, Ac, Ac)

Array Buffer access enum.

Enumerator
access_read_only 
access_write_only 
access_read_write 
access_write_discard 

Array Buffer usage enum.

Enumerator
usage_stream_draw 
usage_stream_read 
usage_stream_copy 
usage_static_draw 
usage_static_read 
usage_static_copy 
usage_dynamic_draw 
usage_dynamic_read 
usage_dynamic_copy 

Compare functions.

Enumerator
compare_lequal 
compare_gequal 
compare_less 
compare_greater 
compare_equal 
compare_notequal 
compare_always 
compare_never 

Polygon culling modes.

Enumerator
cull_front 
cull_back 
cull_front_and_back 

Drawing buffers.

Enumerator
buffer_none 
buffer_front_left 
buffer_front_right 
buffer_back_left 
buffer_back_right 
buffer_front 
buffer_back 
buffer_left 
buffer_right 
buffer_front_and_back 

Front face modes.

Enumerator
face_clockwise 
face_counter_clockwise 

Polygon filling modes.

Enumerator
fill_point 
fill_line 
fill_polygon 

Framebuffer bind target.

Enumerator
framebuffer_draw 
framebuffer_read 

Logic Op.

Enumerator
logic_clear 
logic_and 
logic_and_reverse 
logic_copy 
logic_and_inverted 
logic_noop 
logic_xor 
logic_or 
logic_nor 
logic_equiv 
logic_invert 
logic_or_reverse 
logic_copy_inverted 
logic_or_inverted 
logic_nand 
logic_set 

Mapping modes.

Enumerator
map_2d_upper_left 
map_2d_lower_left 
map_user_projection 

Pixel buffer prefered direction.

Enumerator
data_to_gpu 

Use of the pixel buffer is to send data to the gpu.

data_from_gpu 

Use of the pixel buffer is to retrieve data from the gpu.

Point Sprite Origin.

Enumerator
origin_upper_left 
origin_lower_left 

Primitive types.

Enumerator
type_points 
type_line_strip 
type_line_loop 
type_lines 
type_triangle_strip 
type_triangle_fan 
type_triangles 

Shader language used.

Enumerator
shader_glsl 
shader_hlsl 
shader_fixed_function 
num_shader_languages 

Shader Type.

Enumerator
shadertype_vertex 
shadertype_geometry 
shadertype_fragment 
shadertype_tess_evaluation 
shadertype_tess_control 
shadertype_compute 
shadertype_num_types 

Standard Program.

Enumerator
program_color_only 
program_single_texture 
program_sprite 
program_path 

Stencil operations.

Enumerator
stencil_keep 
stencil_zero 
stencil_replace 
stencil_incr 
stencil_decr 
stencil_invert 
stencil_incr_wrap 
stencil_decr_wrap 

Texture compare modes.

Enumerator
comparemode_none 
comparemode_compare_r_to_texture 

Texture cube directions.

Enumerator
cl_cube_positive_x 
cl_cube_negative_x 
cl_cube_positive_y 
cl_cube_negative_y 
cl_cube_positive_z 
cl_cube_negative_z 

Texture dimensions.

Enumerator
texture_1d 
texture_1d_array 
texture_2d 
texture_2d_array 
texture_3d 
texture_cube 
texture_cube_array 

Texture filters.

Enumerator
filter_nearest 
filter_linear 
filter_nearest_mipmap_nearest 
filter_nearest_mipmap_linear 
filter_linear_mipmap_nearest 
filter_linear_mipmap_linear 

Texture format.

Enumerator
tf_rgba8 
tf_rgb8 
tf_bgra8 
tf_bgr8 
tf_stencil_index1 
tf_stencil_index4 
tf_stencil_index8 
tf_stencil_index16 
tf_r8 
tf_r8_snorm 
tf_r16 
tf_r16_snorm 
tf_rg8 
tf_rg8_snorm 
tf_rg16 
tf_rg16_snorm 
tf_r3_g3_b2 
tf_rgb4 
tf_rgb5 
tf_rgb8_snorm 
tf_rgb10 
tf_rgb12 
tf_rgb16 
tf_rgb16_snorm 
tf_rgba2 
tf_rgba4 
tf_rgb5_a1 
tf_rgba8_snorm 
tf_rgb10_a2 
tf_rgba12 
tf_rgba16 
tf_rgba16_snorm 
tf_srgb8 
tf_srgb8_alpha8 
tf_r16f 
tf_rg16f 
tf_rgb16f 
tf_rgba16f 
tf_r32f 
tf_rg32f 
tf_rgb32f 
tf_rgba32f 
tf_r11f_g11f_b10f 
tf_rgb9_e5 
tf_r8i 
tf_r8ui 
tf_r16i 
tf_r16ui 
tf_r32i 
tf_r32ui 
tf_rg8i 
tf_rg8ui 
tf_rg16i 
tf_rg16ui 
tf_rg32i 
tf_rg32ui 
tf_rgb8i 
tf_rgb8ui 
tf_rgb16i 
tf_rgb16ui 
tf_rgb32i 
tf_rgb32ui 
tf_rgba8i 
tf_rgba8ui 
tf_rgba16i 
tf_rgba16ui 
tf_rgba32i 
tf_rgba32ui 
tf_depth_component16 
tf_depth_component24 
tf_depth_component32 
tf_depth_component32f 
tf_depth24_stencil8 
tf_depth32f_stencil8 
tf_compressed_red 
tf_compressed_rg 
tf_compressed_rgb 
tf_compressed_rgba 
tf_compressed_srgb 
tf_compressed_srgb_alpha 
tf_compressed_red_rgtc1 
tf_compressed_signed_red_rgtc1 
tf_compressed_rg_rgtc2 
tf_compressed_signed_rg_rgtc2 
tf_compressed_rgb_s3tc_dxt1 
tf_compressed_rgba_s3tc_dxt1 
tf_compressed_rgba_s3tc_dxt3 
tf_compressed_rgba_s3tc_dxt5 
tf_compressed_srgb_s3tc_dxt1 
tf_compressed_srgb_alpha_s3tc_dxt1 
tf_compressed_srgb_alpha_s3tc_dxt3 
tf_compressed_srgb_alpha_s3tc_dxt5 

Y axis direction for viewports, clipping rects, textures and render targets.

Enumerator
y_axis_bottom_up 

OpenGL, origin is lower left with Y going upwards.

y_axis_top_down 

Direct3D, origin is upper left with Y going downwards.

Texture Subtype.

Enumerator
subtype_cube_map_positive_x 
subtype_cube_map_negative_x 
subtype_cube_map_positive_y 
subtype_cube_map_negative_y 
subtype_cube_map_positive_z 
subtype_cube_map_negative_z 

Texture coordinate wrapping modes.

Enumerator
wrap_clamp_to_edge 
wrap_repeat 
wrap_mirrored_repeat 

Primitives array description.

Enumerator
type_unsigned_byte 
type_unsigned_short 
type_unsigned_int 
type_byte 
type_short 
type_int 
type_float 

Variable Documentation

const float clan::pixelcenter_constant = 0.375f