.. _program_listing_file_Resources_Shaders_hostDevice_host_device_shared.hpp: Program Listing for File host_device_shared.hpp =============================================== |exhale_lsh| :ref:`Return to documentation for file ` (``Resources/Shaders/hostDevice/host_device_shared.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef GLOBALS_HOST_DEVICE #define GLOBALS_HOST_DEVICE // lights const int NUM_CASCADES = 3; const int MAX_POINT_LIGHTS = 1; // materials const int MAX_MATERIALS = 35; const int SKYBOX_MATERIAL_ID = MAX_MATERIALS; const int CLOUDS_MATERIAL_ID = MAX_MATERIALS + 1; // texture const int MAX_TEXTURE_COUNT = 30; // math #ifndef PI_DEF #define PI_DEF const float PI = 3.14159265359f; #endif // noise const int NUM_CELL_POSITIONS = 5; #endif// !GLOBALS_HOST_DEVICE