NcEngine
|
#include "ncengine/graphics/Curve.h"
#include "ncengine/graphics/Material.h"
#include "ncengine/graphics/PostProcess.h"
#include <span>
#include <string_view>
Go to the source code of this file.
Classes | |
struct | nc::MiscPassFlag |
Pass flags that represent Miscellaneous passes. More... | |
Enumerations | |
enum class | nc::TextureViewType : uint8_t { None , ColorSink , DepthSink , UniShadowSink , PointShadowSink , Asset , PostProcess } |
Texture view types used throughout NcEngine. | |
Functions | |
auto | nc::AdjustDimensionsToAspectRatio (const nc::Vector2 &dimensions) -> nc::Vector2 |
Calculate the maximum region conforming to nc::AspectRatio that fits within dimensions. | |
auto | nc::GetMaterialPassNames () -> std::span< const std::string_view > |
Returns a view of all material pass names, ordered by ascending flag value. | |
auto | nc::GetMaterialPassFlags () -> std::span< const MaterialPassFlag::type > |
Returns a view of all material pass flags, ordered by ascending flag value. | |
auto | nc::GetMiscsPassFlags () -> std::span< const MiscPassFlag::type > |
Returns a view of all miscellaneous pass flags, ordered by ascending flag value. | |
auto | nc::GetPostProcessPassNames () -> std::span< const std::string_view > |
Returns a view of all post process pass names, ordered by ascending flag value. | |
auto | nc::GetPostProcessPassFlags () -> std::span< const PostProcessPassFlag::type > |
Returns a view of all post process pass flags, ordered by ascending flag value. | |
auto | nc::GetPostProcessPassName (PostProcessPassFlag::type pass) -> std::string_view |
Returns the name of a post process pass. | |
auto | nc::GetPostProcessEffectNames () -> std::span< const std::string_view > |
Returns a view of all post process effect names, ordered by ascending flag value. | |
auto | nc::GetPostProcessEffectIds () -> std::span< const PostProcessEffectId > |
Returns a view of all post process effect ids, ordered by ascending id value. | |
auto | nc::GetPostProcessEffectPassFlags (PostProcessEffectId effectId) -> std::span< const PostProcessPassFlag::type > |
Returns a view of the post process passes used by an effect, ordered by ascending flag value. | |
auto | nc::GetCombinedPostProcessEffectPassFlags (PostProcessEffectId effectId) -> PostProcessEffectPassFlags |
Returns the combined post process pass flags used by an effect. | |
auto | nc::ToString (CurveType curve) -> std::string_view |
Return a string name for a given CurveType. | |
auto | nc::ToCurveType (std::string_view curveName) -> CurveType |
Convert a string to a CurveType. | |
auto | nc::GetCurveTypeNames () -> std::span< const std::string_view > |
Returns a view of all CurveType names. | |
Variables | |
constexpr auto | nc::AspectRatio = 16.0f / 9.0f |
Default aspect ratio. | |