IDirect3DRMTexture::SetDecalSize
HRESULT SetDecalSize(D3DVALUE rvWidth, D3DVALUE rvHeight);
Sets the size of the decal to be used if the decal is being scaled according to its depth in the scene.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
rvWidth and rvHeight
New width and height, in model coordinates, of the decal. The default size is [1, 1].