|
Triton
Visual simulation library for ocean rendering.
|
The public interface for setting Triton's environmental parameters. More...
#include "TritonCommon.h"#include "ResourceLoader.h"#include "RandomNumberGenerator.h"#include "WindFetch.h"#include "Matrix3.h"#include "Matrix4.h"#include "OrientedBoundingBox.h"#include "CoordinateSystem.h"#include "TritonMap.h"#include "TritonVector.h"#include "TritonSet.h"

Go to the source code of this file.
Classes | |
| class | Triton::BreakingWavesParameters |
| Parameters to control behavior of breaking waves at shorelines, used by Environment::SetBreakingWaves(). More... | |
| class | Triton::SwellDescription |
| A structure containing a description of a swell in addition to local wind waves (from a distant storm perhaps.) More... | |
| class | Triton::Environment |
| Triton's public interface for specifying the environmental conditions and camera properties. More... | |
Enumerations | |
| enum | Triton::Renderer { } |
| Support renderers for the Environment constructor. More... | |
| enum | Triton::EnvironmentError { } |
| Error codes returned from Environment::Initialize(). More... | |
The public interface for setting Triton's environmental parameters.
Error codes returned from Environment::Initialize().
| Enumerator | |
|---|---|
| NO_CONFIG_FOUND | Indicates the initialization succeeded. |
| NULL_RESOURCE_LOADER | The Triton.config file could not be loaded, which likely means you created your ResourceLoader with an invalid path. |
| NO_DEVICE | A null pointer was passed in for the ResourceLoader object. |
| NO_CONTEXT | A null device was passed in, and you're using a DirectX renderer that requires one. No GL context was active when calling this function. |
| enum Triton::Renderer |
Support renderers for the Environment constructor.
As newer versions of OpenGL emerge, specifying an older version in this enumeration should be fine as long as your context is backward-compatible.