mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
more merge conflicts
fixed more merge conflicts (afxZodiac and MaterialDefinition) Updated cubemapdata to use refactor asset added new part to image_asset macro to create a private asset if the file exists. updated reflectionProbe errors to actual function name where the error occurs.
This commit is contained in:
parent
0da0903599
commit
b2fe48ab8d
6 changed files with 50 additions and 75 deletions
|
|
@ -70,20 +70,16 @@ public:
|
|||
|
||||
void setCubeFaceTexture(U32 index, GFXTexHandle newFaceTexture);
|
||||
|
||||
GFXTexHandle* getCubeFaceTexture(U32 faceIdx) { return &mCubeMapFace[faceIdx]; }
|
||||
GFXTexHandle* getCubeFaceTexture(U32 faceIdx) { return &mCubeMapFaceTex[faceIdx]; }
|
||||
|
||||
protected:
|
||||
DECLARE_IMAGEASSET(CubemapData, CubeMap, onCubemapChanged, GFXStaticTextureSRGBProfile);
|
||||
DECLARE_ASSET_SETGET(CubemapData, CubeMap);
|
||||
DECLARE_IMAGEASSET_REFACTOR(CubemapData, CubeMap, GFXStaticTextureSRGBProfile);
|
||||
|
||||
DECLARE_IMAGEASSET_ARRAY(CubemapData, CubeMapFace, 6, onCubeMapFaceChanged);
|
||||
DECLARE_IMAGEASSET_ARRAY_SETGET(CubemapData, CubeMapFace);
|
||||
DECLARE_IMAGEASSET_ARRAY_REFACTOR(CubemapData, CubeMapFace, GFXStaticTextureSRGBProfile, 6);
|
||||
|
||||
void onCubeMapFaceChanged() {}
|
||||
GFXTexHandle mCubeMapFaceTex[6];
|
||||
GFXTexHandle mDepthBuff;
|
||||
GFXTextureTargetRef mRenderTarget;
|
||||
|
||||
void onCubemapChanged() {}
|
||||
};
|
||||
|
||||
#endif // CUBEMAPDATA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue