CompiledShader Members
The following tables list the members exposed by the CompiledShader type.
Public Constructors
Name | Description | |
---|---|---|
CompiledShader | Initializes a new instance of the CompiledShader class. |
Public Properties
Name | Description | |
---|---|---|
ErrorsAndWarnings | Gets the first compile error message that occurred. | |
ShaderSize | Gets the size of the shader byte code, in bytes. | |
ShaderVersion | Gets the shader version of the compiled shader. | |
Success | Returns a value indicating whether the shader compilation was successful. |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from ValueType.) | |
GetHashCode | (Inherited from ValueType.) | |
GetInputSemantics | Gets the semantics for the shader inputs. Use this method to determine the input vertex format. | |
GetOutputSemantics | Gets the semantics for all shader output elements. | |
GetSamplers | Gets the sampler names referenced in a shader. | |
GetShaderCode | Gets the compiled shader code. | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | Returns a String that represents the current CompiledShader. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
CompiledShader Structure
Microsoft.Xna.Framework.Graphics Namespace