ID3D10EffectConstantBuffer::SetTextureBuffer method (d3d10effect.h)

Set a texture-buffer.

Syntax

HRESULT SetTextureBuffer(
  [in] ID3D10ShaderResourceView *pTextureBuffer
);

Parameters

[in] pTextureBuffer

Type: ID3D10ShaderResourceView*

A pointer to a shader-resource-view interface for accessing a texture buffer.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectConstantBuffer Interface