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...
 

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< HalfFloatclan::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< Vec2bclan::PixelBufferLock2b
 
typedef PixelBufferLock< Vec2dclan::PixelBufferLock2d
 
typedef PixelBufferLock< Vec2fclan::PixelBufferLock2f
 
typedef PixelBufferLock< Vec2hfclan::PixelBufferLock2hf
 
typedef PixelBufferLock< Vec2iclan::PixelBufferLock2i
 
typedef PixelBufferLock< Vec2sclan::PixelBufferLock2s
 
typedef PixelBufferLock< Vec2ubclan::PixelBufferLock2ub
 
typedef PixelBufferLock< Vec2uiclan::PixelBufferLock2ui
 
typedef PixelBufferLock< Vec2usclan::PixelBufferLock2us
 
typedef PixelBufferLock< Vec3bclan::PixelBufferLock3b
 
typedef PixelBufferLock< Vec3dclan::PixelBufferLock3d
 
typedef PixelBufferLock< Vec3fclan::PixelBufferLock3f
 
typedef PixelBufferLock< Vec3hfclan::PixelBufferLock3hf
 
typedef PixelBufferLock< Vec3iclan::PixelBufferLock3i
 
typedef PixelBufferLock< Vec3sclan::PixelBufferLock3s
 
typedef PixelBufferLock< Vec3ubclan::PixelBufferLock3ub
 
typedef PixelBufferLock< Vec3uiclan::PixelBufferLock3ui
 
typedef PixelBufferLock< Vec3usclan::PixelBufferLock3us
 
typedef PixelBufferLock< Vec4bclan::PixelBufferLock4b
 
typedef PixelBufferLock< Vec4dclan::PixelBufferLock4d
 
typedef PixelBufferLock< Vec4fclan::PixelBufferLock4f
 
typedef PixelBufferLock< Vec4hfclan::PixelBufferLock4hf
 
typedef PixelBufferLock< Vec4iclan::PixelBufferLock4i
 
typedef PixelBufferLock< Vec4sclan::PixelBufferLock4s
 
typedef PixelBufferLock< Vec4ubclan::PixelBufferLock4ub
 
typedef PixelBufferLock< Vec4uiclan::PixelBufferLock4ui
 
typedef PixelBufferLock< Vec4usclan::PixelBufferLock4us
 
typedef PixelBufferLock< unsigned char > clan::PixelBufferLockAny
 

Enumerations

enum class  clan::BlendEquation {
  clan::BlendEquation::add , clan::BlendEquation::subtract , clan::BlendEquation::reverse_subtract , clan::BlendEquation::min ,
  clan::BlendEquation::max
}
 Blending equations. More...
 
enum class  clan::BlendFunc {
  clan::BlendFunc::zero , clan::BlendFunc::one , clan::BlendFunc::dest_color , clan::BlendFunc::src_color ,
  clan::BlendFunc::one_minus_dest_color , clan::BlendFunc::one_minus_src_color , clan::BlendFunc::src_alpha , clan::BlendFunc::one_minus_src_alpha ,
  clan::BlendFunc::dest_alpha , clan::BlendFunc::one_minus_dest_alpha , clan::BlendFunc::src_alpha_saturate , clan::BlendFunc::constant_color ,
  clan::BlendFunc::one_minus_constant_color , clan::BlendFunc::constant_alpha , clan::BlendFunc::one_minus_constant_alpha
}
 Blending functions. More...
 
enum class  clan::BufferAccess { clan::BufferAccess::read_only , clan::BufferAccess::write_only , clan::BufferAccess::read_write , clan::BufferAccess::write_discard }
 Array Buffer access enum. More...
 
enum class  clan::BufferUsage {
  clan::BufferUsage::stream_draw , clan::BufferUsage::stream_read , clan::BufferUsage::stream_copy , clan::BufferUsage::static_draw ,
  clan::BufferUsage::static_read , clan::BufferUsage::static_copy , clan::BufferUsage::dynamic_draw , clan::BufferUsage::dynamic_read ,
  clan::BufferUsage::dynamic_copy
}
 Array Buffer usage enum. More...
 
