Scene |
public abstract class SceneComponent : ComponentBase, ISceneComponent
The SceneComponent type exposes the following members.
Name | Description | |
---|---|---|
SceneComponent | Initializes a new instance of the SceneComponent class. |
Name | Description | |
---|---|---|
IsInitialized | Gets a Boolean that specifies if this component has already been initialized by providing the VulkanDevice that was used to create resources. | |
Scene | Gets the parent Scene (can be null). |
Name | Description | |
---|---|---|
CheckIfInitialized | CheckIfInitialized | |
InitializeDeviceResources | Initializes this component with the GpuDevice that is set to the Scene object. This method calls a virtual OnInitializeDeviceResources(VulkanDevice) that can be used by a derived class to create the resources. | |
OnInitializeDeviceResources | Initializes resources with the specified GpuDevice. This method can be override and is called from InitializeDeviceResources method. | |
OnResourcesInitialized | OnResourcesInitialized |
Name | Description | |
---|---|---|
DeviceResourcesInitialized | ResourcesInitialized event is triggered after the resources were initialized by calling the InitializeDeviceResources method. |