Share via


CompiledShader Members

The following tables list the members exposed by the CompiledShader type.

Public Constructors

Name Description
Public Method CompiledShader Initializes a new instance of the CompiledShader class.

Public Properties

Name Description
Public Property ErrorsAndWarnings Gets the first compile error message that occurred.
Public Property ShaderSize Gets the size of the shader byte code, in bytes.
Public Property ShaderVersion Gets the shader version of the compiled shader.
Public Property Success Returns a value indicating whether the shader compilation was successful.

Public Methods

Name Description
Public Method Equals (Inherited from ValueType.)
Public Method GetHashCode (Inherited from ValueType.)
Public Method GetInputSemantics Gets the semantics for the shader inputs. Use this method to determine the input vertex format.
Public Method GetOutputSemantics Gets the semantics for all shader output elements.
Public Method GetSamplers Gets the sampler names referenced in a shader.
Public Method GetShaderCode Gets the compiled shader code.
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Returns a String that represents the current CompiledShader.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

CompiledShader Structure
Microsoft.Xna.Framework.Graphics Namespace