Download Now
Forums

    Reference Codebot.Render.Textures.pas

    Part of the Codebot Render package

    The Codebot.Render.Textures unit gives you TTexture, an OpenGL texture owned by a render context. You can load a texture from a bitmap, a stream, a file, an asset, or raw RGBA pixels, and choose its filtering, wrapping, and mipmaps. Ctx.Textures holds textures by name.

    Items 27 items

    NameKindLine
    TTexFilterenum20
    tfNearestenum value20
    tfLinearenum value20
    TTextureclass23
    Coordprocedure61
    Createconstructor40
    Destroydestructor41
    GenerateMipmapsprocedure44
    LoadFromAssetprocedure59
    LoadFromBitmapprocedure51
    LoadFromDataprocedure47
    LoadFromFileprocedure55
    LoadFromStreamprocedure53
    Popprocedure65
    Pushprocedure63
    Activeproperty71
    Handleproperty79
    Heightproperty69
    MagFilterproperty73
    MinFilterproperty75
    Widthproperty67
    Wrapproperty77
    TTextureCollectionclass85
    Createconstructor89
    Textureproperty91
    TTextureExtensionhelper96
    Texturesfunction99