Crate mallumo [] [src]

Reexports

pub extern crate conrod as conrod_ext;
pub use mallumo_gls::*;

Modules

cgmath
conrod
glutin

Structs

AnisotropicVXGIModule

Holds all structures and pipelines required for Anisotropic VXGI.

App

Holds window and OpenGL context.

AppBuilder

Builder for App.

Brickpool

Compressed 3D texture of Sparse Voxel Octree.

BrickpoolModule

Holds pipelines used when working with Brickpools.

DefferedCollector

Holds textures with geometric data.

FreeCamera

Simple dynamic camera which is controlled with mouse and arrow keys.

GuiDrawCommand
GuiRenderer
GuiVertex

The Vertex type passed to the vertex shader.

Input

Combines Keyboard and Mouse state into one structure.

Keyboard

Describes which keys on keyboard are pressed or released.

Light

Combination of Light Parameter and cubemap Texture - shadowmap.

LightGroup

Multiple Lights, their Light Parameters are stored in one buffer.

LightParameter

GPU structure for light.

Mesh
MipmapOptions
Mouse

Describes position and previous position of cursor and state of mouse keys.

Node
NodeBuilder
Nodepool

Sparse octree of scene in whose nodes are pointers into brickpool.

NodepoolGenerator

Proxy structure for creating Nodepool.

NodepoolModule

Holds pipelines used when working with nodepool.

Primitive
PrimitiveParameters

Object parameters.

SMikkTSpaceContext
SMikkTSpaceInterface
SceneRenderer

Structure used to render scene supporting different modes for rendering.

Shape

Describes one single shape.

ShapeList

Describes multiple shapes. This structure contains data sufficient for drawing.

Skybox

Simple skybox texture holding its own internal state used for rendering.

SphereCamera

Simple camera which is controlled with mouse.

SpherePosition

Describes position with sphere coordinates.

Sun

Holds data for use on GPU.

SunModule

Holds pipelines for rendering shadowmaps and for rendering Sun(on unit sphere as cube).

SunPosition

Describes sun's position with sphere coordinates.

SunVectors

Linear space vector of Sun used for ortographic projection(shadows).

Unitization

This structure is used as unitization parameters. The box is axis aligned.

VXGIModule

Holds data and pipelines used in VXGI rendering.

Vertex
VoxelFragmentList

Contains buffers holding geometric data of voxel fragments from which are voxels constructed.

VoxelFragmentListGenerator

Proxy structure used for creating Voxel Fragment List.

VoxelFragmentListModule

Holds pipelines used when generating Voxel Fragment List.

Enums

BrickpoolType

Describes what kind of data Brickpool Holds.

ButtonState

Represents state of button.

LightPassMode

Determines which effects are applied.

TextureType

Determines the type of data of 3D voxel texture.

Constants

CUBE_INDICES

Cube indices describing how are CUBE_VERTICES ordered. Use these if you are viewing the cube from the outside or you don't use culling.

CUBE_VERTICES

Raw positions of cube vertices.

INVERTED_CUBE_INDICES

Cube indices describing how are CUBE_VERTICES ordererd. Use these if you are viewing the cube from the inside, e.g. skybox.

MODE_GEOMETRY
MODE_IMAGE
MODE_TEXT

Traits

Camera
WinitWindow

Types that have access to a glutin::Window and can provide the necessary dimensions and hidpi factor for converting glutin::Events to conrod::event::Input, as well as set the mouse cursor.

Functions

array_to_matrix4
build_brdf

Builds irradiance() function in glsl.

convert_event

A function for converting a glutin::Event to a conrod::event::Input.

convert_mouse_cursor

Convert a given conrod mouse cursor to the corresponding winit cursor type.

convert_window_event

A function for converting a glutin::WindowEvent to a conrod::event::Input.

convolute_irradiance

Crates diffuse IBL cubemap texture.

create_curl_2d_noise

Creates RGB 2D noise texture. (4th channel is unused)

create_diffuse_specular_ibl

Creates diffuse and speculer IBL cubemap Texture.

create_pw1_w1_w2_w4_3d_noise

Creates RGBA 3D noise texture.

create_w1_w2_w4_3d_noise

Creates RGB 3D noise texture. (4th channel is unused)

deindex_vertices
equirectangular_to_cubemap

Converts equirectangular image to its cubemap representation.

gamma_srgb_to_linear

Converts gamma (brightness) from sRGB to linear color space.

genTangSpace
genTangSpaceDefault
generate_cube

Generate cube. Pass the result into ShapeList constructors, e.g. from_shape().

generate_quad

Generate quad. Pass the result into ShapeList constructors, e.g. from_shape().

generate_tangents_deindexed
index_vertices
integrate_brdf

Creates BRDF integration(LUT) Texture.

load_gltf

Loads .gltf file and returns joined shapes. The result may be passed into ShapeList functions.

load_meshes
load_obj

Loads .obj file and returns joined shapes. The result may be passed into ShapeList functions.

map_key

Maps winit's key to a conrod Key.

map_mouse

Maps winit's mouse button to conrod's mouse button.

mikkt_get_normal
mikkt_get_num_faces
mikkt_get_num_vertices_of_face
mikkt_get_position
mikkt_get_texcoord
mikkt_set_tspace
mikkt_set_tspace_basic
prefilter_map

Creates specular IBL cubemap Texture.

unitize_model