Contour Module
Slug GPU contour pipeline (analytic coverage via horizontal + vertical ray casting).
Functions and values
| Function or value | Description |
Full Usage:
Contour.BandDataSizeInitial
Returns: int
|
|
Full Usage:
Contour.CurvesMax
Returns: int
|
|
Full Usage:
Contour.ShapeDataSizeInitial
Returns: int
|
|
Full Usage:
Contour.createPipeline resolveTextureFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: VulkanBuffer * VulkanBuffer * VulkanBuffer * VulkanBuffer * VulkanBuffer * Pipeline
|
|
Full Usage:
Contour.drawContour contour absolute viewProjectionClipAbsolute viewProjectionClipRelative modelViewProjection clipOpt viewport resolveTexture (arg9, arg10, arg11, arg12, arg13, arg14) context
Parameters:
Contour
absolute : bool
viewProjectionClipAbsolute : inref<Matrix4x4>
viewProjectionClipRelative : inref<Matrix4x4>
modelViewProjection : inref<Matrix4x4>
clipOpt : inref<Box2 voption>
viewport : Viewport
resolveTexture : Texture
arg8 : VulkanBuffer
arg9 : VulkanBuffer
arg10 : VulkanBuffer
arg11 : VulkanBuffer
arg12 : VulkanBuffer
arg13 : Pipeline
context : VulkanContext
|
|
Full Usage:
Contour.drawContourSlugGeometry geometry color absolute viewProjectionClipAbsolute viewProjectionClipRelative modelViewProjection clipOpt viewport resolveTexture (arg10, arg11, arg12, arg13, arg14, arg15) context
Parameters:
ContourSlugGeometry
color : Color
absolute : bool
viewProjectionClipAbsolute : inref<Matrix4x4>
viewProjectionClipRelative : inref<Matrix4x4>
modelViewProjection : inref<Matrix4x4>
clipOpt : inref<Box2 voption>
viewport : Viewport
resolveTexture : Texture
arg9 : VulkanBuffer
arg10 : VulkanBuffer
arg11 : VulkanBuffer
arg12 : VulkanBuffer
arg13 : VulkanBuffer
arg14 : Pipeline
context : VulkanContext
|
|
Nu