Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Geo GeoAllocatorUnchecked
  • class Geo GeoArray
  • class Geo GeoArray_Stl
  • class Geo GeoAutoArrayPtr
  • class Geo GeoAutoDeleteArray
  • class Geo GeoAutoDeleteList
  • class Geo GeoAutoDeleteMap
  • class Geo GeoAutoPtr
  • class Geo GeoAutoReleaseArray
  • class Geo GeoAutoReleaseMap
  • class Geo GeoAutoReleasePtr
  • class Geo GeoBitArray
  • class Geo GeoBitStore
  • class Geo GeoBlueNoise
  • class Geo GeoBlueNoiseDiskPalette
  • class Geo GeoBlueNoiseRayPalette
  • class Geo GeoBoundingBox
  • class Geo GeoBoundingSphere
  • class Geo GeoBufferedFileStream
  • class Geo GeoBufferedInputStream
  • class Geo GeoCriticalSection
  • class Geo GeoDebugAllocator
  • class Geo GeoDelegateDestructor
  • class Geo GeoDeleteArrayDestructor
  • class Geo GeoDeleteDestructor
  • class Geo GeoDepthCubeMap
  • class Geo GeoEmbreeContext
  • class Geo GeoEqualCString
  • class Geo GeoEvent
  • class Geo GeoFileManager
  • class Geo GeoFileStream
  • class Geo GeoFixedBinarySearchMap
  • class Geo GeoFixedBinarySearchMapCompare
  • class Geo GeoFixedPoolAllocator
  • class Geo GeoFixedString
  • class Geo GeoFlattenAndPackResults
  • class Geo GeoFp16Texture
  • class Geo GeoFpControl
  • class Geo GeoFrameTime
  • class Geo GeoFreeDestructor
  • class Geo GeoGenericTexture
  • class Geo GeoGuid
  • class Geo GeoHalf
  • class Geo GeoHashConstHandle
  • class Geo GeoHashCString
  • class Geo GeoHashDefault
  • class Geo GeoHashHandle
  • class Geo GeoHashMap
  • class Geo GeoHashString
  • class Geo GeoImmutableArray
  • class Geo GeoInputEvent
  • class Geo GeoInstanceCount
  • class Geo GeoIntRange
  • class Geo GeoIntrusivePtr
  • class Geo GeoKeyValueArray
  • class Geo GeoLineSegment
  • class Geo GeoList
  • class Geo GeoMap
  • class Geo GeoMemoryDefault
  • class Geo GeoMemoryPool
  • class Geo GeoMemoryStream
  • class Geo GeoNonAABoundingBox
  • class Geo GeoNoopDestructor
  • class Geo GeoPair
  • class Geo GeoParametrisedPlane3
  • class Geo GeoPriorityQueue
  • class Geo GeoProgress
  • class Geo GeoQueue
  • class Geo GeoQueueEnumInterface
  • class Geo GeoRefArrayPtr
  • class Geo GeoRefCount
  • class Geo GeoRefPtr
  • class Geo GeoRefReleasePtr
  • class Geo GeoReleaseDestructor
  • class Geo GeoRGBXTexture
  • class Geo GeoScopedCSection
  • class Geo GeoSingleton
  • class Geo GeoSpatialHash
  • class Geo GeoString
  • class Geo GeoTimer
  • class Geo GeoTokenList
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo GeoGenericTexture

    This is the documentation for Enlighten.

    class Geo GeoGenericTexture

    Nov 21, 2019

    template<class T>
    class Geo::GeoGenericTexture

    A really simple texture where all elements are T.

    Functions

    Name Description
    AddRef()

    Increments the reference count.

    Clear(const T &)

    Clears the entire texture to the given value.

    Create(s32, s32)

    Create gives you back an uninitialise (values undefined!) texture of the appropriate size with a ref count of 1.

    GetHeight()

    Gets the width/height of this texture.

    GetPixels()

    Raw access to the pixel data.

    GetWidth()

    Gets the width/height of this texture.

    Release()

    Decrements the reference count, and destroys this object if it has reached zero.

    Sample(s32, s32)

    Read from the texture at the given location.

    SerialiseFrom(FILE *)

    Creates a texure by loading it from the given file.

    SerialiseTo(FILE *)

    Saves this texture to the given file.

    SetSample(s32, s32, const T &)

    Sets the value at the given location.


    void Geo::GeoGenericTexture< T >::AddRef


    public: void AddRef()


    Increments the reference count.


    void Geo::GeoGenericTexture< T >::Clear


    public: void Clear
    (
        const T & value
    )


    Clears the entire texture to the given value.


    static GeoGenericTexture* Geo::GeoGenericTexture< T >::Create


    public: GeoGenericTexture * Create
    (
        s32 w,
        s32 h
    )


    Create gives you back an uninitialise (values undefined!) texture of the appropriate size with a ref count of 1.

    So no need to AddRef it immediately.


    s32 Geo::GeoGenericTexture< T >::GetHeight


    public: s32 GetHeight()


    Gets the width/height of this texture.


    T* Geo::GeoGenericTexture< T >::GetPixels


    public: T * GetPixels()


    Raw access to the pixel data.


    s32 Geo::GeoGenericTexture< T >::GetWidth


    public: s32 GetWidth()


    Gets the width/height of this texture.


    void Geo::GeoGenericTexture< T >::Release


    public: void Release()


    Decrements the reference count, and destroys this object if it has reached zero.


    T Geo::GeoGenericTexture< T >::Sample


    public: T Sample
    (
        s32 x,
        s32 y
    )


    Read from the texture at the given location.


    static GeoGenericTexture* Geo::GeoGenericTexture< T >::SerialiseFrom


    public: GeoGenericTexture * SerialiseFrom
    (
        FILE * fd
    )


    Creates a texure by loading it from the given file.


    bool Geo::GeoGenericTexture< T >::SerialiseTo


    public: bool SerialiseTo
    (
        FILE * fd
    )


    Saves this texture to the given file.


    void Geo::GeoGenericTexture< T >::SetSample


    public: void SetSample
    (
        s32 x,
        s32 y,
        const T & value
    )


    Sets the value at the given location.

    , multiple selections available,
    {"serverDuration": 13, "requestCorrelationId": "d3cda73777c9490190e37531ac2218c7"}