Search Results for

    Show / Hide Table of Contents

    Class VKShader

    This class represents a native shader object in Metal.

    Inheritance
    object
    GraphicsResource
    Shader
    VKShader
    Inherited Members
    Shader.Description
    Shader.GetHashCode()
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.Disposed
    Namespace: Evergine.Vulkan
    Assembly: Evergine.Vulkan.dll
    Syntax
    public class VKShader : Shader

    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 debugger tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    Shader.Name

    NativePointer

    Gets the native pointer.

    Declaration
    public override nint NativePointer { get; }
    Property Value
    Type Description
    nint
    Overrides
    GraphicsResource.NativePointer

    ShaderStateInfo

    Gets the ShaderStateInfo used in the pipeline state.

    Declaration
    public VkPipelineShaderStageCreateInfo ShaderStateInfo { get; }
    Property Value
    Type Description
    VkPipelineShaderStageCreateInfo

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public override void Dispose()
    Overrides
    GraphicsResource.Dispose()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX