f3687dbf4e
version 0.57.0: - DX11 removed, DX12 is default now on Windows - graphics interfaces improved: - Bindless descriptor support is now assumed - GPU Buffers with USAGE_UPLOAD and USAGE_READBACK will be persistently mapped after creation - Removed Map/Unmap - added BindDynamicConstantBuffer helper function - improved AllocateGPU helper function - GPU Queries resolving can be done directly into GPUBuffer - UpdateBuffer now doesn't synchronize internally, this allows batching updates - removed support for bindless constant buffers (uniform buffers) - BindConstantBuffer will accept offset - RESOURCE_STATES refactor, they can be combined now in the barriers - many other refactors - gbuffer normals removed, implemented visibility buffer - bindless decals, bindless lightmaps, bindless hair particles, bindless software path tracing - hair particles path tracing support - path tracing eye adaption supported - Surfel GI (experimental)
84 lines
2.4 KiB
C++
84 lines
2.4 KiB
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
enum PICKTYPE
|
|
{
|
|
PICK_VOID = 0,
|
|
PICK_OBJECT = RENDERTYPE_OPAQUE | RENDERTYPE_TRANSPARENT | RENDERTYPE_WATER,
|
|
PICK_LIGHT = 8,
|
|
PICK_DECAL = 16,
|
|
PICK_ENVPROBE = 32,
|
|
PICK_FORCEFIELD = 64,
|
|
PICK_EMITTER = 128,
|
|
PICK_HAIR = 256,
|
|
PICK_CAMERA = 512,
|
|
PICK_ARMATURE = 1024,
|
|
PICK_SOUND = 2048,
|
|
};
|
|
|
|
class RendererWindow : public wiWindow
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editorcomponent);
|
|
|
|
wiCheckBox vsyncCheckBox;
|
|
wiCheckBox occlusionCullingCheckBox;
|
|
wiSlider resolutionScaleSlider;
|
|
wiSlider gammaSlider;
|
|
wiCheckBox surfelGICheckBox;
|
|
wiCheckBox surfelGIDebugCheckBox;
|
|
wiCheckBox voxelRadianceCheckBox;
|
|
wiCheckBox voxelRadianceDebugCheckBox;
|
|
wiCheckBox voxelRadianceSecondaryBounceCheckBox;
|
|
wiCheckBox voxelRadianceReflectionsCheckBox;
|
|
wiSlider voxelRadianceVoxelSizeSlider;
|
|
wiSlider voxelRadianceConeTracingSlider;
|
|
wiSlider voxelRadianceRayStepSizeSlider;
|
|
wiSlider voxelRadianceMaxDistanceSlider;
|
|
wiCheckBox physicsDebugCheckBox;
|
|
wiCheckBox partitionBoxesCheckBox;
|
|
wiCheckBox boneLinesCheckBox;
|
|
wiCheckBox debugEmittersCheckBox;
|
|
wiCheckBox debugForceFieldsCheckBox;
|
|
wiCheckBox debugRaytraceBVHCheckBox;
|
|
wiCheckBox wireFrameCheckBox;
|
|
wiCheckBox variableRateShadingClassificationCheckBox;
|
|
wiCheckBox variableRateShadingClassificationDebugCheckBox;
|
|
wiCheckBox advancedLightCullingCheckBox;
|
|
wiCheckBox debugLightCullingCheckBox;
|
|
wiCheckBox tessellationCheckBox;
|
|
wiCheckBox envProbesCheckBox;
|
|
wiCheckBox gridHelperCheckBox;
|
|
wiCheckBox cameraVisCheckBox;
|
|
wiCheckBox pickTypeObjectCheckBox;
|
|
wiCheckBox pickTypeEnvProbeCheckBox;
|
|
wiCheckBox pickTypeLightCheckBox;
|
|
wiCheckBox pickTypeDecalCheckBox;
|
|
wiCheckBox pickTypeForceFieldCheckBox;
|
|
wiCheckBox pickTypeEmitterCheckBox;
|
|
wiCheckBox pickTypeHairCheckBox;
|
|
wiCheckBox pickTypeCameraCheckBox;
|
|
wiCheckBox pickTypeArmatureCheckBox;
|
|
wiCheckBox pickTypeSoundCheckBox;
|
|
wiSlider speedMultiplierSlider;
|
|
wiCheckBox transparentShadowsCheckBox;
|
|
wiComboBox shadowTypeComboBox;
|
|
wiComboBox shadowProps2DComboBox;
|
|
wiComboBox shadowPropsCubeComboBox;
|
|
wiComboBox MSAAComboBox;
|
|
wiCheckBox temporalAACheckBox;
|
|
wiCheckBox temporalAADebugCheckBox;
|
|
wiComboBox textureQualityComboBox;
|
|
wiSlider mipLodBiasSlider;
|
|
wiSlider raytraceBounceCountSlider;
|
|
|
|
wiCheckBox freezeCullingCameraCheckBox;
|
|
wiCheckBox disableAlbedoMapsCheckBox;
|
|
wiCheckBox forceDiffuseLightingCheckBox;
|
|
|
|
uint32_t GetPickType() const;
|
|
};
|
|
|