This is the documentation for Enlighten.
class Enlighten RgbmCpuTextureSampler
class Enlighten::RgbmCpuTextureSampler
└>Enlighten::CpuTextureSamplerBase< 4 >
RGBM texture sampler.
Functions
Name | Description |
|---|---|
CpuTextureSamplerBase(const void *, Geo::s32, Geo::s32, Geo::s32) | Constructor. |
Gets the height of the texture. | |
Gets the index into the raw pixel data of the given co-ordinates. | |
Gets the pixel value at the given co-ordinates. | |
Gets the width of the texture. | |
RgbmCpuTextureSampler(const void *, Geo::s32, Geo::s32, Geo::s32, eOutputFormatByteOrder, float) | Constructor. |
Variables
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.