Render

public class Render : EngineInternalDelegate, LoggerDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    public let engine: Engine
  • Undocumented

    Declaration

    Swift

    public let logger: Logger
  • Undocumented

    Declaration

    Swift

    public var bits: LiveColor.Bits
  • Undocumented

    Declaration

    Swift

    public var colorSpace: LiveColor.Space
  • Undocumented

    Declaration

    Swift

    public var finalNode: NODE?
  • Undocumented

    Declaration

    Swift

    public var linkedNodes: [NODE]
  • Undocumented

    Declaration

    Swift

    public func linkIndex(of node: NODE) -> Int?
  • Undocumented

    Declaration

    Swift

    public var frame: Int
  • Undocumented

    Declaration

    Swift

    public var finalFrame: Int
  • Undocumented

    Declaration

    Swift

    public var seconds: CGFloat { get }
  • fps

    Undocumented

    Declaration

    Swift

    public var fps: Int { get }
  • Undocumented

    Declaration

    Swift

    public var finalFps: Int? { get }
  • Undocumented

    Declaration

    Swift

    public var fpsMax: Int { get }
  • Undocumented

    Declaration

    Swift

    public var metalDevice: MTLDevice!
  • Undocumented

    Declaration

    Swift

    public var commandQueue: MTLCommandQueue!
  • Undocumented

    Declaration

    Swift

    public var textureCache: CVMetalTextureCache!
  • Undocumented

    Declaration

    Swift

    public var metalLibrary: MTLLibrary!
  • Undocumented

    Declaration

    Swift

    public init(with metalLibName: String, in metalLibBundle: Bundle)
  • Undocumented

    Declaration

    Swift

    public func makeVertexShader(_ vertexShaderName: String, with customMetalLibrary: MTLLibrary? = nil) throws -> MTLFunction
  • Undocumented

    Declaration

    Swift

    public func makeTextureCache() throws -> CVMetalTextureCache
  • Undocumented

    Declaration

    Swift

    public func makeFrag(_ shaderName: String, with customMetalLibrary: MTLLibrary? = nil, from node: NODE) throws -> MTLFunction
  • Undocumented

    Declaration

    Swift

    public func makeMetalFrag(_ shaderName: String, from metalNode: NODEMetal) throws -> MTLFunction
  • Undocumented

    Declaration

    Swift

    public func makeMetalFrag(code: String, name: String) throws -> MTLFunction
  • Undocumented

    Declaration

    Swift

    public func makeShaderPipeline(_ fragmentShader: MTLFunction, with customVertexShader: MTLFunction? = nil, addMode: Bool = false) throws -> MTLRenderPipelineState
  • Undocumented

    Declaration

    Swift

    public func makeShaderPipeline3d(_ computeShader: MTLFunction) throws -> MTLComputePipelineState
  • Undocumented

    Declaration

    Swift

    public func makeSampler(interpolate: MTLSamplerMinMagFilter, extend: MTLSamplerAddressMode, mipFilter: MTLSamplerMipFilter, compare: MTLCompareFunction = .never) throws -> MTLSamplerState