Home | History | Annotate | Download | only in common

Lines Matching defs:depth

111  * \param depth		Depth
114 ConstPixelBufferAccess getSubregion (const ConstPixelBufferAccess& access, int x, int y, int z, int width, int height, int depth)
118 DE_ASSERT(de::inBounds(z, 0, access.getDepth()) && de::inRange(z+depth, z, access.getDepth()));
119 return ConstPixelBufferAccess(access.getFormat(), width, height, depth, access.getRowPitch(), access.getSlicePitch(),
131 * \param depth Depth
134 PixelBufferAccess getSubregion (const PixelBufferAccess& access, int x, int y, int z, int width, int height, int depth)
138 DE_ASSERT(de::inBounds(z, 0, access.getDepth()) && de::inRange(z+depth, z, access.getDepth()));
139 return PixelBufferAccess(access.getFormat(), width, height, depth, access.getRowPitch(), access.getSlicePitch(),
257 Vec4(0.0f, 0.0f, 0.0f, 0.0f)); // Depth / stencil formats.
528 void clearDepth (const PixelBufferAccess& access, float depth)
541 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixDepth(depth, 0, 0);
552 access.setPixDepth(depth, x, y, z);
781 int depth = dst.getDepth();
783 DE_ASSERT(src.getWidth() == width && src.getHeight() == height && src.getDepth() == depth);
790 for (int z = 0; z < depth; z++)
805 for (int z = 0; z < depth; z++)
812 for (int z = 0; z < depth; z++)