ID3D11Device::CreateHullShader Method

Create a hull shader.

Syntax

HRESULT CreateHullShader(
  const void *pShaderBytecode,
  SIZE_T BytecodeLength,
  ID3D11ClassLinkage *pClassLinkage,
  ID3D11HullShader **ppHullShader
);

Parameter

pShaderBytecode

Typ: const void*

A pointer to a compiled shader.

BytecodeLength

Typ: SIZE_T

Size of the compiled shader.

pClassLinkage

Typ: ID3D11ClassLinkage*

A pointer to a class linkage interface (see ID3D11ClassLinkage); the value can be NULL.

ppHullShader

Typ: ID3D11HullShader**

A pointer to a hull-shader interface (see ID3D11HullShader).

Rückgabewert

Typ: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11Device

 

 

Anzeigen: