|
C3D_API | ImageBackground (Engine &engine, Scene &scene, castor::String const &name=castor::String{}) |
| Constructor.
|
|
C3D_API void | accept (BackgroundVisitor &visitor) override |
| Visitor acceptance function.
|
|
C3D_API void | accept (ConfigurationVisitorBase &visitor) override |
| Visitor acceptance function.
|
|
C3D_API bool | write (castor::String const &tabs, castor::Path const &folder, castor::StringStream &stream) const override |
| Writes the background to a text stream.
|
|
C3D_API bool | setImage (castor::Path const &folder, castor::Path const &relative) |
|
castor::String const & | getModelName () const override |
|
castor::Path const & | getImagePath () const noexcept |
|
C3D_API | SceneBackground (Engine &engine, Scene &scene, castor::String const &name, castor::String type, bool hasIBLSupport) |
| Constructor.
|
|
virtual C3D_API | ~SceneBackground () |
| Destructor.
|
|
C3D_API bool | initialise (RenderDevice const &device) |
| Initialisation function.
|
|
C3D_API void | cleanup () |
| Cleanup function.
|
|
C3D_API void | update (CpuUpdater &updater) const |
| Updates the background, CPU side.
|
|
C3D_API void | update (GpuUpdater &updater) const |
| Updates the background, GPU side.
|
|
C3D_API void | upload (UploadData &uploader) |
| Uploads image data to the texture buffer.
|
|
C3D_API void | notifyChanged () |
| Notifies a change to apply on GPU for the background.
|
|
virtual C3D_API crg::FramePass & | createBackgroundPass (crg::FramePassGroup &graph, RenderDevice const &device, ProgressBar *progress, VkExtent2D const &size, crg::ImageViewIdArray const &colour, crg::ImageViewIdArray const &depth, crg::ImageViewId const *depthObj, UniformBufferOffsetT< ModelBufferConfiguration > const &modelUbo, CameraUbo const &cameraUbo, HdrConfigUbo const &hdrConfigUbo, SceneUbo const &sceneUbo, bool clearColour, bool clearDepth, bool forceVisible, BackgroundPassBase *&backgroundPass) |
| Creates the background render pass.
|
|
C3D_API void | addPassBindings (crg::FramePass &pass, crg::ImageViewIdArray const &targetImage, uint32_t &index) const |
| Adds the background specific bindings to a frame pass.
|
|
C3D_API void | addBindings (ashes::VkDescriptorSetLayoutBindingArray &bindings, VkShaderStageFlags shaderStages, uint32_t &index) const |
| Adds the background specific bindings.
|
|
C3D_API void | addDescriptors (ashes::WriteDescriptorSetArray &descriptorWrites, crg::ImageViewIdArray const &targetImage, uint32_t &index) const |
| Adds the background specific descriptors.
|
|
C3D_API BackgroundModelID | getModelID () const |
|
void | setVisible (bool v) noexcept |
|
virtual bool | isDepthSampled () const noexcept |
|
virtual bool | hasScattering () const noexcept |
|
Scene & | getScene () const noexcept |
|
castor::String const & | getType () const noexcept |
|
TextureLayout & | getTexture () const noexcept |
|
ashes::Image const & | getImage () const |
|
bool | isHdr () const noexcept |
|
bool | isSRGB () const noexcept |
|
bool | hasIbl () const noexcept |
|
bool | isInitialised () const noexcept |
|
bool | isVisible () const noexcept |
|
IblTextures const & | getIbl () const noexcept |
|
Sampler const & | getSampler () const noexcept |
|
uint32_t const & | getPassIndex (bool forceVisible) const noexcept |
|
Engine * | getOwner () const |
|
| NamedBaseT (T name) noexcept |
| Constructor.
|
|
T const & | getName () const noexcept |
| Retrieves the name.
|
|
void | rename (T name) noexcept |
|