This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Enlighten::BakeInputTexture

Texture object for the Baking.

Variables

Name Description
Geo::s32 m_Height

Texture height.

Enlighten::CpuTextureElement * m_TextureData

Texture content.

Geo::s32 m_Width

Texture width.

Functions

Name Description
ConvertToXindex(float)

Return the x coordinate given u.

ConvertToYindex(float)

Return the y coordinate given v.

SampleTexture(float, float)

Sample (nearest) the texture at (u,v) coordinate.


Geo::s32 Enlighten::BakeInputTexture::ConvertToXindex


public: Geo::s32 ConvertToXindex
(
    float u
) const


Return the x coordinate given u.


Geo::s32 Enlighten::BakeInputTexture::ConvertToYindex


public: Geo::s32 ConvertToYindex
(
    float v
) const


Return the y coordinate given v.


CpuTextureElement Enlighten::BakeInputTexture::SampleTexture


public: CpuTextureElement SampleTexture
(
    float u,
    float v
) const


Sample (nearest) the texture at (u,v) coordinate.

  • No labels