|
EffectsManagerGetVertexShader Method |
GetVertexShader returns a SharedDXResourceWrapper with VertexShader specified by the vertexShaderResourceName.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax 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
SharedDXResourceWrapperVertexShaderSharedDXResourceWrapper with VertexShader
See Also