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 Enlighten CopyVisibilityBufferInfo
  • class Enlighten CpuAlbedoHandler
  • class Enlighten CpuCubeMap
  • class Enlighten CpuDynamicObject
  • class Enlighten CpuEnvironment
  • class Enlighten CpuSystem
  • class Enlighten CpuSystemSolutionSpace
  • class Enlighten CpuTextureSamplerBase
  • class Enlighten CpuUpdateManager
  • class Enlighten CpuWorker
  • class Enlighten CubeMapDataBlock
  • class Enlighten CubeMapMeta
  • class Enlighten DefaultGeometryTransparencySampler
  • class Enlighten DefaultThreadGroup
  • class Enlighten DirectInputLightingParameters
  • class Enlighten DirectionalLight
  • class Enlighten DirectionalLightMeta
  • class Enlighten Dx9TextureUpdater
  • class Enlighten Dx11TextureUpdater
  • class Enlighten DynamicMaterialWorkspace
  • class Enlighten DynamicObject
  • class Enlighten EnlightenDataBlock
  • class Enlighten EnlightenProfile
  • class Enlighten EnlightenTask
  • class Enlighten EntireProbeSetTask
  • class Enlighten EnvironmentLightMeta
  • class Enlighten ExcludedInstance
  • class Enlighten ExporterCubemap
  • class Enlighten ExporterGeom
  • class Enlighten ExporterGlobalParameters
  • class Enlighten ExporterInstanceParameters
  • class Enlighten ExporterLineWriter
  • class Enlighten ExporterMesh
  • class Enlighten ExporterPaths
  • class Enlighten ExporterProbeRegion
  • class Enlighten ExporterProbeVolume
  • class Enlighten ExporterScene
  • class Enlighten ExporterTransform
  • class Enlighten FitModel
  • class Enlighten FixedTimeLimiter
  • class Enlighten Fp16CpuTextureSampler
  • class Enlighten FrustumLight
  • class Enlighten FunctorCommand
  • class Enlighten GenericColourBuffer
  • class Enlighten GeoClusterNode
  • class Enlighten GeoClusterNodeForest
  • class Enlighten GeoClusterNodeTree
  • class Enlighten GeoDirectionalPoint
  • class Enlighten GeometryDataBlock
  • class Enlighten GeomMeshMeta
  • class Enlighten GeomMeta
  • class Enlighten GeomProperties
  • class Enlighten GeoRayOrigin
  • class Enlighten GlTextureUpdater
  • class Enlighten GpuTextureWrapper
  • class Enlighten IAsyncTask
  • class Enlighten IBake
  • class Enlighten IBakeInputGeometryLightingNormals
  • class Enlighten IBakeInputGeometryTangents
  • class Enlighten IBakeInputGeometryUvs
  • class Enlighten IBakeInputLighting
  • class Enlighten IBakeInputMaterial
  • class Enlighten IBakeInputMeshLightingNormals
  • class Enlighten IBakeInputMeshTangents
  • class Enlighten IBakeInputMeshUvs
  • class Enlighten IBakeInputProperties
  • class Enlighten IBakeInputRayOriginPositions
  • class Enlighten IBakeInputRuntime
  • class Enlighten IBakeInputSystem
  • class Enlighten IBakeOutputProbeSet
  • class Enlighten IBakeOutputProbeSetVisibility
  • class Enlighten IBakeOutputSystemAO
  • class Enlighten IBakeOutputSystemDirect
  • class Enlighten IBakeOutputSystemFinalGather
  • class Enlighten IBakeOutputSystemIndirect
  • class Enlighten IBakeOutputSystemRadiosityNormal
  • class Enlighten IBakeOutputSystemVisibility
  • class Enlighten IBakeRuntimeLighting
  • class Enlighten IBakeSolvedRuntime
  • class Enlighten IBakeSystemResource
  • class Enlighten IBakeTextureManager
    Calendars

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

    This is the documentation for Enlighten.

    class Enlighten Fp16CpuTextureSampler

    Nov 21, 2019

    class Enlighten::Fp16CpuTextureSampler

        └>Enlighten::CpuTextureSamplerBase< 8 >

    FP16 texture sampler.

    Functions

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

    Constructor.

    Fp16CpuTextureSampler(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::CpuTextureSamplerBase< SizeOfPixel >::CpuTextureSamplerBase


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


    Constructor.


    Enlighten::Fp16CpuTextureSampler::Fp16CpuTextureSampler


    public: Fp16CpuTextureSampler
    (
        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 Geo::v128 Enlighten::Fp16CpuTextureSampler::GetPixelData


    public: GEO_CONTROLLED_INLINEGeo::v128 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": 10, "requestCorrelationId": "13087d23074d4fdca68935724a532973"}