enum class  clan::CompareFunction {
  clan::CompareFunction::lequal , clan::CompareFunction::gequal , clan::CompareFunction::less , clan::CompareFunction::greater ,
  clan::CompareFunction::equal , clan::CompareFunction::notequal , clan::CompareFunction::always , clan::CompareFunction::never
}
 Compare functions. More...
 
enum class  clan::CullMode { clan::CullMode::front , clan::CullMode::back , clan::CullMode::front_and_back }
 Polygon culling modes. More...
 
enum class  clan::DrawBuffer {
  clan::DrawBuffer::none , clan::DrawBuffer::front_left , clan::DrawBuffer::front_right , clan::DrawBuffer::back_left ,
  clan::DrawBuffer::back_right , clan::DrawBuffer::front , clan::DrawBuffer::back , clan::DrawBuffer::left ,
  clan::DrawBuffer::right , clan::DrawBuffer::front_and_back
}
 Drawing buffers. More...
 
enum class  clan::FaceSide { clan::FaceSide::clockwise , clan::FaceSide::counter_clockwise }
 Front face modes. More...
 
enum class  clan::FillMode { clan::FillMode::point , clan::FillMode::line , clan::FillMode::polygon }
 Polygon filling modes. More...
 
enum class  clan::FrameBufferBindTarget { clan::FrameBufferBindTarget::draw , clan::FrameBufferBindTarget::read }
 Framebuffer bind target. More...
 
enum class  clan::LogicOp {
  clan::LogicOp::_clear , clan::LogicOp::_and , clan::LogicOp::_and_reverse , clan::LogicOp::_copy ,
  clan::LogicOp::_and_inverted , clan::LogicOp::_noop , clan::LogicOp::_xor , clan::LogicOp::_or ,
  clan::LogicOp::_nor , clan::LogicOp::_equiv , clan::LogicOp::_invert , clan::LogicOp::_or_reverse ,
  clan::LogicOp::_copy_inverted , clan::LogicOp::_or_inverted , clan::LogicOp::_nand , clan::LogicOp::_set
}
 Logic Op. More...
 
enum class  clan::MapMode { clan::MapMode::_2d_upper_left , clan::MapMode::_2d_lower_left , clan::MapMode::_user_projection }
 Mapping modes. More...
 
enum class  clan::PixelBufferDirection { clan::PixelBufferDirection::data_to_gpu , clan::PixelBufferDirection::data_from_gpu }
 Pixel buffer prefered direction. More...
 
enum class  clan::PointSpriteOrigin { clan::PointSpriteOrigin::upper_left , clan::PointSpriteOrigin::lower_left }
 Point Sprite Origin. More...
 
enum class  clan::PrimitivesType {
  clan::PrimitivesType::points , clan::PrimitivesType::line_strip , clan::PrimitivesType::line_loop , clan::PrimitivesType::lines ,
  clan::PrimitivesType::triangle_strip , clan::PrimitivesType::triangle_fan , clan::PrimitivesType::triangles
}
 Primitive types. More...
 
enum class  clan::ShaderLanguage { clan::ShaderLanguage::glsl , clan::ShaderLanguage::hlsl , clan::ShaderLanguage::fixed_function , clan::ShaderLanguage::num_shader_languages }
 Shader language used. More...
 
enum class  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 class  clan::StandardProgram { clan::StandardProgram::color_only , clan::StandardProgram::single_texture , clan::StandardProgram::sprite , clan::StandardProgram::path }
 Standard Program. More...
 
enum class  clan::StencilOp {
  clan::StencilOp::keep , clan::StencilOp::zero , clan::StencilOp::replace , clan::StencilOp::incr ,
  clan::StencilOp::decr , clan::StencilOp::invert , clan::StencilOp::incr_wrap , clan::StencilOp::decr_wrap
}
 Stencil operations. More...
 
enum class  clan::TextureCompareMode { clan::TextureCompareMode::none , clan::TextureCompareMode::compare_r_to_texture }
 Texture compare modes. More...
 
