2019-11-23 20:27:39 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2011 Zynga Inc.
|
|
|
|
Copyright (c) 2012 cocos2d-x.org
|
|
|
|
Copyright (c) 2013-2016 Chukong Technologies Inc.
|
|
|
|
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
|
|
|
|
2022-10-01 16:24:52 +08:00
|
|
|
https://axmolengine.github.io/
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/// @cond DO_NOT_SHOW
|
|
|
|
|
2023-06-11 13:08:08 +08:00
|
|
|
#include "platform/PlatformMacros.h"
|
2019-11-23 20:27:39 +08:00
|
|
|
|
2023-03-25 08:37:51 +08:00
|
|
|
#include <string_view>
|
|
|
|
|
2019-11-23 20:27:39 +08:00
|
|
|
/**
|
|
|
|
* @addtogroup renderer
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2022-07-11 17:50:21 +08:00
|
|
|
NS_AX_BEGIN
|
2019-11-23 20:27:39 +08:00
|
|
|
|
2023-07-10 15:57:00 +08:00
|
|
|
extern AX_DLL const std::string_view positionColor_vert;
|
|
|
|
extern AX_DLL const std::string_view positionColor_frag;
|
|
|
|
extern AX_DLL const std::string_view positionTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view positionTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view positionTextureColor_vert;
|
|
|
|
extern AX_DLL const std::string_view positionTextureColor_frag;
|
|
|
|
extern AX_DLL const std::string_view positionTextureColorAlphaTest_frag;
|
|
|
|
extern AX_DLL const std::string_view label_normal_frag;
|
|
|
|
extern AX_DLL const std::string_view label_distanceNormal_frag;
|
|
|
|
extern AX_DLL const std::string_view labelOutline_frag;
|
|
|
|
extern AX_DLL const std::string_view labelDistanceFieldGlow_frag;
|
|
|
|
extern AX_DLL const std::string_view positionColorLengthTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view positionColorLengthTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view positionColorTextureAsPointsize_vert;
|
|
|
|
extern AX_DLL const std::string_view position_vert;
|
|
|
|
extern AX_DLL const std::string_view layer_radialGradient_frag;
|
|
|
|
extern AX_DLL const std::string_view grayScale_frag;
|
|
|
|
extern AX_DLL const std::string_view positionUColor_vert;
|
|
|
|
extern AX_DLL const std::string_view dualSampler_frag;
|
|
|
|
extern AX_DLL const std::string_view dualSampler_gray_frag;
|
|
|
|
extern AX_DLL const std::string_view cameraClear_vert;
|
|
|
|
extern AX_DLL const std::string_view cameraClear_frag;
|
2019-11-23 20:27:39 +08:00
|
|
|
|
2023-07-10 15:57:00 +08:00
|
|
|
extern AX_DLL const std::string_view quadTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view quadTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view quadColor_frag;
|
|
|
|
extern AX_DLL const std::string_view quadColor_vert;
|
2020-10-16 16:23:14 +08:00
|
|
|
|
2023-07-10 15:57:00 +08:00
|
|
|
extern AX_DLL const std::string_view hsv_frag;
|
|
|
|
extern AX_DLL const std::string_view dualSampler_hsv_frag;
|
2022-07-05 15:42:38 +08:00
|
|
|
|
2023-07-10 15:57:00 +08:00
|
|
|
extern AX_DLL const std::string_view videoTextureYUY2_frag;
|
|
|
|
extern AX_DLL const std::string_view videoTextureNV12_frag;
|
|
|
|
extern AX_DLL const std::string_view videoTextureBGRA_frag;
|
2023-03-25 08:37:51 +08:00
|
|
|
|
2023-07-10 15:57:00 +08:00
|
|
|
/* below is 3d shaders */
|
|
|
|
extern AX_DLL const std::string_view lineColor3D_frag;
|
|
|
|
extern AX_DLL const std::string_view lineColor3D_vert;
|
|
|
|
extern AX_DLL const std::string_view color_frag;
|
|
|
|
extern AX_DLL const std::string_view colorNormal_frag;
|
|
|
|
extern AX_DLL const std::string_view colorNormalTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view colorTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view particleTexture_frag;
|
|
|
|
extern AX_DLL const std::string_view particleColor_frag;
|
|
|
|
extern AX_DLL const std::string_view particle_vert;
|
|
|
|
extern AX_DLL const std::string_view positionNormalTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view skinPositionNormalTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view positionTexture3D_vert;
|
|
|
|
extern AX_DLL const std::string_view skinPositionTexture_vert;
|
|
|
|
extern AX_DLL const std::string_view skybox_frag;
|
|
|
|
extern AX_DLL const std::string_view skybox_vert;
|
|
|
|
extern AX_DLL const std::string_view terrain_frag;
|
|
|
|
extern AX_DLL const std::string_view terrain_vert;
|
2022-07-11 17:50:21 +08:00
|
|
|
NS_AX_END
|
2019-11-23 20:27:39 +08:00
|
|
|
/**
|
|
|
|
end of support group
|
|
|
|
@}
|
|
|
|
*/
|
|
|
|
/// @endcond
|