-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ex25 CentralLimitBoxBlur update. #9
base: master
Are you sure you want to change the base?
Conversation
achalpandeyy
commented
Jul 19, 2022
•
edited
Loading
edited
- Handle mouse and keyboard events.
- Remove Q to quit.
- Mouse wheel to change the blur radius.
- Detect vertical scroll event.
- Change blur radius push constant in response.
- Read test input image, create output image, and create their views.
- Create relevant resources to do blur.
- Get rid of validation errors.
core::smart_refctd_ptr<nbl::ui::IWindowManager> windowManager; | ||
core::smart_refctd_ptr<nbl::ui::IWindow> window; | ||
core::smart_refctd_ptr<CommonAPI::CommonAPIEventCallback> windowCb; | ||
core::smart_refctd_ptr<nbl::video::IAPIConnection> apiConnection; | ||
core::smart_refctd_ptr<nbl::video::ISurface> surface; | ||
core::smart_refctd_ptr<nbl::video::IUtilities> utilities; | ||
core::smart_refctd_ptr<nbl::video::ILogicalDevice> logicalDevice; | ||
video::IPhysicalDevice* physicalDevice; | ||
std::array<video::IGPUQueue*, CommonAPI::InitOutput::MaxQueuesCount> queues; | ||
core::smart_refctd_ptr<nbl::video::ISwapchain> swapchain; | ||
core::smart_refctd_ptr<video::IGPURenderpass> renderpass = nullptr; | ||
std::array<nbl::core::smart_refctd_ptr<video::IGPUFramebuffer>, CommonAPI::InitOutput::MaxSwapChainImageCount> fbos; | ||
std::array<std::array<nbl::core::smart_refctd_ptr<nbl::video::IGPUCommandPool>, CommonAPI::InitOutput::MaxFramesInFlight>, CommonAPI::InitOutput::MaxQueuesCount> commandPools; | ||
core::smart_refctd_ptr<nbl::system::ISystem> system; | ||
core::smart_refctd_ptr<nbl::asset::IAssetManager> assetManager; | ||
video::IGPUObjectFromAssetConverter::SParams cpu2gpuParams; | ||
core::smart_refctd_ptr<nbl::system::ILogger> logger; | ||
core::smart_refctd_ptr<CommonAPI::InputSystem> inputSystem; | ||
video::IGPUObjectFromAssetConverter cpu2gpu; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you need all of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of it yeah, probably not one or two things like utilities
and perhaps windowCb
. Will remove the excess stuff.
Seems you forgot to push some code, the example I see does nothing |