NcEngine
DefaultAssets.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "ncasset/AssetType.h"
11
12#include <span>
13#include <string_view>
14
15namespace nc::asset
16{
18constexpr auto PlaneMesh = "default/plane.nca";
19
21constexpr auto CubeMesh = "default/cube.nca";
22
24constexpr auto SphereMesh = "default/sphere.nca";
25
27constexpr auto CapsuleMesh = "default/capsule.nca";
28
30constexpr auto SkyboxMesh = "default/skybox.nca";
31
33constexpr auto WheelMesh = "default/wheel.nca";
34
36constexpr auto DefaultBaseColor = "default/color.nca";
37
39constexpr auto DefaultNormal = "default/normal.nca";
40
42constexpr auto DefaultParticle = "default/particle.nca";
43
45constexpr auto DefaultSkeletalAnimation = "default/cube.nca";
46
48constexpr auto DefaultSkyboxCubeMap = "default/skybox.nca";
49
51constexpr auto DefaultAudioClip = "default/silence.nca";
52
54constexpr auto DefaultMeshCollider = "default/plane.nca";
55
57constexpr auto DefaultConvexHull = "default/cube.nca";
58
60auto GetDefaultAudioClipPaths() -> std::span<const std::string_view>;
61auto GetDefaultConvexHullPaths() -> std::span<const std::string_view>;
62auto GetDefaultCubeMapPaths() -> std::span<const std::string_view>;
63auto GetDefaultMeshPaths() -> std::span<const std::string_view>;
64auto GetDefaultMeshColliderPaths() -> std::span<const std::string_view>;
65auto GetDefaultSkeletalAnimationPaths() -> std::span<const std::string_view>;
66auto GetDefaultTexturePaths() -> std::span<const std::string_view>;
67} // namespace nc::asset
constexpr auto WheelMesh
Name of the default wheel mesh asset.
Definition: DefaultAssets.h:33
constexpr auto DefaultMeshCollider
Name of the default plane-shaped mesh collider asset.
Definition: DefaultAssets.h:54
constexpr auto DefaultConvexHull
Name of the default cube-shaped convex hull asset.
Definition: DefaultAssets.h:57
constexpr auto CubeMesh
Name of the default cube mesh asset.
Definition: DefaultAssets.h:21
constexpr auto SkyboxMesh
Name of the default skybox mesh asset.
Definition: DefaultAssets.h:30
constexpr auto DefaultSkyboxCubeMap
Name of the default skybox cubemap asset.
Definition: DefaultAssets.h:48
constexpr auto CapsuleMesh
Name of the default capsule mesh asset.
Definition: DefaultAssets.h:27
constexpr auto DefaultBaseColor
Name of the default base color texture asset.
Definition: DefaultAssets.h:36
constexpr auto DefaultParticle
Name of the default particle texture asset.
Definition: DefaultAssets.h:42
constexpr auto SphereMesh
Name of the default sphere mesh asset.
Definition: DefaultAssets.h:24
constexpr auto PlaneMesh
Name of the default plane mesh asset.
Definition: DefaultAssets.h:18
constexpr auto DefaultNormal
Name of the default normal texture asset.
Definition: DefaultAssets.h:39
constexpr auto DefaultSkeletalAnimation
Name of the default skeletal animation asset; a spinning cube.
Definition: DefaultAssets.h:45
constexpr auto DefaultAudioClip
Name of the default empty audio clip asset.
Definition: DefaultAssets.h:51