Download Now

    Reference ChildCreate

    Declared in Codebot.Render.Controls.Child.pas on line 42

    Create an SDL window with an OpenGL pixel format inside a parent window and show it. If it cannot be created with multisampling it is created without, and Params is changed to match. The result is nil if it cannot be created. Call it on the main thread.
    function ChildCreate(Parent: PtrUInt; Width, Height: Integer; var Params: TOpenGLParams): PSDL_Window;

    See also

    TOpenGLParams in Codebot.OpenGL.pas