PhysicallyBased Module
Physically-based rendering operations.
Functions and values
| Function or value | Description |
Full Usage:
PhysicallyBased.AnimatedBoneIdsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.AnimatedNormalOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.AnimatedTexCoordsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.AnimatedVertexSize
Returns: int
|
|
|
|
Full Usage:
PhysicallyBased.AnimatedWeightsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.StaticNormalOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.StaticTexCoordsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.StaticVertexSize
Returns: int
|
|
|
|
Full Usage:
PhysicallyBased.TerrainBlends2Offset
Returns: int
|
|
Full Usage:
PhysicallyBased.TerrainBlendsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.TerrainNormalOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.TerrainTexCoordsOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.TerrainTintOffset
Returns: int
|
|
Full Usage:
PhysicallyBased.TerrainVertexSize
Returns: int
|
|
|
|
Full Usage:
PhysicallyBased.beginPhysicallyBasedDeferredSurfaces eyeCenter view projectionUnflipped materialSampler loadOperation colorAttachments depthAttachment resolution renderPassIndex pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
materialSampler : Sampler
loadOperation : LoadOperation
colorAttachments : VkImageView array
depthAttachment : Texture
resolution : Vector2i
renderPassIndex : int
pipeline : PhysicallyBasedPipeline
context : VulkanContext
Returns: VkDescriptorSet * VkDescriptorSet
|
|
Full Usage:
PhysicallyBased.beginPhysicallyBasedForwardSurfaces eyeCenter view projectionUnflipped lightCutoffMargin lightAmbientColor lightAmbientBrightness lightAmbientBoostCutoff lightAmbientBoostScalar lightShadowSamples lightShadowBias lightShadowSampleScalar lightShadowExponent lightShadowDensity fogEnabled fogType fogStart fogFinish fogDensity fogColor ssvfEnabled ssvfIntensity ssvfSteps ssvfAsymmetry ssrrEnabled ssrrIntensity ssrrDetail ssrrRefinementsMax ssrrRayThickness ssrrDistanceCutoff ssrrDistanceCutoffMargin ssrrEdgeHorizontalMargin ssrrEdgeVerticalMargin shadowNear depthTexture colorTexture brdfTexture irradianceMap environmentFilterMap unfilteredSampler filteredSampler materialSampler colorAttachment depthAttachment resolution renderPassIndex pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightCutoffMargin : single
lightAmbientColor : Color
lightAmbientBrightness : single
lightAmbientBoostCutoff : single
lightAmbientBoostScalar : single
lightShadowSamples : int
lightShadowBias : single
lightShadowSampleScalar : single
lightShadowExponent : single
lightShadowDensity : single
fogEnabled : int
fogType : int
fogStart : single
fogFinish : single
fogDensity : single
fogColor : Color
ssvfEnabled : int
ssvfIntensity : single
ssvfSteps : int
ssvfAsymmetry : single
ssrrEnabled : int
ssrrIntensity : single
ssrrDetail : single
ssrrRefinementsMax : int
ssrrRayThickness : single
ssrrDistanceCutoff : single
ssrrDistanceCutoffMargin : single
ssrrEdgeHorizontalMargin : single
ssrrEdgeVerticalMargin : single
shadowNear : single
depthTexture : Texture
colorTexture : Texture
brdfTexture : Texture
irradianceMap : Texture
environmentFilterMap : Texture
unfilteredSampler : Sampler
filteredSampler : Sampler
materialSampler : Sampler
colorAttachment : Texture
depthAttachment : Texture
resolution : Vector2i
renderPassIndex : int
pipeline : PhysicallyBasedPipeline
context : VulkanContext
Returns: VkDescriptorSet * VkDescriptorSet
|
|
Full Usage:
PhysicallyBased.beginPhysicallyBasedPipelines physicallyBasedPipelines
Parameters:
PhysicallyBasedPipelines
|
|
Full Usage:
PhysicallyBased.beginPhysicallyBasedShadowSurfaces cubeMapFace eyeCenter view projectionUnflipped lightShadowExponent loadOperation colorAttachment depthAttachment resolution renderPassIndex pipeline context
Parameters:
bool
eyeCenter : Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightShadowExponent : single
loadOperation : LoadOperation
colorAttachment : VkImageView
depthAttachment : Texture
resolution : Vector2i
renderPassIndex : int
pipeline : PhysicallyBasedShadowPipeline
context : VulkanContext
Returns: VkDescriptorSet
|
|
Full Usage:
PhysicallyBased.createFilterBloomApplyPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterBloomApplyPipeline
|
|
Full Usage:
PhysicallyBased.createFilterBloomDownSamplePipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterBloomDownSamplePipeline
|
|
Full Usage:
PhysicallyBased.createFilterBloomExtractPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterBloomExtractPipeline
|
|
Full Usage:
PhysicallyBased.createFilterBloomUpSamplePipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterBloomUpSamplePipeline
|
|
Full Usage:
PhysicallyBased.createFilterBoxPipeline shaderPath colorAttachmentFormat
Parameters:
string
colorAttachmentFormat : VkFormat
Returns: FilterBoxPipeline
|
|
Full Usage:
PhysicallyBased.createFilterChromaticAberrationPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterChromaticAberrationPipeline
|
|
Full Usage:
PhysicallyBased.createFilterDepthOfFieldPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterDepthOfFieldPipeline
|
|
Full Usage:
PhysicallyBased.createFilterDownSamplePipeline shaderFilePath colorAttachmentFormats
Parameters:
string
colorAttachmentFormats : VkFormat array
Returns: FilterDownSamplePipeline
|
|
Full Usage:
PhysicallyBased.createFilterFxaaPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterFxaaPipeline
|
|
Full Usage:
PhysicallyBased.createFilterGammaCorrectionPipeline colorAttachmentFormat
Parameters:
VkFormat
Returns: FilterGammaCorrectionPipeline
|
|
Full Usage:
PhysicallyBased.createFilterGaussianDofPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterGaussianDofPipeline
|
|
Full Usage:
PhysicallyBased.createFilterGaussianEsmPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterGaussianEsmPipeline
|
|
Full Usage:
PhysicallyBased.createFilterToneMappingPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: FilterToneMappingPipeline
|
|
Full Usage:
PhysicallyBased.createFilterUpSamplePipeline shaderFilePath colorAttachmentFormat
Parameters:
string
colorAttachmentFormat : VkFormat
Returns: FilterUpSamplePipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedAnimatedGeometries scene contextOpt
Parameters:
Scene
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry SList
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedAnimatedGeometry primitiveTopology vertexData indexData bounds contextOpt
Parameters:
VkPrimitiveTopology
vertexData : Memory<single>
indexData : Memory<int>
bounds : Box3
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedAnimatedGeometryFromMesh indexData mesh contextOpt
Parameters:
int[]
mesh : Mesh
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedAttachments geometryViewport context
Parameters:
Viewport
context : VulkanContext
Returns: PhysicallyBasedAttachments
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedBillboardGeometry contextOpt
Parameters:
VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedBillboardMesh ()
Parameters:
unit
Returns: float32[] * int array * Box3
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredAmbientPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredAmbientPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredColoringPipeline colorAttachmentFormats context
Parameters:
VkFormat array
context : VulkanContext
Returns: PhysicallyBasedDeferredColoringPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredCompositionPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredCompositionPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredEnvironmentFilterPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredEnvironmentFilterPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredFoggingPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredFoggingPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredIrradiancePipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredIrradiancePipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredLightMappingPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredLightMappingPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredLightingPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredLightingPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedDeferredSsaoPipeline colorAttachmentFormat context
Parameters:
VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredSsaoPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedMaterial dirPath defaultMaterial textureClient material contextOpt
Parameters:
string
defaultMaterial : PhysicallyBasedMaterial
textureClient : TextureClient
material : Material
contextOpt : VulkanContext option
Returns: PhysicallyBasedMaterialProperties * PhysicallyBasedMaterial
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedParticleGeometry contextOpt
Parameters:
VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedParticleMesh ()
Parameters:
unit
Returns: float32[] * int array * Box3
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedPipeline lightMapsMax lightsMax shaderPath blends cullModes vertexBindings colorAttachmentFormats depthTestOpt context
Parameters:
int
lightsMax : int
shaderPath : string
blends : VulkanBlend array
cullModes : bool array
vertexBindings : VertexBinding array
colorAttachmentFormats : VkFormat array
depthTestOpt : VkFormat option
context : VulkanContext
Returns: PhysicallyBasedPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedPipelines lightMapsMax lightsMax attachments context
Parameters:
int
lightsMax : int
attachments : PhysicallyBasedAttachments
context : VulkanContext
Returns: PhysicallyBasedPipelines
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedQuadGeometry contextOpt
Parameters:
VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedQuadMesh ()
Parameters:
unit
Returns: float32[] * int array * Box3
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedShadowPipeline shaderPath vertexBindings colorAttachmentFormats depthTestFormat context
Parameters:
string
vertexBindings : VertexBinding array
colorAttachmentFormats : VkFormat array
depthTestFormat : VkFormat
context : VulkanContext
Returns: PhysicallyBasedShadowPipeline
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedStaticGeometries scene contextOpt
Parameters:
Scene
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry SList
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedStaticGeometry primitiveTopology vertexData indexData bounds contextOpt
Parameters:
VkPrimitiveTopology
vertexData : Memory<single>
indexData : Memory<int>
bounds : Box3
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedStaticGeometryFromMesh indexData mesh contextOpt
Parameters:
int[]
mesh : Mesh
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedTerrainGeometry primitiveTopology vertexData indexData bounds contextOpt
Parameters:
VkPrimitiveTopology
vertexData : Memory<single>
indexData : Memory<int>
bounds : Box3
contextOpt : VulkanContext option
Returns: PhysicallyBasedGeometry
|
|
Full Usage:
PhysicallyBased.createPhysicallyBasedTerrainPipeline shaderFilePath colorAttachmentFormats depthTest context
Parameters:
string
colorAttachmentFormats : VkFormat array
depthTest : VkFormat
context : VulkanContext
Returns: PhysicallyBasedDeferredTerrainPipeline
|
|
Full Usage:
PhysicallyBased.destroyFilterBloomApplyPipeline bloomApplyPipeline context
Parameters:
FilterBloomApplyPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterBloomDownSamplePipeline bloomDownSamplePipeline context
Parameters:
FilterBloomDownSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterBloomExtractPipeline bloomExtractPipeline context
Parameters:
FilterBloomExtractPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterBloomUpSamplePipeline bloomUpSamplePipeline context
Parameters:
FilterBloomUpSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterBoxPipeline filterBoxPipeline context
Parameters:
FilterBoxPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterChromaticAberrationPipeline chromaticAberrationPipeline context
Parameters:
FilterChromaticAberrationPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterDepthOfFieldPipeline depthOfFieldPipeline context
Parameters:
FilterDepthOfFieldPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterDownSamplePipeline downSamplePipeline context
Parameters:
FilterDownSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterFxaaPipeline fxaaPipeline context
Parameters:
FilterFxaaPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterGammaCorrectionPipeline filterGammaCorrectionPipeline context
Parameters:
FilterGammaCorrectionPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterGaussianDofPipeline gaussianDofPipeline context
Parameters:
FilterGaussianDofPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterGaussianEsmPipeline gaussianEsmPipeline context
Parameters:
FilterGaussianEsmPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterToneMappingPipeline toneMappingPipeline context
Parameters:
FilterToneMappingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyFilterUpSamplePipeline upSamplePipeline context
Parameters:
FilterUpSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedAttachments attachments context
Parameters:
PhysicallyBasedAttachments
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredAmbientPipeline pipeline context
Parameters:
PhysicallyBasedDeferredAmbientPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredColoringPipeline pipeline context
Parameters:
PhysicallyBasedDeferredColoringPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredCompositionPipeline pipeline context
Parameters:
PhysicallyBasedDeferredCompositionPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredEnvironmentFilterPipeline pipeline context
Parameters:
PhysicallyBasedDeferredEnvironmentFilterPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredFoggingPipeline pipeline context
Parameters:
PhysicallyBasedDeferredFoggingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredIrradiancePipeline pipeline context
Parameters:
PhysicallyBasedDeferredIrradiancePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredLightMappingPipeline pipeline context
Parameters:
PhysicallyBasedDeferredLightMappingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredLightingPipeline pipeline context
Parameters:
PhysicallyBasedDeferredLightingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredSsaoPipeline ssaoPipeline context
Parameters:
PhysicallyBasedDeferredSsaoPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedDeferredTerrainPipeline pipeline context
Parameters:
PhysicallyBasedDeferredTerrainPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedGeometry geometry context
Parameters:
PhysicallyBasedGeometry
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedModel model context
Parameters:
PhysicallyBasedModel
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedPipeline pipeline context
Parameters:
PhysicallyBasedPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedPipelines physicallyBasedPipelines context
Parameters:
PhysicallyBasedPipelines
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.destroyPhysicallyBasedShadowPipeline physicallyBasedShadowPipeline context
Parameters:
PhysicallyBasedShadowPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterBloomApplySurface strength bloomApplyTexture compositionTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
single
bloomApplyTexture : Texture
compositionTexture : Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterBloomApplyPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterBloomDownSampleSurfaces karisAverageEnabled inputResolution inputTexture inputSampler colorAttachments resolution geometry pipeline context
Parameters:
bool
inputResolution : Vector2i
inputTexture : Texture
inputSampler : Sampler
colorAttachments : Texture array
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterBloomDownSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterBloomExtractSurface threshold inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
single
inputTexture : Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterBloomExtractPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterBloomUpSampleSurfaces radius inputTextures inputSampler resolution geometry pipeline context
Parameters:
single
inputTextures : Texture array
inputSampler : Sampler
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterBloomUpSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterBoxSurface inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterBoxPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterChromaticAberrationSurface channelOffsets focalPoint inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
Vector3
focalPoint : Vector2
inputTexture : Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterChromaticAberrationPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterDepthOfFieldSurface eyeCenter view projectionUnflipped nearDistance farDistance focalType focalDistance focalPoint depthTexture blurredTexture unblurredTexture unfilteredSampler colorAttachment resolution geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
nearDistance : single
farDistance : single
focalType : int
focalDistance : single
focalPoint : Vector2
depthTexture : Texture
blurredTexture : Texture
unblurredTexture : Texture
unfilteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterDepthOfFieldPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterDownSampleSurface colorTexture depthTexture filteredSampler colorAttachment depthAttachment resolution geometry pipeline context
Parameters:
Texture
depthTexture : Texture
filteredSampler : Sampler
colorAttachment : VkImageView
depthAttachment : VkImageView
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterDownSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterFxaaSurface spanMax reduceMinDivisor reduceMulDivisor inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
single
reduceMinDivisor : single
reduceMulDivisor : single
inputTexture : Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterFxaaPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterGammaCorrectionSurface inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterGammaCorrectionPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterGaussianDofSurface scale radius dofImageView filteredSampler colorAttachment resolution geometry pipeline context
Parameters:
Vector2
radius : single
dofImageView : VkImageView
filteredSampler : Sampler
colorAttachment : VkImageView
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterGaussianDofPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterGaussianEsmSurface scale radius esmImageView filteredSampler colorAttachment resolution geometry pipeline context
Parameters:
Vector2
radius : single
esmImageView : VkImageView
filteredSampler : Sampler
colorAttachment : VkImageView
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterGaussianEsmPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterToneMappingSurface lightExposure toneMapType toneMapSlope toneMapOffset toneMapPower toneMapSaturation toneMapWhitePoint inputTexture inputSampler colorAttachment resolution geometry pipeline context
Parameters:
single
toneMapType : ToneMapType
toneMapSlope : Vector3
toneMapOffset : Vector3
toneMapPower : Vector3
toneMapSaturation : single
toneMapWhitePoint : single
inputTexture : Texture
inputSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterToneMappingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawFilterUpSampleSurface downSampledColorTexture downSampledDepthTexture depthTexture filteredSampler colorAttachment resolution geometry pipeline context
Parameters:
Texture
downSampledDepthTexture : Texture
depthTexture : Texture
filteredSampler : Sampler
colorAttachment : VkImageView
resolution : Vector2i
geometry : PhysicallyBasedGeometry
pipeline : FilterUpSamplePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredAmbientSurface eyeCenter view projectionUnflipped lightMapFallbackAmbientColor lightMapFallbackAmbientBrightness lightMapAmbientColors lightMapAmbientBrightnesses depthTexture lightMappingTexture unfilteredSampler colorAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightMapFallbackAmbientColor : Color
lightMapFallbackAmbientBrightness : single
lightMapAmbientColors : Color array
lightMapAmbientBrightnesses : single array
depthTexture : Texture
lightMappingTexture : Texture
unfilteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredAmbientPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredColoringSurface eyeCenter view projectionUnflipped lightAmbientBoostCutoff lightAmbientBoostScalar ssrlEnabled ssrlIntensity ssrlDetail ssrlRefinementsMax ssrlRayThickness ssrlTowardEyeCutoff ssrlDepthCutoff ssrlDepthCutoffMargin ssrlDistanceCutoff ssrlDistanceCutoffMargin ssrlRoughnessCutoff ssrlRoughnessCutoffMargin ssrlSlopeCutoff ssrlSlopeCutoffMargin ssrlEdgeHorizontalMargin ssrlEdgeVerticalMargin depthTexture albedoTexture materialTexture normalPlusTexture clearCoatPlusTexture lightAccumTexture brdfTexture ambientTexture irradianceTexture environmentFilterTexture ssaoTexture unfilteredSampler filteredSampler coloringAttachment depthAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightAmbientBoostCutoff : single
lightAmbientBoostScalar : single
ssrlEnabled : int
ssrlIntensity : single
ssrlDetail : single
ssrlRefinementsMax : int
ssrlRayThickness : single
ssrlTowardEyeCutoff : single
ssrlDepthCutoff : single
ssrlDepthCutoffMargin : single
ssrlDistanceCutoff : single
ssrlDistanceCutoffMargin : single
ssrlRoughnessCutoff : single
ssrlRoughnessCutoffMargin : single
ssrlSlopeCutoff : single
ssrlSlopeCutoffMargin : single
ssrlEdgeHorizontalMargin : single
ssrlEdgeVerticalMargin : single
depthTexture : Texture
albedoTexture : Texture
materialTexture : Texture
normalPlusTexture : Texture
clearCoatPlusTexture : Texture
lightAccumTexture : Texture
brdfTexture : Texture
ambientTexture : Texture
irradianceTexture : Texture
environmentFilterTexture : Texture
ssaoTexture : Texture
unfilteredSampler : Sampler
filteredSampler : Sampler
coloringAttachment : Texture
depthAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredColoringPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredCompositionSurface eyeCenter view projectionUnflipped fogEnabled fogType fogStart fogFinish fogDensity fogColor depthTexture colorTexture fogAccumTexture unfilteredSampler compositionAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
fogEnabled : int
fogType : int
fogStart : single
fogFinish : single
fogDensity : single
fogColor : Color
depthTexture : Texture
colorTexture : Texture
fogAccumTexture : Texture
unfilteredSampler : Sampler
compositionAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredCompositionPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredEnvironmentFilterSurface eyeCenter view projectionUnflipped lightMapOrigins lightMapMins lightMapSizes lightMapAmbientColors lightMapAmbientBrightnesses depthTexture materialTexture normalPlusTexture clearCoatPlusTexture lightMappingTexture environmentFilterMap environmentFilterMaps unfilteredSampler filteredSampler colorAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightMapOrigins : Vector3 array
lightMapMins : Vector3 array
lightMapSizes : Vector3 array
lightMapAmbientColors : Color array
lightMapAmbientBrightnesses : single array
depthTexture : Texture
materialTexture : Texture
normalPlusTexture : Texture
clearCoatPlusTexture : Texture
lightMappingTexture : Texture
environmentFilterMap : Texture
environmentFilterMaps : Texture array
unfilteredSampler : Sampler
filteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredEnvironmentFilterPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredFoggingSurface eyeCenter view projectionUnflipped lightCutoffMargin ssvfIntensity ssvfSteps ssvfAsymmetry depthTexture shadowTextureArray shadowMaps shadowCascades lightMapsCount lightMapSingletonBlendMargin lightOrigins lightDirections lightColors lightBrightnesses lightAttenuationLinears lightAttenuationQuadratics lightCutoffs lightTypes lightConeInners lightConeOuters lightDesireFogs lightShadowIndices lightsCount shadowMatrices unfilteredSampler filteredSampler foggingAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightCutoffMargin : single
ssvfIntensity : single
ssvfSteps : int
ssvfAsymmetry : single
depthTexture : Texture
shadowTextureArray : Texture
shadowMaps : Texture array
shadowCascades : Texture array
lightMapsCount : int
lightMapSingletonBlendMargin : single
lightOrigins : Vector3 array
lightDirections : Vector3 array
lightColors : Color array
lightBrightnesses : single array
lightAttenuationLinears : single array
lightAttenuationQuadratics : single array
lightCutoffs : single array
lightTypes : int array
lightConeInners : single array
lightConeOuters : single array
lightDesireFogs : int array
lightShadowIndices : int array
lightsCount : int
shadowMatrices : Matrix4x4 array
unfilteredSampler : Sampler
filteredSampler : Sampler
foggingAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredFoggingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredIrradianceSurface eyeCenter view projectionUnflipped depthTexture normalPlusTexture lightMappingTexture irradianceMap irradianceMaps unfilteredSampler filteredSampler colorAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
depthTexture : Texture
normalPlusTexture : Texture
lightMappingTexture : Texture
irradianceMap : Texture
irradianceMaps : Texture array
unfilteredSampler : Sampler
filteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredIrradiancePipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredLightMappingSurface eyeCenter view projectionUnflipped lightMapOrigins lightMapMins lightMapSizes lightMapAmbientColors lightMapAmbientBrightnesses lightMapsCount lightMapSingletonBlendMargin lightsCount depthTexture normalPlusTexture unfilteredSampler colorAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightMapOrigins : Vector3 array
lightMapMins : Vector3 array
lightMapSizes : Vector3 array
lightMapAmbientColors : Color array
lightMapAmbientBrightnesses : single array
lightMapsCount : int
lightMapSingletonBlendMargin : single
lightsCount : int
depthTexture : Texture
normalPlusTexture : Texture
unfilteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredLightMappingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredLightingSurface eyeCenter view projectionUnflipped lightCutoffMargin lightShadowSamples lightShadowBias lightShadowSampleScalar lightShadowExponent lightShadowDensity sssEnabled depthTexture albedoTexture materialTexture normalPlusTexture subdermalPlusTexture scatterPlusTexture clearCoatPlusTexture shadowTextureArray shadowMaps shadowCascades lightOrigins lightDirections lightColors lightBrightnesses lightAttenuationLinears lightAttenuationQuadratics lightCutoffs lightTypes lightConeInners lightConeOuters lightDesireFogs lightShadowIndices lightsCount shadowNear shadowMatrices unfilteredSampler filteredSampler resolution renderPassIndex geometry lightAccumAttachment pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
lightCutoffMargin : single
lightShadowSamples : int
lightShadowBias : single
lightShadowSampleScalar : single
lightShadowExponent : single
lightShadowDensity : single
sssEnabled : int
depthTexture : Texture
albedoTexture : Texture
materialTexture : Texture
normalPlusTexture : Texture
subdermalPlusTexture : Texture
scatterPlusTexture : Texture
clearCoatPlusTexture : Texture
shadowTextureArray : Texture
shadowMaps : Texture array
shadowCascades : Texture array
lightOrigins : Vector3 array
lightDirections : Vector3 array
lightColors : Color array
lightBrightnesses : single array
lightAttenuationLinears : single array
lightAttenuationQuadratics : single array
lightCutoffs : single array
lightTypes : int array
lightConeInners : single array
lightConeOuters : single array
lightDesireFogs : int array
lightShadowIndices : int array
lightsCount : int
shadowNear : single
shadowMatrices : Matrix4x4 array
unfilteredSampler : Sampler
filteredSampler : Sampler
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
lightAccumAttachment : Texture
pipeline : PhysicallyBasedDeferredLightingPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredSsaoSurface eyeCenter view projectionUnflipped intensity bias radius distanceMax sampleCount depthTexture normalPlusTexture unfilteredSampler colorAttachment resolution renderPassIndex geometry pipeline context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
intensity : single
bias : single
radius : single
distanceMax : single
sampleCount : int
depthTexture : Texture
normalPlusTexture : Texture
unfilteredSampler : Sampler
colorAttachment : Texture
resolution : Vector2i
renderPassIndex : int
geometry : PhysicallyBasedGeometry
pipeline : PhysicallyBasedDeferredSsaoPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedDeferredSurfaces bones surfacesCount instanceFields material geometry eyeDescriptorSet samplerDescriptorSet pipeline context
Parameters:
Matrix4x4 array
surfacesCount : int
instanceFields : single array
material : PhysicallyBasedMaterial
geometry : PhysicallyBasedGeometry
eyeDescriptorSet : VkDescriptorSet
samplerDescriptorSet : VkDescriptorSet
pipeline : PhysicallyBasedPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedForwardSurfaces bones surfacesCount instanceFields irradianceMaps environmentFilterMaps shadowTextureArray shadowMaps shadowCascades lightMapOrigins lightMapMins lightMapSizes lightMapAmbientColors lightMapAmbientBrightnesses lightMapsCount lightMapSingletonBlendMargin lightOrigins lightDirections lightColors lightBrightnesses lightAttenuationLinears lightAttenuationQuadratics lightCutoffs lightTypes lightConeInners lightConeOuters lightDesireFogs lightShadowIndices lightsCount shadowMatrices material geometry depthTest blending uniformsDescriptorSet samplersDescriptorSet pipeline context
Parameters:
Matrix4x4 array
surfacesCount : int
instanceFields : single array
irradianceMaps : Texture array
environmentFilterMaps : Texture array
shadowTextureArray : Texture
shadowMaps : Texture array
shadowCascades : Texture array
lightMapOrigins : Vector3 array
lightMapMins : Vector3 array
lightMapSizes : Vector3 array
lightMapAmbientColors : Color array
lightMapAmbientBrightnesses : single array
lightMapsCount : int
lightMapSingletonBlendMargin : single
lightOrigins : Vector3 array
lightDirections : Vector3 array
lightColors : Color array
lightBrightnesses : single array
lightAttenuationLinears : single array
lightAttenuationQuadratics : single array
lightCutoffs : single array
lightTypes : int array
lightConeInners : single array
lightConeOuters : single array
lightDesireFogs : int array
lightShadowIndices : int array
lightsCount : int
shadowMatrices : Matrix4x4 array
material : PhysicallyBasedMaterial
geometry : PhysicallyBasedGeometry
depthTest : DepthTest
blending : bool
uniformsDescriptorSet : VkDescriptorSet
samplersDescriptorSet : VkDescriptorSet
pipeline : PhysicallyBasedPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedShadowSurfaces bones surfacesCount instanceFields material geometry uniformsDescriptorSet pipeline context
Parameters:
Matrix4x4 array
surfacesCount : int
instanceFields : single array
material : PhysicallyBasedMaterial
geometry : PhysicallyBasedGeometry
uniformsDescriptorSet : VkDescriptorSet
pipeline : PhysicallyBasedShadowPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.drawPhysicallyBasedTerrain shadowCubeMapFace eyeCenter view projectionUnflipped instanceFields lightShadowSamples lightShadowBias lightShadowSampleScalar lightShadowExponent lightShadowDensity materials materialSampler geometry colorAttachments depthAttachment resolution renderPassIndex pipeline context
Parameters:
bool
eyeCenter : Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
instanceFields : single array
lightShadowSamples : int
lightShadowBias : single
lightShadowSampleScalar : single
lightShadowExponent : single
lightShadowDensity : single
materials : PhysicallyBasedMaterial array
materialSampler : Sampler
geometry : PhysicallyBasedGeometry
colorAttachments : VkImageView array
depthAttachment : Texture
resolution : Vector2i
renderPassIndex : int
pipeline : PhysicallyBasedDeferredTerrainPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.endPhysicallyBasedDeferredSurfaces arg1 context
Parameters:
PhysicallyBasedPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.endPhysicallyBasedForwardSurfaces arg1 context
Parameters:
PhysicallyBasedPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.endPhysicallyBasedShadowSurfaces arg1 context
Parameters:
PhysicallyBasedShadowPipeline
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.reloadPhysicallyBasedShaders physicallyBasedPipelines context
Parameters:
PhysicallyBasedPipelines
context : VulkanContext
|
|
Full Usage:
PhysicallyBased.tryCreatePhysicallyBasedMaterials dirPath defaultMaterial textureClient scene contextOpt
Parameters:
string
defaultMaterial : PhysicallyBasedMaterial
textureClient : TextureClient
scene : Scene
contextOpt : VulkanContext option
Returns: Either<'a, (PhysicallyBasedMaterialProperties * PhysicallyBasedMaterial) array>
|
|
Full Usage:
PhysicallyBased.updatePhysicallyBasedAttachmentsSize geometryViewport attachments context
Parameters:
Viewport
attachments : PhysicallyBasedAttachments
context : VulkanContext
|
|
Nu