Download Now

    Reference Codebot.Render.Textures.pas

    Part of the Codebot Render package

    Each version implies all earlier versions

    The Codebot.Render.Textures unit defines TTexture, which is an OpenGL texture owned by a render context. A texture can be loaded from a bitmap, a stream, a file, or raw RGBA pixels, and has settings for filtering, wrapping, and mipmaps. Ctx.Textures holds textures by name.

    Items 26 items

    NameKindLine
    TTexFilterenum19
    tfNearestenum value19
    tfLinearenum value19
    TTextureclass22
    Coordprocedure56
    Createconstructor39
    Destroydestructor40
    GenerateMipmapsprocedure43
    LoadFromBitmapprocedure50
    LoadFromDataprocedure46
    LoadFromFileprocedure54
    LoadFromStreamprocedure52
    Popprocedure60
    Pushprocedure58
    Activeproperty66
    Handleproperty74
    Heightproperty64
    MagFilterproperty68
    MinFilterproperty70
    Widthproperty62
    Wrapproperty72
    TTextureCollectionclass80
    Createconstructor84
    Textureproperty86
    TTextureExtensionhelper91
    Texturesfunction94