Minor renaming
This commit is contained in:
@@ -41,8 +41,8 @@ PACK_STRUCT(struct Data0
|
||||
float LightShadowsStrength;
|
||||
float ViewFarPlane;
|
||||
Vector4 ViewFrustumWorldRays[4];
|
||||
GlobalSignDistanceFieldPass::GlobalSDFData GlobalSDF;
|
||||
GlobalSurfaceAtlasPass::GlobalSurfaceAtlasData GlobalSurfaceAtlas;
|
||||
GlobalSignDistanceFieldPass::ConstantsData GlobalSDF;
|
||||
GlobalSurfaceAtlasPass::ConstantsData GlobalSurfaceAtlas;
|
||||
LightData Light;
|
||||
});
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class FLAXENGINE_API GlobalSurfaceAtlasPass : public RendererPass<GlobalSurfaceA
|
||||
{
|
||||
public:
|
||||
// Constant buffer data for Global Surface Atlas access on a GPU.
|
||||
PACK_STRUCT(struct GlobalSurfaceAtlasData
|
||||
PACK_STRUCT(struct ConstantsData
|
||||
{
|
||||
Vector3 ViewPos;
|
||||
float Padding0;
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
GPUTexture* Atlas[5];
|
||||
GPUBuffer* Chunks;
|
||||
GPUBuffer* CulledObjects;
|
||||
GlobalSurfaceAtlasData GlobalSurfaceAtlas;
|
||||
ConstantsData GlobalSurfaceAtlas;
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
@@ -52,7 +52,7 @@ PACK_STRUCT(struct Data
|
||||
Vector3 Padding00;
|
||||
float ViewFarPlane;
|
||||
Vector4 ViewFrustumWorldRays[4];
|
||||
GlobalSignDistanceFieldPass::GlobalSDFData GlobalSDF;
|
||||
GlobalSignDistanceFieldPass::ConstantsData GlobalSDF;
|
||||
});
|
||||
|
||||
PACK_STRUCT(struct ModelsRasterizeData
|
||||
|
||||
@@ -11,7 +11,7 @@ class FLAXENGINE_API GlobalSignDistanceFieldPass : public RendererPass<GlobalSig
|
||||
{
|
||||
public:
|
||||
// Constant buffer data for Global SDF access on a GPU.
|
||||
PACK_STRUCT(struct GlobalSDFData
|
||||
PACK_STRUCT(struct ConstantsData
|
||||
{
|
||||
Vector4 CascadePosDistance[4];
|
||||
Vector4 CascadeVoxelSize;
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
{
|
||||
GPUTexture* Cascades[4];
|
||||
GPUTexture* CascadeMips[4];
|
||||
GlobalSDFData GlobalSDF;
|
||||
ConstantsData GlobalSDF;
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user