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.
  • Modules
  • Namespaces
    • namespace Enlighten
      • class Enlighten A8CpuTextureSampler
      • class Enlighten Alpha8Normalised
      • class Enlighten AsyncTaskThreadGroup
      • class Enlighten AutoProbeVolumes
      • class Enlighten BakedProbeOutputInfo
      • class Enlighten BakeInputLight
      • class Enlighten BakeInputMeshInfo
      • class Enlighten BakeMaterialInfo
      • class Enlighten BaseAlbedoHandler
      • class Enlighten BaseCubeMap
      • class Enlighten BaseDynamicObject
      • class Enlighten BaseEnvironment
      • class Enlighten BaseLightMeta
      • class Enlighten BaseProbeSet
      • class Enlighten BaseSystem
      • class Enlighten BaseSystemSolutionSpace
      • class Enlighten BaseUpdateManager
      • class Enlighten BaseWorker
      • class Enlighten BoundingBox2D
      • class Enlighten BoxSpotlight
      • class Enlighten BoxVolume
      • class Enlighten CallableEnqueueFunctorCommand
      • class Enlighten ClusterAlbedoWorkspaceMaterialData
      • class Enlighten ClusterMaterialComponent
      • class Enlighten ClusterMaterials
      • class Enlighten ClusterProbeBounceSampleData
      • class Enlighten ClusterProbeSample
      • class Enlighten ClusterProbeTransparencySampleData
      • class Enlighten ClusterRange
      • class Enlighten Command
      • class Enlighten ConstLightValueIterator
      • class Enlighten CopyAlbedoBufferInfo
      • class Enlighten CopyBounceBufferInfo
      • class Enlighten CopyEmissiveBufferInfo
      • class Enlighten CopyEmissiveEnvironmentInfo
      • class Enlighten CopyInputLightingBufferInfo
      • class Enlighten CopyProbeOutputInfo
      • class Enlighten CopyRawOutputInfo
      • class Enlighten CopyTransparencyBufferInfo
      • class Enlighten CopyVisibilityBufferInfo
      • class Enlighten CpuAlbedoHandler
    Calendars

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

    This is the documentation for Enlighten.

    class Enlighten A8CpuTextureSampler

    Nov 21, 2019

    class Enlighten::A8CpuTextureSampler

        └>Enlighten::CpuTextureSamplerBase< 1 >

    A8 texture sampler.

    Functions

    Name Description
    A8CpuTextureSampler(const void *, Geo::s32, Geo::s32, Geo::s32, Geo::s32, Geo::s32)

    Constructor.

    CpuTextureSamplerBase(const void *, Geo::s32, Geo::s32, Geo::s32)

    Constructor.

    GetHeight()

    Gets the height of the texture.

    GetIndex(Geo::s32, Geo::s32)

    Gets the index into the raw pixel data of the given co-ordinates.

    GetPixelData(Geo::s32, Geo::s32)

    Gets the pixel value at the given co-ordinates.

    GetWidth()

    Gets the width of the texture.

    Variables

    Name Description
    Geo::s32 m_Height

    Height of the texture.

    Geo::s32 m_Pitch

    Pitch (in bytes) of the texture.

    const Geo::u8 * m_Pixels

    Raw pixel data.

    Geo::s32 m_Width

    Width of the texture.

    const int PixelByteSize = SizeOfPixel

    Number of bytes per pixel.


    Enlighten::A8CpuTextureSampler::A8CpuTextureSampler


    public: A8CpuTextureSampler
    (
        const void * data,
        Geo::s32 width,
        Geo::s32 height,
        Geo::s32 linePitch,
        Geo::s32 pixelPitch,
        Geo::s32 alphaByteOffset
    )


    Constructor.


    Enlighten::CpuTextureSamplerBase< SizeOfPixel >::CpuTextureSamplerBase


    protected: CpuTextureSamplerBase
    (
        const void * data,
        Geo::s32 width,
        Geo::s32 height,
        Geo::s32 pitch
    )


    Constructor.


    GEO_FORCE_INLINE Geo::s32 Enlighten::CpuTextureSamplerBase< SizeOfPixel >::GetHeight


    public: GEO_FORCE_INLINEGeo::s32 GetHeight() const


    Gets the height of the texture.


    GEO_FORCE_INLINE Geo::s32 Enlighten::CpuTextureSamplerBase< SizeOfPixel >::GetIndex


    public: GEO_FORCE_INLINEGeo::s32 GetIndex
    (
        Geo::s32 x,
        Geo::s32 y
    ) const


    Gets the index into the raw pixel data of the given co-ordinates.


    GEO_CONTROLLED_INLINE float Enlighten::A8CpuTextureSampler::GetPixelData


    public: GEO_CONTROLLED_INLINE float GetPixelData
    (
        Geo::s32 x,
        Geo::s32 y
    ) const


    Gets the pixel value at the given co-ordinates.


    GEO_FORCE_INLINE Geo::s32 Enlighten::CpuTextureSamplerBase< SizeOfPixel >::GetWidth


    public: GEO_FORCE_INLINEGeo::s32 GetWidth() const


    Gets the width of the texture.

    , multiple selections available,
    {"serverDuration": 11, "requestCorrelationId": "28ae167d79f349768290e98f76f3cc8a"}