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)
/
class Enlighten GeometryDataBlock

    This is the documentation for Enlighten.

    class Enlighten GeometryDataBlock

    Nov 21, 2019

    class Enlighten::GeometryDataBlock

        └>Enlighten::IPrecomputeLoaderGeometry
            └>Geo::IGeoSerialisable
                └>Geo::IGeoReleasable

    A Geometry data block which contains the precompute data required by Enlighten at runtime.

    Functions

    Name Description
    Create()

    Create an empty object.

    Create()

    Create an empty object.

    GetId()

    Get geometry id.

    GetId()

    Get geometry id.

    GetLodCount()

    Get number of lod's.

    GetLodCount()

    Get number of lod's.

    GetMeshCount()

    Get number of meshes.

    GetMeshCount()

    Get number of meshes.

    GetOutputUvSize(Geo::s32)

    Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod.

    GetOutputUvSize(Geo::s32)

    Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod.

    GetSurfaceArea(Geo::s32)

    Get the estimated surface area of the geometry, for a given lod.

    GetSurfaceArea(Geo::s32)

    Get the estimated surface area of the geometry, for a given lod.

    GetTargetUsagePercentage(Geo::s32)

    Get the percentage of the output UV texture occupied, for a given lod.

    GetTargetUsagePercentage(Geo::s32)

    Get the percentage of the output UV texture occupied, for a given lod.

    GetUvs(Geo::s32, Geo::s32)

    Get uvs array for the mesh index idx at given lod.

    GetUvs(Geo::s32, Geo::s32)

    Get uvs array for the mesh index idx at given lod.

    GetVerticesCount(Geo::s32)

    Get number of vertices for the mesh index idx.

    GetVerticesCount(Geo::s32)

    Get number of vertices for the mesh index idx.

    Load(IGeoInputStream &, Geo::u32)

    Load an instance of this class from an IGeoInputStream.

    Load(Geo::IGeoInputStream &, Geo::u32)

    Load an instance of this class from an IGeoInputStream.

    Release()

    Free this object that was created within the Enlighten libraries.

    Release()

    Free this object that was created within the Enlighten libraries.

    Save(IGeoStream &, Geo::u32)

    Save an instance of this class to an IGeoStream.

    Save(Geo::IGeoStream &, Geo::u32)

    Save an instance of this class to an IGeoStream.

    Typedefs

    Name Description
    Geo::GeoPair< Geo::s32, Geo::s32 > TextureSize

    Texture size of the output uv's.


    static GeometryDataBlock* Enlighten::GeometryDataBlock::Create


    public: GeometryDataBlock * Create()


    Create an empty object.


    static IPrecomputeLoaderGeometry* Enlighten::IPrecomputeLoaderGeometry::Create


    public: IPrecomputeLoaderGeometry * Create()


    Create an empty object.


    virtual const Geo::GeoGuid& Enlighten::GeometryDataBlock::GetId


    public: virtual const Geo::GeoGuid & GetId() const


    Get geometry id.


    virtual const Geo::GeoGuid& Enlighten::IPrecomputeLoaderGeometry::GetId


    public: const Geo::GeoGuid & GetId() const


    Get geometry id.


    virtual Geo::s32 Enlighten::GeometryDataBlock::GetLodCount


    public: virtual Geo::s32 GetLodCount() const


    Get number of lod's.


    virtual Geo::s32 Enlighten::IPrecomputeLoaderGeometry::GetLodCount


    public: Geo::s32 GetLodCount() const


    Get number of lod's.


    virtual Geo::s32 Enlighten::GeometryDataBlock::GetMeshCount


    public: virtual Geo::s32 GetMeshCount() const


    Get number of meshes.


    virtual Geo::s32 Enlighten::IPrecomputeLoaderGeometry::GetMeshCount


    public: Geo::s32 GetMeshCount() const


    Get number of meshes.


    virtual TextureSize Enlighten::GeometryDataBlock::GetOutputUvSize


    public: virtual TextureSize GetOutputUvSize
    (
        Geo::s32 lod
    ) const


    Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod.


    virtual TextureSize Enlighten::IPrecomputeLoaderGeometry::GetOutputUvSize


    public: TextureSize GetOutputUvSize
    (
        Geo::s32 lod
    ) const


    Returns the size of the UV texture for which the UV coordinates were calculated, for a given lod.


    virtual float Enlighten::GeometryDataBlock::GetSurfaceArea


    public: virtual float GetSurfaceArea
    (
        Geo::s32 lod
    ) const


    Get the estimated surface area of the geometry, for a given lod.


    virtual float Enlighten::IPrecomputeLoaderGeometry::GetSurfaceArea


    public: float GetSurfaceArea
    (
        Geo::s32 lod
    ) const


    Get the estimated surface area of the geometry, for a given lod.


    virtual float Enlighten::GeometryDataBlock::GetTargetUsagePercentage


    public: virtual float GetTargetUsagePercentage
    (
        Geo::s32 lod
    ) const


    Get the percentage of the output UV texture occupied, for a given lod.


    virtual float Enlighten::IPrecomputeLoaderGeometry::GetTargetUsagePercentage


    public: float GetTargetUsagePercentage
    (
        Geo::s32 lod
    ) const


    Get the percentage of the output UV texture occupied, for a given lod.


    virtual const Geo::GeoPoint2* Enlighten::IPrecomputeLoaderGeometry::GetUvs


    public: const Geo::GeoPoint2 * GetUvs
    (
        Geo::s32 lod,
        Geo::s32 idx
    ) const


    Get uvs array for the mesh index idx at given lod.


    virtual const Geo::GeoPoint2* Enlighten::GeometryDataBlock::GetUvs


    public: virtual const Geo::GeoPoint2 * GetUvs
    (
        Geo::s32 lod,
        Geo::s32 idx
    ) const


    Get uvs array for the mesh index idx at given lod.


    virtual Geo::s32 Enlighten::GeometryDataBlock::GetVerticesCount


    public: virtual Geo::s32 GetVerticesCount
    (
        Geo::s32 idx
    ) const


    Get number of vertices for the mesh index idx.


    virtual Geo::s32 Enlighten::IPrecomputeLoaderGeometry::GetVerticesCount


    public: Geo::s32 GetVerticesCount
    (
        Geo::s32 idx
    ) const


    Get number of vertices for the mesh index idx.


    virtual bool Geo::IGeoSerialisable::Load


    public: bool Load
    (
        IGeoInputStream & stream,
        Geo::u32 section
    )


    Load an instance of this class from an IGeoInputStream.

    The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


    virtual bool Enlighten::GeometryDataBlock::Load


    public: virtual bool Load
    (
        Geo::IGeoInputStream & stream,
        Geo::u32 section
    )


    Load an instance of this class from an IGeoInputStream.

    The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


    virtual void Geo::IGeoReleasable::Release


    public: void Release()


    Free this object that was created within the Enlighten libraries.

    Expect this to behave in a similar way to calling 'delete(this)'


    virtual void Enlighten::GeometryDataBlock::Release


    public: virtual void Release()


    Free this object that was created within the Enlighten libraries.

    Expect this to behave in a similar way to calling 'delete(this)'


    virtual bool Geo::IGeoSerialisable::Save


    public: bool Save
    (
        IGeoStream & stream,
        Geo::u32 section
    ) const


    Save an instance of this class to an IGeoStream.

    The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.


    virtual bool Enlighten::GeometryDataBlock::Save


    public: virtual bool Save
    (
        Geo::IGeoStream & stream,
        Geo::u32 section
    ) const


    Save an instance of this class to an IGeoStream.

    The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.

    , multiple selections available,

    Enlighten API 3.10 Documentation
    Results will update as you type.
    • 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
    • class Enlighten IBakeVisibilityBuffer
    • class Enlighten IClusteringOutput
    • class Enlighten IGpuTexture
    • class Enlighten IGpuTextureAllocator
    • class Enlighten IGpuTextureUpdater
    • class Enlighten ILightTransportOutput
    • class Enlighten ILimiter
    • class Enlighten ILogHandler
      Calendars

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 10, "requestCorrelationId": "cad25ecac80f4e25ba02bebd20b419ad"}