# maplibre::render::resource - Rust
Utilities which holds references to GPU-owned. Usually a resource is a wrapper which makes using buffers or textures simpler.

# Module maplibre::render::resource

source ·
Expand description

Utilities which holds references to GPU-owned. Usually a resource is a wrapper which makes using buffers or textures simpler.

## Modules

- buffer 🔒
- pipeline 🔒
  Utility for creating RenderPipelines
- shader 🔒
  Utilities for creating shader states.
- surface 🔒
  Utilities for handling surfaces which can be either headless or headed. A headed surface has a handle to a window. A headless surface renders to a texture.
- texture 🔒
  Utility for a texture view which can either be created by a `TextureView` or `SurfaceTexture`
- tile_pipeline 🔒
  Utility for declaring pipelines.
- tracked_render_pass 🔒
  A render pass which allows tracking, for example using a tracing framework.

## Structs

- BackingBufferDescriptor
- BufferDimensions
- BufferedTextureHead
- FragmentState
  Describes the fragment process in a render pipeline.
- RenderPipelineDescriptor
- Surface
- Texture
- TilePipeline
- TrackedRenderPass
  A [`RenderPass`], which tracks the current pipeline state to ensure all draw calls are valid. It is used to set the current [`RenderPipeline`], `BindGroups` and buffers. After all requirements are specified, draw calls can be issued.
- VertexBufferLayout
  Describes how the vertex buffer is interpreted.
- VertexState
- WindowHead

## Enums

- Head
- TextureView
  Describes a `TextureView`.

## Traits

- Queue
- RenderPipeline