Home | History | Annotate | Download | only in Renderer

Lines Matching refs:Format

51 	enum Format : unsigned char
91 FORMAT_G16R16, // D3D format
98 FORMAT_A16B16G16R16, // D3D format
247 Format format;
254 Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice);
255 Surface(Resource *texture, int width, int height, int depth, Format format, bool lockable, bool renderTarget, int pitchP = 0);
264 inline Format getFormat(bool internal = false) const;
272 inline Format getExternalFormat() const;
280 inline Format getInternalFormat() const;
320 static int bytes(Format format);
321 static int pitchB(int width, Format format, bool target);
322 static int pitchP(int width, Format format, bool target);
323 static int sliceB(int width, int height, Format format, bool target);
324 static int sliceP(int width, int height, Format format, bool target);
325 static unsigned int size(int width, int height, int depth, Format format); // FIXME: slice * depth
327 static bool isStencil(Format format);
328 static bool isDepth(Format format);
329 static bool isPalette(Format format);
331 static bool isFloatFormat(Format format);
332 static bool isUnsignedComponent(Format format, int component);
333 static bool isSRGBreadable(Format format);
334 static bool isSRGBwritable(Format format);
335 static bool isCompressed(Format format);
336 static bool isNonNormalizedInteger(Format format);
337 static int componentCount(Format format);
445 static void *allocateBuffer(int width, int height, int depth, Format format);
449 Format selectInternalFormat(Format format) const;
501 Format Surface::getFormat(bool internal) const
526 Format Surface::getExternalFormat() const
528 return external.format;
551 Format Surface::getInternalFormat() const
553 return internal.format;