Crate ux::prelude::dx [−][src]
Structs
Enums
AttributeType | Data types for the components of a vertex attribute. |
BitmapError | Error codes that can be thrown when performing bitmap
operations. Note that |
BlendStringError | Error enumeration for the blend strings parser |
BufferError | Error enumeration for |
BufferUpdateHint | The update hint on a buffer allows the user to give some detail on how often the buffer data is going to be updated. |
DepthTestFunction | When using depth testing one of these functions is used to compare
the depth of an incoming fragment against the depth value currently
stored in the depth buffer. The function is changed using
|
Driver | Identifiers for underlying hardware drivers that may be used by Cogl for rendering. |
FeatureID | All the capabilities that can vary between different GPUs supported
by Cogl. Applications that depend on any of these features should explicitly
check for them using |
FilterReturn | Return values for the |
FogMode | The fog mode determines the equation used to calculate the fogging blend
factor while fogging is enabled. The simplest |
FrameEvent | Identifiers that are passed to |
FramebufferError | |
GLES2ContextError | Error codes that relate to the gles2_context api. |
IndicesType | You should aim to use the smallest data type that gives you enough range, since it reduces the size of your index array and can help reduce the demand on memory bandwidth. |
MaterialAlphaFunc | Alpha testing happens before blending primitives with the framebuffer and
gives an opportunity to discard fragments based on a comparison with the
incoming alpha value and a reference alpha value. The |
MaterialFilter | Texture filtering is used whenever the current pixel maps either to more than one texture element (texel) or less than one. These filter enums correspond to different strategies used to come up with a pixel color, by possibly referring to multiple neighbouring texels and taking a weighted average or simply using the nearest texel. |
MaterialLayerType | Available types of layers for a |
MaterialWrapMode | The wrap mode specifies what happens when texture coordinates
outside the range 0→1 are used. Note that if the filter mode is
anything but |
PipelineAlphaFunc | Alpha testing happens before blending primitives with the framebuffer and
gives an opportunity to discard fragments based on a comparison with the
incoming alpha value and a reference alpha value. The |
PipelineCullFaceMode | Specifies which faces should be culled. This can be set on a
pipeline using |
PipelineFilter | Texture filtering is used whenever the current pixel maps either to more than one texture element (texel) or less than one. These filter enums correspond to different strategies used to come up with a pixel color, by possibly referring to multiple neighbouring texels and taking a weighted average or simply using the nearest texel. |
PipelineWrapMode | The wrap mode specifies what happens when texture coordinates
outside the range 0→1 are used. Note that if the filter mode is
anything but |
PixelFormat | Pixel formats used by Cogl. For the formats with a byte per
component, the order of the components specify the order in
increasing memory addresses. So for example
|
PollFDEvent | A bitmask of events that Cogl may need to wake on for a file descriptor. Note that these all have the same values as the corresponding defines for the poll function call on Unix so they may be directly passed to poll. |
RendererError | |
ShaderType | Types of shaders |
SnippetHook |
|
StereoMode | Represents how draw should affect the two buffers
of a stereo framebuffer. See |
SubpixelOrder | Some output devices (such as LCD panels) display colors by making each pixel consist of smaller “subpixels” that each have a particular color. By using knowledge of the layout of this subpixel components, it is possible to create image content with higher resolution than the pixel grid. |
SystemError | Error enumeration for Cogl |
TextureComponents | See |
TextureError | Error codes that can be thrown when allocating textures. |
TexturePixmapX11Error | Error codes that can be thrown when performing texture-pixmap-x11 operations. |
TexturePixmapX11ReportLevel | |
TextureType | Constants representing the underlying hardware texture type of a
|
VerticesMode | Different ways of interpreting vertices when drawing. |
Winding | Enum used to represent the two directions of rotation. This can be
used to set the front face for culling by calling
|
WinsysFeature | |
WinsysID | Identifies specific window system backends that Cogl supports. |
Traits
FramebufferExt | Trait containing all |
ObjectExt | Trait containing all |
TextureExt | Trait containing all |
Functions
source_new |
Type Definitions
Angle | |
Buffer | |
MetaTexture | |
PrimitiveTexture | |
UserDataDestroyCallback |