package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Gpu.TextureSource

Textures.

Sourcemodule Format : sig ... end

Texture formats.

Sourcemodule Usage : sig ... end

Texture usage.

Sourcemodule Dimension : sig ... end

Texture dimensions.

Sourcemodule View_dimension : sig ... end

Texture view dimensions.

Sourcemodule Aspect : sig ... end

Texture aspects.

Sourcemodule Storage : sig ... end

Storage textures.

Sourcemodule External : sig ... end

External textures.

Sourcemodule View : sig ... end

Texture views.

Sourcemodule Sample_type : sig ... end

Sample types.

Sourcemodule Binding_layout : sig ... end

Binding layouts.

Sourcemodule Descriptor : sig ... end

Texture descriptors.

Sourcetype t

The type for GPUTexture objects.

Sourceval create_view : ?descriptor:t -> t -> View.t

create_view t creates a view on t.

Sourceval destroy : t -> unit

destroy t destroys t.

Sourceval width : t -> int

width t is the width of t.

Sourceval height : t -> int

height t is the height of t.

Sourceval depth_or_array_layers : t -> int

depth t is the depth of t.

Sourceval mip_level_count : t -> int

mip_level_count t is the mip level count of t.

Sourceval sample_count : t -> int

sample_count t is the sample_count of t.

Sourceval dimension : t -> Dimension.t

dimension t is the dimension of t.

Sourceval format : t -> Format.t

format t is the format of t.

Sourceval usage : t -> Usage.t

usage t is the usage of t.