Click or drag to resize
Ab4d.SharpEngine logo

CubeMapLoader Class

Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesCubeMapLoader

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public static class CubeMapLoader

The CubeMapLoader type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateIndividualFaceImages Returns an array of GpuImages that are created from the given cube map image and shader the same memory but have different ImageView that points to a different cube map face. The indexes of the returned images are defined in the CubeMapLoaderCubeMapFaceNames enum.
Public methodStatic memberLoadCubeMap(String, VulkanDevice, IBitmapIO, String) Load cube map from a single path. The path can be either an image filename that follows CMFT (cubemap filtering tool; https://github.com/dariomanesku/cmft) naming convention, or path to directory that contains six image files that follow CMFT naming convention. Under this naming convention, image basenames end with face-specific suffices: _posx, _negx, _posy, _negy, _posz, and _negz. If the given path is an image filename, it is assumed that the same directory contains the remaining five images, and that they are named in the same way (same prefix and filename extension).
Public methodStatic memberLoadCubeMap(RawImageData, RawImageData, RawImageData, RawImageData, RawImageData, RawImageData, VulkanDevice, String) Load cube map from 6 per-face images.
Public methodStatic memberLoadCubeMap(String, String, String, String, String, String, VulkanDevice, IBitmapIO, String) Load cube map from 6 per-face images, as generated by the CMFT (cubemap filtering tool): cmft --input papermill.hdr --filter none --outputNum 1 --output0params tga,bgr8,facelist --output0 papermill (and then converted from TGA to PNG format).
Top
See Also