Lines Matching defs:const
38 Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples = 1, const int levels = 1);
39 Texture (const Texture& other, const int samples);
41 ImageType type (void) const { return m_type; } //!< Texture type
42 tcu::IVec3 layerSize (const int mipLevel = 0) const; //!< Size of a single layer for mipmap level 0
43 int numLayers (void) const { return m_numLayers; } //!< Number of array layers (for array and cube types)
44 int numSamples (void) const { return m_numSamples; } //!< Number of samples per texel (multisampled texture)
46 tcu::IVec3 size (const int mipLevel = 0) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture) for mipmap level 0
47 int dimension (void) const; //!< Coordinate dimension used for addressing (e.g. 3 (x,y,z) for 2d array)
48 int layerDimension (void) const; //!< Coordinate dimension used for addressing a single layer (e.g. 2 (x,y) for 2d array)
50 int numMipmapLevels (void) const { return m_numMipmapLevels; } //!< Number of levels of detail (mipmap texture)
53 void checkInvariants (void) const;
55 const tcu::IVec3 m_layerSize;
56 const ImageType m_type;
57 const int m_numLayers;
58 const int m_numSamples;
59 const int m_numMipmapLevels;
62 inline bool isCube (const Texture& texture)