Classes
The following classes are available globally.
-
The
See more_ColorSizeChecktype acts as an owner of an underlying_CoglColorSizeCheckinstance. It provides the methods that can operate on this data type through_ColorSizeCheckProtocolconformance. Use_ColorSizeCheckas a strong reference or owner of a_CoglColorSizeCheckinstance.Declaration
Swift
open class _ColorSizeCheck : _ColorSizeCheckProtocol
-
The
See more_MatrixSizeChecktype acts as an owner of an underlying_CoglMatrixSizeCheckinstance. It provides the methods that can operate on this data type through_MatrixSizeCheckProtocolconformance. Use_MatrixSizeCheckas a strong reference or owner of a_CoglMatrixSizeCheckinstance.Declaration
Swift
open class _MatrixSizeCheck : _MatrixSizeCheckProtocol
-
The
See more_TextureVertexSizeChecktype acts as an owner of an underlying_CoglTextureVertexSizeCheckinstance. It provides the methods that can operate on this data type through_TextureVertexSizeCheckProtocolconformance. Use_TextureVertexSizeCheckas a strong reference or owner of a_CoglTextureVertexSizeCheckinstance.Declaration
Swift
open class _TextureVertexSizeCheck : _TextureVertexSizeCheckProtocol
-
The
See moreBitmaptype acts as an owner of an underlyingCoglBitmapinstance. It provides the methods that can operate on this data type throughBitmapProtocolconformance. UseBitmapas a strong reference or owner of aCoglBitmapinstance.Declaration
Swift
open class Bitmap : BitmapProtocol
-
A structure for holding a color definition. The contents of the CoglColor structure are private and should never by accessed directly.
The
See moreColortype acts as an owner of an underlyingCoglColorinstance. It provides the methods that can operate on this data type throughColorProtocolconformance. UseColoras a strong reference or owner of aCoglColorinstance.Declaration
Swift
open class Color : ColorProtocol
-
The
See moreEulertype acts as an owner of an underlyingCoglEulerinstance. It provides the methods that can operate on this data type throughEulerProtocolconformance. UseEuleras a strong reference or owner of aCoglEulerinstance.Declaration
Swift
open class Euler : EulerProtocol
-
The
See moreMaterialtype acts as an owner of an underlyingCoglMaterialinstance. It provides the methods that can operate on this data type throughMaterialProtocolconformance. UseMaterialas a strong reference or owner of aCoglMaterialinstance.Declaration
Swift
open class Material : MaterialProtocol
-
The
See moreMaterialLayertype acts as an owner of an underlyingCoglMaterialLayerinstance. It provides the methods that can operate on this data type throughMaterialLayerProtocolconformance. UseMaterialLayeras a strong reference or owner of aCoglMaterialLayerinstance.Declaration
Swift
open class MaterialLayer : MaterialLayerProtocol
-
A CoglMatrix holds a 4x4 transform matrix. This is a single precision, column-major matrix which means it is compatible with what OpenGL expects.
A CoglMatrix can represent transforms such as, rotations, scaling, translation, sheering, and linear projections. You can combine these transforms by multiplying multiple matrices in the order you want them applied.
The transformation of a vertex (x, y, z, w) by a CoglMatrix is given by:
x_new = xx * x + xy * y + xz * z + xw * w y_new = yx * x + yy * y + yz * z + yw * w z_new = zx * x + zy * y + zz * z + zw * w w_new = wx * x + wy * y + wz * z + ww * wWhere w is normally 1
<note>You must consider the members of the CoglMatrix structure read only, and all matrix modifications must be done via the cogl_matrix API. This allows Cogl to annotate the matrices internally. Violation of this will give undefined results. If you need to initialize a matrix with a constant other than the identity matrix you can use
cogl_matrix_init_from_array().</note>The
See moreMatrixtype acts as an owner of an underlyingCoglMatrixinstance. It provides the methods that can operate on this data type throughMatrixProtocolconformance. UseMatrixas a strong reference or owner of aCoglMatrixinstance.Declaration
Swift
open class Matrix : MatrixProtocol
-
The
See moreOffscreentype acts as an owner of an underlyingCoglOffscreeninstance. It provides the methods that can operate on this data type throughOffscreenProtocolconformance. UseOffscreenas a strong reference or owner of aCoglOffscreeninstance.Declaration
Swift
open class Offscreen : OffscreenProtocol
-
The
See moreQuaterniontype acts as an owner of an underlyingCoglQuaternioninstance. It provides the methods that can operate on this data type throughQuaternionProtocolconformance. UseQuaternionas a strong reference or owner of aCoglQuaternioninstance.Declaration
Swift
open class Quaternion : QuaternionProtocol
-
The
See moreTexturetype acts as an owner of an underlyingCoglTextureinstance. It provides the methods that can operate on this data type throughTextureProtocolconformance. UseTextureas a strong reference or owner of aCoglTextureinstance.Declaration
Swift
open class Texture : TextureProtocol
-
Used to specify vertex information when calling
cogl_polygon()The
See moreTextureVertextype acts as an owner of an underlyingCoglTextureVertexinstance. It provides the methods that can operate on this data type throughTextureVertexProtocolconformance. UseTextureVertexas a strong reference or owner of aCoglTextureVertexinstance.Declaration
Swift
open class TextureVertex : TextureVertexProtocol
View on GitHub
Install in Dash
Classes Reference