 |
EffectsManagerGetVertexShader Method |
GetVertexShader returns a SharedDXResourceWrapper with VertexShader specified by the vertexShaderResourceName.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic 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