Crate tridify_rs

Source

Macros§

vertex

Structs§

Binder
Group of uniforms and buffers that are binded to the GPU. If location or binder type does not match with the binded shader it will panic.
Brush
Used to tell the GPU how to draw the shapes provided.
BrushDesc
Camera
Representation of camera to simplify matrices calculation
Color
RGBA representation of colors. Each value goes from 0 to 1.
FrameContext
Represents basic information for a given windows rendering frame.
GpuBuffer
Handle to a GPU buffer.
GpuCtx
Holds GPU context, devices, surfaces, etc. for a window. Must be used on most GPU related functions.
Mesh
Projection
Projection representation using field of view and aspect ratio.
Rect
RenderOptions
Rendering configuration on how to create and represent the given frame.
RenderPass
Manages the current frame being drawn.
RenderPassBuilder
Sampler
Representation on how a texture will be drawn into a shape.
ShapeBatch
ShapeBuffer
Texture
GPU texture handle.
TextureDesc
TextureUsage
Specifies how the texture will be used for optimizations.
Transform
Representation for position, rotation and scale.
Tridify
Root struct which initializes WGPU, starts window management and handles application loop.
Vertex
Window
Desktop window representation. Stores it’s own GPU context and render loop.

Enums§

AlphaBlend
TextureSize

Traits§

ToBinder
Provides wgpu binding data for shaders.
ToGpuBuf