ReactOS  0.4.14-dev-323-g6fe6a88
pixel_format_desc Struct Reference

#include <d3dx9_private.h>

Collaboration diagram for pixel_format_desc:

Public Attributes

D3DFORMAT format
 
BYTE bits [4]
 
BYTE shift [4]
 
UINT bytes_per_pixel
 
UINT block_width
 
UINT block_height
 
UINT block_byte_count
 
enum format_type type
 
void(* from_rgba )(const struct vec4 *src, struct vec4 *dst)
 
void(* to_rgba )(const struct vec4 *src, struct vec4 *dst, const PALETTEENTRY *palette)
 

Detailed Description

Definition at line 57 of file d3dx9_private.h.

Member Data Documentation

◆ bits

BYTE pixel_format_desc::bits[4]

Definition at line 59 of file d3dx9_private.h.

Referenced by D3DXCheckTextureRequirements(), and init_argb_conversion_info().

◆ block_byte_count

UINT pixel_format_desc::block_byte_count

Definition at line 64 of file d3dx9_private.h.

Referenced by calculate_dds_surface_size(), and D3DXLoadVolumeFromMemory().

◆ block_height

UINT pixel_format_desc::block_height

◆ block_width

UINT pixel_format_desc::block_width

◆ bytes_per_pixel

◆ format

D3DFORMAT pixel_format_desc::format

◆ from_rgba

void(* pixel_format_desc::from_rgba) (const struct vec4 *src, struct vec4 *dst)

Definition at line 66 of file d3dx9_private.h.

◆ shift

BYTE pixel_format_desc::shift[4]

Definition at line 60 of file d3dx9_private.h.

Referenced by init_argb_conversion_info().

◆ to_rgba

void(* pixel_format_desc::to_rgba) (const struct vec4 *src, struct vec4 *dst, const PALETTEENTRY *palette)

Definition at line 67 of file d3dx9_private.h.

Referenced by convert_argb_pixels(), and point_filter_argb_pixels().

◆ type


The documentation for this struct was generated from the following file: