Class VKShader
This class represents a native shader object on Metal.
Implements
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKShader : Shader, IDisposable
  Constructors
VKShader(GraphicsContext, ref ShaderDescription)
Initializes a new instance of the VKShader class.
Declaration
public VKShader(GraphicsContext context, ref ShaderDescription description)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsContext | context | The graphics context.  | 
      
| ShaderDescription | description | The shader description.  | 
      
Fields
ShaderModule
The native vulkan shader object.
Declaration
public readonly VkShaderModule ShaderModule
  Field Value
| Type | Description | 
|---|---|
| VkShaderModule | 
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
NativePointer
Gets the native pointer.
Declaration
public override IntPtr NativePointer { get; }
  Property Value
| Type | Description | 
|---|---|
| IntPtr | 
Overrides
ShaderStateInfo
Gets the ShaderStateInfo using in the pipelinestate.
Declaration
public VkPipelineShaderStageCreateInfo ShaderStateInfo { get; }
  Property Value
| Type | Description | 
|---|---|
| VkPipelineShaderStageCreateInfo | 
Methods
Dispose()
Dispose this instance.
Declaration
public override void Dispose()