IDirect3DRMTexture::GetDecalSize

Retrieves the size of the decal.

HRESULT GetDecalSize(
D3DVALUE *lprvWidth,
D3DVALUE *lprvHeight
);

Parameters

lprvWidth and lprvHeight

Addresses of variables that will be filled with the width and height of the decal when the method returns.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

See Also

IDirect3DRMTexture::SetDecalSize