we have this base class :
TCustomContextOpenGL = class(TContext3D)
protected
**class** procedure CreateSharedContext; virtual; abstract;
end;
and in the program to know the current context class we do :
TContextManager.DefaultContextClass => return TContextClass = class of TContext3D;
that will for exemple return TCustomAndroidContext or TCustomContextIOS who override CreateSharedContext but let it protected
my problem is that i need to do
TContextManager.DefaultContextClass.CreateSharedContext
But of course this will not work because CreateSharedContext is protected in TCustomContextOpenGL :( how can i do ?