Download Now
Forums

    Reference AssetPackData

    Declared in Codebot.Render.Assets.pas on line 86

    Give the bytes of an asset in the dat file. The memory is kept until the program ends and must not be freed. This is for loaders which keep using the memory they are given, such as fonts.
    function AssetPackData(const Name: string; out Data: Pointer; out Size: LongWord): Boolean;