Home | History | Annotate | Download | only in common

Lines Matching refs:m_numLevels

416 	int								getNumLevels		(void) const	{ return m_numLevels;										}
417 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
418 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
427 int m_numLevels;
432 : m_numLevels (numLevels)
435 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels));
440 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod);
445 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0));
450 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0));
455 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0));
466 int getNumLevels (void) const { return m_numLevels; }
467 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
468 int getHeight (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; }
469 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels
481 int m_numLevels;
486 : m_numLevels (numLevels)
489 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels));
494 return sampleLevelArray2D(m_levels, m_numLevels, sampler, s, t, 0 /* depth */, lod);
499 return sampleLevelArray2DOffset(m_levels, m_numLevels, sampler, s, t, lod, IVec3(offset.x(), offset.y(), 0));
504 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(0, 0, 0));
509 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(offset.x(), offset.y(), 0));
679 int getNumLevels (void) const { return m_numLevels; }
680 int getSize (void) const { return m_numLevels > 0 ? m_levels[0][0].getWidth() : 0; }
681 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[face][ndx]; }
691 int m_numLevels;
764 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
765 int getNumLayers (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; }
766 int getNumLevels (void) const { return m_numLevels; }
767 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
778 int m_numLevels;
790 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
791 int getHeight (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; }
792 int getNumLayers (void) const { return m_numLevels > 0 ? m_levels[0].getDepth() : 0; }
793 int getNumLevels (void) const { return m_numLevels; }
794 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
808 int m_numLevels;
947 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
948 int getHeight (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; }
949 int getDepth (void) const { return m_numLevels > 0 ? m_levels[0].getDepth() : 0; }
950 int getNumLevels (void) const { return m_numLevels; }
951 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
958 int m_numLevels;
964 return sampleLevelArray3D(m_levels, m_numLevels, sampler, s, t, r, lod);
969 return sampleLevelArray3DOffset(m_levels, m_numLevels, sampler, s, t, r, lod, offset);
1026 int getSize (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; }
1027 int getDepth (void) const { return m_numLevels > 0 ? m_levels[0].getDepth() : 0; }
1029 int getNumLevels (void) const { return m_numLevels; }
1030 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
1041 int m_numLevels;