![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Extension of ILayerResource interface, used for kResourceType_RenderTarget resource type. More...
#include <layer_resource_interface.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | GetRenderTarget (gfx::RenderTargetSP &render_target)=0 throw () |
| Retrieves render target to draw to. | |
| virtual SDKResult SDK_CALLTYPE | GetTexture (ITextureSP &texture)=0 throw () |
| Returns texture associated with render target. | |
| virtual SDKResult SDK_CALLTYPE | ReinitializeResources ()=0 throw () |
| Reinitializes appropriate layer resources, like render target, etc. | |
Public Member Functions inherited from ILayerResource | |
| virtual SDKResult SDK_CALLTYPE | GetSize (SDKSizeF &size)=0 throw () |
| Returns size of the resource texture or null size if not applicable. | |
| virtual SDKResult SDK_CALLTYPE | SetSize (const SDKSizeF &size)=0 throw () |
| Sets size of the resource, ignored if not applicable. | |
| virtual SDKResult SDK_CALLTYPE | CopyFrom (const ILayerResourceSP &resource)=0 throw () |
| Copies data from another resource. | |
Public Member Functions inherited from ISDKProperties | |
| virtual SDKResult SDK_CALLTYPE | SetProperty (const SDKPropertyID &id, const SDKAny &value)=0 throw () |
| Sets a property value. | |
| virtual SDKResult SDK_CALLTYPE | GetProperty (const SDKPropertyID &id, SDKAny &value) const =0 throw () |
| Retrieves a property value. | |
Extension of ILayerResource interface, used for kResourceType_RenderTarget resource type.