Click or drag to resize
AB4D logo

EffectsManagerGetVertexShader Method

GetVertexShader returns a SharedDXResourceWrapper with VertexShader specified by the vertexShaderResourceName.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public virtual SharedDXResourceWrapper<VertexShader> GetVertexShader(
	string vertexShaderResourceName,
	InputElement[] vertexLayoutDesc,
	out SharedDXResourceWrapper<InputLayout> inputLayoutSharedResource,
	bool throwExceptionIfNotFound = true
)

Parameters

vertexShaderResourceName  String
name of the resource
vertexLayoutDesc  InputElement
vertex layout description as array of InputElements
inputLayoutSharedResource  SharedDXResourceWrapperInputLayout
out SharedDXResourceWrapper with InputLayout
throwExceptionIfNotFound  Boolean  (Optional)
if true and exception is thrown if shader is not found; else null is returned

Return Value

SharedDXResourceWrapperVertexShader
SharedDXResourceWrapper with VertexShader
See Also