enum class  clan::TextureCubeDirection {
  clan::TextureCubeDirection::positive_x , clan::TextureCubeDirection::negative_x , clan::TextureCubeDirection::positive_y , clan::TextureCubeDirection::negative_y ,
  clan::TextureCubeDirection::positive_z , clan::TextureCubeDirection::negative_z
}
 Texture cube directions. More...
 
enum class  clan::TextureDimensions {
  clan::TextureDimensions::_1d , clan::TextureDimensions::_1d_array , clan::TextureDimensions::_2d , clan::TextureDimensions::_2d_array ,
  clan::TextureDimensions::_3d , clan::TextureDimensions::_cube , clan::TextureDimensions::_cube_array
}
 Texture dimensions. More...
 
enum class  clan::TextureFilter {
  clan::TextureFilter::nearest , clan::TextureFilter::linear , clan::TextureFilter::nearest_mipmap_nearest , clan::TextureFilter::nearest_mipmap_linear ,
  clan::TextureFilter::linear_mipmap_nearest , clan::TextureFilter::linear_mipmap_linear
}
 Texture filters. More...
 
enum class  clan::TextureFormat {
  clan::TextureFormat::rgba8 , clan::TextureFormat::rgb8 , clan::TextureFormat::bgra8 , clan::TextureFormat::bgr8 ,
  clan::TextureFormat::stencil_index1 , clan::TextureFormat::stencil_index4 , clan::TextureFormat::stencil_index8 , clan::TextureFormat::stencil_index16 ,
  clan::TextureFormat::r8 , clan::TextureFormat::r8_snorm , clan::TextureFormat::r16 , clan::TextureFormat::r16_snorm ,
  clan::TextureFormat::rg8 , clan::TextureFormat::rg8_snorm , clan::TextureFormat::rg16 , clan::TextureFormat::rg16_snorm ,
  clan::TextureFormat::r3_g3_b2 , clan::TextureFormat::rgb4 , clan::TextureFormat::rgb5 , clan::TextureFormat::rgb8_snorm ,
  clan::TextureFormat::rgb10 , clan::TextureFormat::rgb12 , clan::TextureFormat::rgb16 , clan::TextureFormat::rgb16_snorm ,
  clan::TextureFormat::rgba2 , clan::TextureFormat::rgba4 , clan::TextureFormat::rgb5_a1 , clan::TextureFormat::rgba8_snorm ,
  clan::TextureFormat::rgb10_a2 , clan::TextureFormat::rgba12 , clan::TextureFormat::rgba16 , clan::TextureFormat::rgba16_snorm ,
  clan::TextureFormat::srgb8 , clan::TextureFormat::srgb8_alpha8 , clan::TextureFormat::r16f , clan::TextureFormat::rg16f ,
  clan::TextureFormat::rgb16f , clan::TextureFormat::rgba16f , clan::TextureFormat::r32f , clan::TextureFormat::rg32f ,
  clan::TextureFormat::rgb32f , clan::TextureFormat::rgba32f , clan::TextureFormat::r11f_g11f_b10f , clan::TextureFormat::rgb9_e5 ,
  clan::TextureFormat::r8i , clan::TextureFormat::r8ui , clan::TextureFormat::r16i , clan::TextureFormat::r16ui ,
  clan::TextureFormat::r32i , clan::TextureFormat::r32ui , clan::TextureFormat::rg8i , clan::TextureFormat::rg8ui ,
  clan::TextureFormat::rg16i , clan::TextureFormat::rg16ui , clan::TextureFormat::rg32i , clan::TextureFormat::rg32ui ,
  clan::TextureFormat::rgb8i , clan::TextureFormat::rgb8ui , clan::TextureFormat::rgb16i , clan::TextureFormat::rgb16ui ,
  clan::TextureFormat::rgb32i , clan::TextureFormat::rgb32ui , clan::TextureFormat::rgba8i , clan::TextureFormat::rgba8ui ,
  clan::TextureFormat::rgba16i , clan::TextureFormat::rgba16ui , clan::TextureFormat::rgba32i , clan::TextureFormat::rgba32ui ,
  clan::TextureFormat::depth_component16 , clan::TextureFormat::depth_component24 , clan::TextureFormat::depth_component32 , clan::TextureFormat::depth_component32f ,
  clan::TextureFormat::depth24_stencil8 , clan::TextureFormat::depth32f_stencil8 , clan::TextureFormat::compressed_red , clan::TextureFormat::compressed_rg ,
  clan::TextureFormat::compressed_rgb , clan::TextureFormat::compressed_rgba , clan::TextureFormat::compressed_srgb , clan::TextureFormat::compressed_srgb_alpha ,
  clan::TextureFormat::compressed_red_rgtc1 , clan::TextureFormat::compressed_signed_red_rgtc1 , clan::TextureFormat::compressed_rg_rgtc2 , clan::TextureFormat::compressed_signed_rg_rgtc2 ,
  clan::TextureFormat::compressed_rgb_s3tc_dxt1 , clan::TextureFormat::compressed_rgba_s3tc_dxt1 , clan::TextureFormat::compressed_rgba_s3tc_dxt3 , clan::TextureFormat::compressed_rgba_s3tc_dxt5 ,
  clan::TextureFormat::compressed_srgb_s3tc_dxt1 , clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt1 , clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt3 , clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt5
}
 Texture format. More...
 
enum class  clan::TextureImageYAxis { clan::TextureImageYAxis::y_bottom_up , clan::TextureImageYAxis::y_top_down }
 Y axis direction for viewports, clipping rects, textures and render targets. More...
 
enum class  clan::TextureSubtype {
  clan::TextureSubtype::cube_map_positive_x , clan::TextureSubtype::cube_map_negative_x , clan::TextureSubtype::cube_map_positive_y , clan::TextureSubtype::cube_map_negative_y ,
  clan::TextureSubtype::cube_map_positive_z , clan::TextureSubtype::cube_map_negative_z
}
 Texture Subtype. More...
 
enum class  clan::TextureWrapMode { clan::TextureWrapMode::clamp_to_edge , clan::TextureWrapMode::repeat , clan::TextureWrapMode::mirrored_repeat }
 Texture coordinate wrapping modes. More...
 
enum class  clan::VertexAttributeDataType {
  clan::VertexAttributeDataType::type_unsigned_byte , clan::VertexAttributeDataType::type_unsigned_short , clan::VertexAttributeDataType::type_unsigned_int , clan::VertexAttributeDataType::type_byte ,
  clan::VertexAttributeDataType::type_short , clan::VertexAttributeDataType::type_int , clan::VertexAttributeDataType::type_float
}
 Primitives array description. More...
 

Variables

const float clan::pixelcenter_constant = 0.375f
 

Detailed Description

Macro Definition Documentation

◆ cl_offsetof

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

Typedef Documentation

◆ PixelBufferLock1b

◆ PixelBufferLock1d

◆ PixelBufferLock1f

◆ PixelBufferLock1hf

◆ PixelBufferLock1i

◆ PixelBufferLock1s

◆ PixelBufferLock1ub

typedef PixelBufferLock<unsigned char> clan::PixelBufferLock1ub

◆ PixelBufferLock1ui

◆ PixelBufferLock1us

typedef PixelBufferLock<unsigned short> clan::PixelBufferLock1us

◆ PixelBufferLock2b

◆ PixelBufferLock2d

◆ PixelBufferLock2f

◆ PixelBufferLock2hf

◆ PixelBufferLock2i

◆ PixelBufferLock2s

◆ PixelBufferLock2ub

◆ PixelBufferLock2ui

◆ PixelBufferLock2us

◆ PixelBufferLock3b

◆ PixelBufferLock3d

◆ PixelBufferLock3f

◆ PixelBufferLock3hf

◆ PixelBufferLock3i

◆ PixelBufferLock3s

◆ PixelBufferLock3ub

◆ PixelBufferLock3ui

◆ PixelBufferLock3us

◆ PixelBufferLock4b

◆ PixelBufferLock4d

◆ PixelBufferLock4f

◆ PixelBufferLock4hf

◆ PixelBufferLock4i

◆ PixelBufferLock4s

◆ PixelBufferLock4ub

◆ PixelBufferLock4ui

◆ PixelBufferLock4us

◆ PixelBufferLockAny

typedef PixelBufferLock<unsigned char> clan::PixelBufferLockAny

Enumeration Type Documentation

◆ BlendEquation

enum class clan::BlendEquation
strong

Blending equations.

Enumerator
add 
subtract 
reverse_subtract 
min 
max 

◆ BlendFunc

enum class clan::BlendFunc
strong

Blending functions.

Enumerator
zero 

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

one 

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

dest_color 

source (Rd, Gd, Bd, Ad)

src_color 

destination (Rs, Gs, Bs, As)

one_minus_dest_color 

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

one_minus_src_color 

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

src_alpha 

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

one_minus_src_alpha 

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

dest_alpha 

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

one_minus_dest_alpha 

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

src_alpha_saturate 

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

constant_color 

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

one_minus_constant_color 

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

constant_alpha 

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

one_minus_constant_alpha 

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

◆ BufferAccess

enum class clan::BufferAccess
strong

Array Buffer access enum.

Enumerator
read_only 
write_only 
read_write 
write_discard 

◆ BufferUsage

enum class clan::BufferUsage
strong

Array Buffer usage enum.

Enumerator
stream_draw 
stream_read 
stream_copy 
static_draw 
static_read 
static_copy 
dynamic_draw 
dynamic_read 
dynamic_copy 

◆ CompareFunction

enum class clan::CompareFunction
strong

Compare functions.

Enumerator
lequal 
gequal 
less 
greater 
equal 
notequal 
always 
never 

◆ CullMode

enum class clan::CullMode
strong

Polygon culling modes.

Enumerator
front 
back 
front_and_back 

◆ DrawBuffer

enum class clan::DrawBuffer
strong

Drawing buffers.

Enumerator
none 
front_left 
front_right 
back_left 
back_right 
front 
back 
left 
right 
front_and_back 

◆ FaceSide

enum class clan::FaceSide
strong

Front face modes.

Enumerator
clockwise 
counter_clockwise 

◆ FillMode

enum class clan::FillMode
strong

Polygon filling modes.

Enumerator
point 
line 
polygon 

◆ FrameBufferBindTarget

enum class clan::FrameBufferBindTarget
strong

Framebuffer bind target.

Enumerator
draw 
read 

◆ LogicOp

enum class clan::LogicOp
strong

Logic Op.

Enumerator
_clear 
_and 
_and_reverse 
_copy 
_and_inverted 
_noop 
_xor 
_or 
_nor 
_equiv 
_invert 
_or_reverse 
_copy_inverted 
_or_inverted 
_nand 
_set 

◆ MapMode

enum class clan::MapMode
strong

Mapping modes.

Enumerator
_2d_upper_left 
_2d_lower_left 
_user_projection 

◆ PixelBufferDirection

enum class clan::PixelBufferDirection
strong

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.

◆ PointSpriteOrigin

enum class clan::PointSpriteOrigin
strong

Point Sprite Origin.

Enumerator
upper_left 
lower_left 

◆ PrimitivesType

enum class clan::PrimitivesType
strong

Primitive types.

Enumerator
points 
line_strip 
line_loop 
lines 
triangle_strip 
triangle_fan 
triangles 

◆ ShaderLanguage

enum class clan::ShaderLanguage
strong

Shader language used.

Enumerator
glsl 
hlsl 
fixed_function 
num_shader_languages 

◆ ShaderType

enum class clan::ShaderType
strong

Shader Type.

Enumerator
vertex 
geometry 
fragment 
tess_evaluation 
tess_control 
compute 
num_types 

◆ StandardProgram

enum class clan::StandardProgram
strong

Standard Program.

Enumerator
color_only 
single_texture 
sprite 
path 

◆ StencilOp

enum class clan::StencilOp
strong

Stencil operations.

Enumerator
keep 
zero 
replace 
incr 
decr 
invert 
incr_wrap 
decr_wrap 

◆ TextureCompareMode

enum class clan::TextureCompareMode
strong

Texture compare modes.

Enumerator
none 
compare_r_to_texture 

◆ TextureCubeDirection

enum class clan::TextureCubeDirection
strong

Texture cube directions.

Enumerator
positive_x 
negative_x 
positive_y 
negative_y 
positive_z 
negative_z 

◆ TextureDimensions

enum class clan::TextureDimensions
strong

Texture dimensions.

Enumerator
_1d 
_1d_array 
_2d 
_2d_array 
_3d 
_cube 
_cube_array 

◆ TextureFilter

enum class clan::TextureFilter
strong

Texture filters.

Enumerator
nearest 
linear 
nearest_mipmap_nearest 
nearest_mipmap_linear 
linear_mipmap_nearest 
linear_mipmap_linear 

◆ TextureFormat

enum class clan::TextureFormat
strong

Texture format.

Enumerator
rgba8 
rgb8 
bgra8 
bgr8 
stencil_index1 
stencil_index4 
stencil_index8 
stencil_index16 
r8 
r8_snorm 
r16 
r16_snorm 
rg8 
rg8_snorm 
rg16 
rg16_snorm 
r3_g3_b2 
rgb4 
rgb5 
rgb8_snorm 
rgb10 
rgb12 
rgb16 
rgb16_snorm 
rgba2 
rgba4 
rgb5_a1 
rgba8_snorm 
rgb10_a2 
rgba12 
rgba16 
rgba16_snorm 
srgb8 
srgb8_alpha8 
r16f 
rg16f 
rgb16f 
rgba16f 
r32f 
rg32f 
rgb32f 
rgba32f 
r11f_g11f_b10f 
rgb9_e5 
r8i 
r8ui 
r16i 
r16ui 
r32i 
r32ui 
rg8i 
rg8ui 
rg16i 
rg16ui 
rg32i 
rg32ui 
rgb8i 
rgb8ui 
rgb16i 
rgb16ui 
rgb32i 
rgb32ui 
rgba8i 
rgba8ui 
rgba16i 
rgba16ui 
rgba32i 
rgba32ui 
depth_component16 
depth_component24 
depth_component32 
depth_component32f 
depth24_stencil8 
depth32f_stencil8 
compressed_red 
compressed_rg 
compressed_rgb 
compressed_rgba 
compressed_srgb 
compressed_srgb_alpha 
compressed_red_rgtc1 
compressed_signed_red_rgtc1 
compressed_rg_rgtc2 
compressed_signed_rg_rgtc2 
compressed_rgb_s3tc_dxt1 
compressed_rgba_s3tc_dxt1 
compressed_rgba_s3tc_dxt3 
compressed_rgba_s3tc_dxt5 
compressed_srgb_s3tc_dxt1 
compressed_srgb_alpha_s3tc_dxt1 
compressed_srgb_alpha_s3tc_dxt3 
compressed_srgb_alpha_s3tc_dxt5 

◆ TextureImageYAxis

enum class clan::TextureImageYAxis
strong

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

Enumerator
y_bottom_up 

OpenGL, origin is lower left with Y going upwards.

y_top_down 

Direct3D, origin is upper left with Y going downwards.

◆ TextureSubtype

enum class clan::TextureSubtype
strong

Texture Subtype.

Enumerator
cube_map_positive_x 
cube_map_negative_x 
cube_map_positive_y 
cube_map_negative_y 
cube_map_positive_z 
cube_map_negative_z 

◆ TextureWrapMode

enum class clan::TextureWrapMode
strong

Texture coordinate wrapping modes.

Enumerator
clamp_to_edge 
repeat 
mirrored_repeat 

◆ VertexAttributeDataType

enum class clan::VertexAttributeDataType
strong

Primitives array description.

Enumerator
type_unsigned_byte 
type_unsigned_short 
type_unsigned_int 
type_byte 
type_short 
type_int 
type_float 

Variable Documentation

◆ pixelcenter_constant

const float clan::pixelcenter_constant = 0.375f