Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 1.13 KB

id3dxtextureshader--setdefaults.md

File metadata and controls

66 lines (39 loc) · 1.13 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Sets the constants to the default values declared in the shader.
d7c18197-56b0-4951-9795-408856e85ad7
ID3DXTextureShader::SetDefaults method (D3DX9Shader.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXTextureShader.SetDefaults
COM
d3dx9.lib
d3dx9.dll

ID3DXTextureShader::SetDefaults method

Sets the constants to the default values declared in the shader.

Syntax

HRESULT SetDefaults();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXTextureShader