Documentation
¶
Overview ¶
Package mtltoolsshaderprofiler provides Go bindings for the mtltoolsshaderprofiler framework.
Key Types ¶
- DYMTLShaderProfiler
- DYMTLShaderProfilerResult
- MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- DYMTLShaderProfilerShaderInfo
- MTLGRCPerFrameDataClass
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func NewVoidBlock(handler VoidHandler) (objc.ID, func())
- func SymbolAddress(name string) (uintptr, error)
- type CounterIndexInfo
- type DYMTLShaderProfiler
- func (d DYMTLShaderProfiler) AddBlitTimesToEffectiveKickTimes(times objectivec.IObject) error
- func (d DYMTLShaderProfiler) AddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo(info objectivec.IObject, result objectivec.IObject, info2 objectivec.IObject) error
- func (d DYMTLShaderProfiler) AnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath(result objectivec.IObject, path objectivec.IObject) error
- func (d DYMTLShaderProfiler) Autorelease() DYMTLShaderProfiler
- func (d DYMTLShaderProfiler) CalculatePerDrawCosts(costs objectivec.IObject) error
- func (d DYMTLShaderProfiler) CalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo(shaders objectivec.IObject, result objectivec.IObject, info objectivec.IObject) error
- func (d DYMTLShaderProfiler) CalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo(shaders objectivec.IObject, result objectivec.IObject, info objectivec.IObject) error
- func (d DYMTLShaderProfiler) CanAddBlitTimesToEffectiveKickTimes() bool
- func (d DYMTLShaderProfiler) CanAddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo() bool
- func (d DYMTLShaderProfiler) CanAnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath() bool
- func (d DYMTLShaderProfiler) CanCalculatePerDrawCosts() bool
- func (d DYMTLShaderProfiler) CanCalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo() bool
- func (d DYMTLShaderProfiler) CanCalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo() bool
- func (d DYMTLShaderProfiler) CanCollectBatchFilteredDataForShaderProfilerResultOverrideGT() bool
- func (d DYMTLShaderProfiler) CanConstructPayload() bool
- func (d DYMTLShaderProfiler) CanCreatePerCounterCommandDataWithPerCommandData() bool
- func (d DYMTLShaderProfiler) CanDumpTraceProfileDataForResult() bool
- func (d DYMTLShaderProfiler) CanEffectiveBatchDrawKickTimesForShaderProfilerResult() bool
- func (d DYMTLShaderProfiler) CanGatherStaticInformation() bool
- func (d DYMTLShaderProfiler) CanGenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap() bool
- func (d DYMTLShaderProfiler) CanGetLegacyProgramType() bool
- func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResult() bool
- func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex() bool
- func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex() bool
- func (d DYMTLShaderProfiler) CanPreProcessUSCSampleDataResultTargetIndex() bool
- func (d DYMTLShaderProfiler) CanPreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap() bool
- func (d DYMTLShaderProfiler) CanProcessDerivedEncoderCounterDataForDerivedEncoderData() bool
- func (d DYMTLShaderProfiler) CanProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime() bool
- func (d DYMTLShaderProfiler) CanProcessFrameTimeDataForProcessedFrameTimeData() bool
- func (d DYMTLShaderProfiler) CanProcessHarvestedBinaryDataForStreamedData() bool
- func (d DYMTLShaderProfiler) CanQueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture() bool
- func (d DYMTLShaderProfiler) CanSaveAddressListSizeFilename() bool
- func (d DYMTLShaderProfiler) CanSaveAddressMappingsFilename() bool
- func (d DYMTLShaderProfiler) CanSaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps() bool
- func (d DYMTLShaderProfiler) CanSetupFragmentEncoderCountersPerDrawCall() bool
- func (d DYMTLShaderProfiler) CanSetupLimiterInfoPerDrawCallForPayload() bool
- func (d DYMTLShaderProfiler) CanShouldUseProgramAddressMappings() bool
- func (d DYMTLShaderProfiler) CanShowDrawCallDataforResult() bool
- func (d DYMTLShaderProfiler) CanUpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices() bool
- func (d DYMTLShaderProfiler) CanUpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer() bool
- func (d DYMTLShaderProfiler) CanVisitAllShaderInfosInResultUsingBlock() bool
- func (d DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultGT(gt objectivec.IObject)
- func (d DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultOverrideGT(gt objectivec.IObject) error
- func (d DYMTLShaderProfiler) ComputeFromFrameInfoResultForFuture(result objectivec.IObject, future objectivec.IObject) objectivec.IObject
- func (d DYMTLShaderProfiler) ComputeFromShaderInfoResultForPayloadForFuture(result objectivec.IObject, payload objectivec.IObject, ...) objectivec.IObject
- func (d DYMTLShaderProfiler) ConstructPayload() (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) CreatePerCounterCommandDataWithPerCommandData(data objectivec.IObject, data2 objectivec.IObject) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) DumpTraceProfileDataForResult(result objectivec.IObject) error
- func (d DYMTLShaderProfiler) EffectiveBatchDrawKickTimesForShaderProfilerResult(times objectivec.IObject, result objectivec.IObject) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock(result objectivec.IObject, dictionary objectivec.IObject, block VoidHandler)
- func (d DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlockSync(ctx context.Context, result objectivec.IObject, dictionary objectivec.IObject) error
- func (d DYMTLShaderProfiler) GatherStaticInformation() (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) GenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap(result objectivec.IObject, lut unsafe.Pointer, min uint32, max uint32, ...) error
- func (d DYMTLShaderProfiler) GetLegacyProgramType(type_ objectivec.IObject) (uint32, error)
- func (d DYMTLShaderProfiler) HandleCaptureSessionTearDown()
- func (d DYMTLShaderProfiler) Init() DYMTLShaderProfiler
- func (d DYMTLShaderProfiler) MergeLegacyAndNewShadersInShaderInfoDictionary(dictionary objectivec.IObject) objectivec.IObject
- func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResult(data objectivec.IObject, result objectivec.IObject) error
- func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex(data objectivec.IObject, result objectivec.IObject, data2 objectivec.IObject, ...) error
- func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex(data objectivec.IObject, result objectivec.IObject, ...) error
- func (d DYMTLShaderProfiler) PreProcessUSCSampleDataResultTargetIndex(data objectivec.IObject, result objectivec.IObject, index int32) error
- func (d DYMTLShaderProfiler) PreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap(result objectivec.IObject, encoder *uint64, map_ unsafe.Pointer, ...) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) ProcessDerivedEncoderCounterDataForDerivedEncoderData(data objectivec.IObject, data2 objectivec.IObject) error
- func (d DYMTLShaderProfiler) ProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime(data objectivec.IObject, data2 objectivec.IObject, payload objectivec.IObject, ...) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) ProcessFrameTimeDataForProcessedFrameTimeData(data objectivec.IObject, data2 objectivec.IObject) error
- func (d DYMTLShaderProfiler) ProcessHarvestedBinaryDataForStreamedData(data objectivec.IObject, data2 objectivec.IObject) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) QueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult(delegate objectivec.IObject, result objectivec.IObject, ...) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) QueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture(aPSData objectivec.IObject, delegate objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) QueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture(aPSData objectivec.IObject, delegate objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) QueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture(data objectivec.IObject, delegate objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) QueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture(gt objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture(override objectivec.IObject, delegate objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture(gt objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, ...) (bool, error)
- func (d DYMTLShaderProfiler) SaveAddressListSizeFilename(list *DYMTLShaderProfilerProgramAddress, size uint32, filename string) error
- func (d DYMTLShaderProfiler) SaveAddressMappingsFilename(mappings objectivec.IObject, filename string) error
- func (d DYMTLShaderProfiler) SaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps(counters *uint64, size uint32, filename string, stamps *uint64) error
- func (d DYMTLShaderProfiler) SetupFragmentEncoderCountersPerDrawCall(call objectivec.IObject) error
- func (d DYMTLShaderProfiler) SetupLimiterInfoPerDrawCallForPayload(call objectivec.IObject, payload objectivec.IObject) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) ShouldUseProgramAddressMappings(mappings objectivec.IObject) (bool, error)
- func (d DYMTLShaderProfiler) ShowDrawCallDataforResult(result objectivec.IObject) error
- func (d DYMTLShaderProfiler) UpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices(counters uint32, result objectivec.IObject, data objectivec.IObject, ...) (objectivec.IObject, error)
- func (d DYMTLShaderProfiler) UpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer(info objectivec.IObject, ex objectivec.IObject, info2 objectivec.IObject, ...) error
- func (d DYMTLShaderProfiler) VisitAllShaderInfosInResultUsingBlock(result objectivec.IObject, block VoidHandler) error
- type DYMTLShaderProfilerClass
- type DYMTLShaderProfilerProgramAddress
- type DYMTLShaderProfilerResult
- func (d DYMTLShaderProfilerResult) AddPerLineCostTo(cost objectivec.IObject, to objectivec.IObject) error
- func (d DYMTLShaderProfilerResult) Autorelease() DYMTLShaderProfilerResult
- func (d DYMTLShaderProfilerResult) BlitEncoderTimeInfo() foundation.INSDictionary
- func (d DYMTLShaderProfilerResult) CanAddPerLineCostTo() bool
- func (d DYMTLShaderProfilerResult) CanDividePerLineCostBy() bool
- func (d DYMTLShaderProfilerResult) DividePerLineCostBy(cost objectivec.IObject, by float64) error
- func (d DYMTLShaderProfilerResult) EncoderCount() uint32
- func (d DYMTLShaderProfilerResult) EncoderTilerParamBufBytesUsedArray() foundation.INSArray
- func (d DYMTLShaderProfilerResult) Init() DYMTLShaderProfilerResult
- func (d DYMTLShaderProfilerResult) ParameterBufferMaxSize() foundation.NSNumber
- func (d DYMTLShaderProfilerResult) ParameterBufferMaxSizeEverMemless() foundation.NSNumber
- func (d DYMTLShaderProfilerResult) ParameterBufferMaxSizeNeverMemless() foundation.NSNumber
- func (d DYMTLShaderProfilerResult) ParameterBufferPercentFullDict() foundation.INSDictionary
- func (d DYMTLShaderProfilerResult) PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex(path objectivec.IObject, set unsafe.Pointer, index uint32) objectivec.IObject
- func (d DYMTLShaderProfilerResult) PerRingPerFrameLimiterData() foundation.INSDictionary
- func (d DYMTLShaderProfilerResult) SetBlitEncoderTimeInfo(value foundation.INSDictionary)
- func (d DYMTLShaderProfilerResult) SetEncoderCount(value uint32)
- func (d DYMTLShaderProfilerResult) SetEncoderTilerParamBufBytesUsedArray(value foundation.INSArray)
- func (d DYMTLShaderProfilerResult) SetHasCost(value bool)
- func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSize(value foundation.NSNumber)
- func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSizeEverMemless(value foundation.NSNumber)
- func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSizeNeverMemless(value foundation.NSNumber)
- func (d DYMTLShaderProfilerResult) SetParameterBufferPercentFullDict(value foundation.INSDictionary)
- func (d DYMTLShaderProfilerResult) SetPerRingPerFrameLimiterData(value foundation.INSDictionary)
- func (d DYMTLShaderProfilerResult) SetShaderProfilingFrameTimes(value foundation.INSArray)
- func (d DYMTLShaderProfilerResult) SetShaderProfilingTime(value float64)
- func (d DYMTLShaderProfilerResult) SetSoftwareCounterInfo(value foundation.INSDictionary)
- func (d DYMTLShaderProfilerResult) ShaderProfilingFrameTimes() foundation.INSArray
- func (d DYMTLShaderProfilerResult) ShaderProfilingTime() float64
- func (d DYMTLShaderProfilerResult) SoftwareCounterInfo() foundation.INSDictionary
- type DYMTLShaderProfilerResultClass
- type DYMTLShaderProfilerShaderInfo
- func DYMTLShaderProfilerShaderInfoFromID(id objc.ID) DYMTLShaderProfilerShaderInfo
- func NewDYMTLShaderProfilerShaderInfo() DYMTLShaderProfilerShaderInfo
- func NewDYMTLShaderProfilerShaderInfoWithCoder(coder objectivec.IObject) DYMTLShaderProfilerShaderInfo
- func NewDYMTLShaderProfilerShaderInfoWithLibraryId(id uint64) DYMTLShaderProfilerShaderInfo
- func (d DYMTLShaderProfilerShaderInfo) Autorelease() DYMTLShaderProfilerShaderInfo
- func (d DYMTLShaderProfilerShaderInfo) Init() DYMTLShaderProfilerShaderInfo
- func (d DYMTLShaderProfilerShaderInfo) InitWithLibraryId(id uint64) DYMTLShaderProfilerShaderInfo
- func (d DYMTLShaderProfilerShaderInfo) LibraryId() uint64
- func (d DYMTLShaderProfilerShaderInfo) SetLibraryId(value uint64)
- type DYMTLShaderProfilerShaderInfoClass
- type DYMTLShaderProfilerUSCSample
- type DebugInfo
- type GRCPerFrameData
- type IDYMTLShaderProfiler
- type IDYMTLShaderProfilerResult
- type IDYMTLShaderProfilerShaderInfo
- type IMTLGRCPerFrameDataClass
- type IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- type LineDisassemblyInfo
- type LineEntry
- type MTLGRCPerFrameDataClass
- type MTLGRCPerFrameDataClassClass
- type MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func MTLToolsShaderProfilerDYShaderAnalyzerNextGPUFromID(id objc.ID) MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPU() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPUWithDelegate(delegate objectivec.IObject) MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks(binary objectivec.IObject, samples objectivec.IObject, index int32, ...) objectivec.IObject
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Autorelease() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallCostWithSampleDataTargetIndex(data objectivec.IObject, index int32) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallWithGRCSampleDataTargetIndex(data objectivec.IObject, index int32) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks(data objectivec.IObject, binary objectivec.IObject, index int32, ...) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData(data objectivec.IObject, binary objectivec.IObject, index int32, ...) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallCostWithSampleDataTargetIndex() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallWithGRCSampleDataTargetIndex() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerFileCostDictionaryWithLineOffset() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerLineCostDictionaryWithLineOffset() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanWaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster() bool
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerFileCostDictionaryWithLineOffset(with unsafe.Pointer, offset uint32) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerLineCostDictionaryWithLineOffset(with unsafe.Pointer, offset uint32) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Init() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster(draw objectivec.IObject, master uint32) (float64, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType(draw objectivec.IObject, master uint32, type_ objectivec.IObject) (float64, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType(list unsafe.Pointer, map_ unsafe.Pointer, info unsafe.Pointer, cost float64, ...) error
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost(table unsafe.Pointer, cost unsafe.Pointer, info unsafe.Pointer, cost2 float64, ...) (objectivec.IObject, error)
- func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) WaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster(draw objectivec.IObject, master uint32) (float64, error)
- type MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass
- type OpaquePthreadMutex
- type Opaque_pthread_mutex_t
- type VoidHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
BindFunc binds the mtltoolsshaderprofiler symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func NewVoidBlock ¶
func NewVoidBlock(handler VoidHandler) (objc.ID, func())
NewVoidBlock wraps a Go VoidHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
- DYMTLShaderProfiler.EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock
- [DYMTLShaderProfiler._visitAllShaderInfosInResultUsingBlock]
func SymbolAddress ¶
SymbolAddress returns the address of name in mtltoolsshaderprofiler, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
Types ¶
type CounterIndexInfo ¶
type CounterIndexInfo struct {
Field1 uint64
Field2 uint64
Field3 uint64
Field4 uint64
Field5 uint64
}
CounterIndexInfo
type DYMTLShaderProfiler ¶
type DYMTLShaderProfiler struct {
objectivec.Object
}
Methods ¶
- [DYMTLShaderProfiler._addBlitTimesToEffectiveKickTimes]
- [DYMTLShaderProfiler._addDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo]
- [DYMTLShaderProfiler._analyzeShaderBinarySamplesForResultForShaderKeyToSourcePath]
- [DYMTLShaderProfiler._calculatePerDrawCosts]
- [DYMTLShaderProfiler._calculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo]
- [DYMTLShaderProfiler._calculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo]
- [DYMTLShaderProfiler._collectBatchFilteredDataForShaderProfilerResultOverrideGT]
- [DYMTLShaderProfiler._constructPayload]
- [DYMTLShaderProfiler._createPerCounterCommandDataWithPerCommandData]
- [DYMTLShaderProfiler._dumpTraceProfileDataForResult]
- [DYMTLShaderProfiler._effectiveBatchDrawKickTimesForShaderProfilerResult]
- [DYMTLShaderProfiler._gatherStaticInformation]
- [DYMTLShaderProfiler._generateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap]
- [DYMTLShaderProfiler._getLegacyProgramType]
- [DYMTLShaderProfiler._preProcessStreamingUSCSampleDataResult]
- [DYMTLShaderProfiler._preProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex]
- [DYMTLShaderProfiler._preProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex]
- [DYMTLShaderProfiler._preProcessUSCSampleDataResultTargetIndex]
- [DYMTLShaderProfiler._preparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap]
- [DYMTLShaderProfiler._processDerivedEncoderCounterDataForDerivedEncoderData]
- [DYMTLShaderProfiler._processEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime]
- [DYMTLShaderProfiler._processFrameTimeDataForProcessedFrameTimeData]
- [DYMTLShaderProfiler._processHarvestedBinaryDataForStreamedData]
- [DYMTLShaderProfiler._queryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult]
- [DYMTLShaderProfiler._queryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._queryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._queryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._queryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._queryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._queryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture]
- [DYMTLShaderProfiler._saveAddressListSizeFilename]
- [DYMTLShaderProfiler._saveAddressMappingsFilename]
- [DYMTLShaderProfiler._saveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps]
- [DYMTLShaderProfiler._setupFragmentEncoderCountersPerDrawCall]
- [DYMTLShaderProfiler._setupLimiterInfoPerDrawCallForPayload]
- [DYMTLShaderProfiler._shouldUseProgramAddressMappings]
- [DYMTLShaderProfiler._showDrawCallDataforResult]
- [DYMTLShaderProfiler._updateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices]
- [DYMTLShaderProfiler._updateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer]
- [DYMTLShaderProfiler._visitAllShaderInfosInResultUsingBlock]
- DYMTLShaderProfiler.CollectBatchFilteredDataForShaderProfilerResultGT
- DYMTLShaderProfiler.ComputeFromFrameInfoResultForFuture
- DYMTLShaderProfiler.ComputeFromShaderInfoResultForPayloadForFuture
- DYMTLShaderProfiler.EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock
- DYMTLShaderProfiler.HandleCaptureSessionTearDown
- DYMTLShaderProfiler.MergeLegacyAndNewShadersInShaderInfoDictionary
func DYMTLShaderProfilerFromID ¶
func DYMTLShaderProfilerFromID(id objc.ID) DYMTLShaderProfiler
DYMTLShaderProfilerFromID constructs a DYMTLShaderProfiler from an objc.ID.
func NewDYMTLShaderProfiler ¶
func NewDYMTLShaderProfiler() DYMTLShaderProfiler
NewDYMTLShaderProfiler creates a new DYMTLShaderProfiler instance.
func NewDYMTLShaderProfilerWithDelegate ¶
func NewDYMTLShaderProfilerWithDelegate(delegate objectivec.IObject) DYMTLShaderProfiler
func (DYMTLShaderProfiler) AddBlitTimesToEffectiveKickTimes ¶
func (d DYMTLShaderProfiler) AddBlitTimesToEffectiveKickTimes(times objectivec.IObject) error
AddBlitTimesToEffectiveKickTimes is an exported wrapper for the private method _addBlitTimesToEffectiveKickTimes.
func (DYMTLShaderProfiler) AddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) AddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo(info objectivec.IObject, result objectivec.IObject, info2 objectivec.IObject) error
AddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo is an exported wrapper for the private method _addDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo.
func (DYMTLShaderProfiler) AnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath ¶
func (d DYMTLShaderProfiler) AnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath(result objectivec.IObject, path objectivec.IObject) error
AnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath is an exported wrapper for the private method _analyzeShaderBinarySamplesForResultForShaderKeyToSourcePath.
func (DYMTLShaderProfiler) Autorelease ¶
func (d DYMTLShaderProfiler) Autorelease() DYMTLShaderProfiler
Autorelease adds the receiver to the current autorelease pool.
func (DYMTLShaderProfiler) CalculatePerDrawCosts ¶
func (d DYMTLShaderProfiler) CalculatePerDrawCosts(costs objectivec.IObject) error
CalculatePerDrawCosts is an exported wrapper for the private method _calculatePerDrawCosts.
func (DYMTLShaderProfiler) CalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) CalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo(shaders objectivec.IObject, result objectivec.IObject, info objectivec.IObject) error
CalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo is an exported wrapper for the private method _calculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo.
func (DYMTLShaderProfiler) CalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) CalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo(shaders objectivec.IObject, result objectivec.IObject, info objectivec.IObject) error
CalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo is an exported wrapper for the private method _calculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo.
func (DYMTLShaderProfiler) CanAddBlitTimesToEffectiveKickTimes ¶
func (d DYMTLShaderProfiler) CanAddBlitTimesToEffectiveKickTimes() bool
CanAddBlitTimesToEffectiveKickTimes reports whether the receiver responds to the private selector _addBlitTimesToEffectiveKickTimes:.
func (DYMTLShaderProfiler) CanAddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) CanAddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo() bool
CanAddDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo reports whether the receiver responds to the private selector _addDerivedCounterDataToTimelineInfo:usingShaderProfilerResult:forWorkloadInfo:.
func (DYMTLShaderProfiler) CanAnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath ¶
func (d DYMTLShaderProfiler) CanAnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath() bool
CanAnalyzeShaderBinarySamplesForResultForShaderKeyToSourcePath reports whether the receiver responds to the private selector _analyzeShaderBinarySamplesForResult:forShaderKeyToSourcePath:.
func (DYMTLShaderProfiler) CanCalculatePerDrawCosts ¶
func (d DYMTLShaderProfiler) CanCalculatePerDrawCosts() bool
CanCalculatePerDrawCosts reports whether the receiver responds to the private selector _calculatePerDrawCosts:.
func (DYMTLShaderProfiler) CanCalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) CanCalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo() bool
CanCalculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo reports whether the receiver responds to the private selector _calculatePerSampleActiveShaders:withShaderProfilerResult:forWorkloadInfo:.
func (DYMTLShaderProfiler) CanCalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo ¶
func (d DYMTLShaderProfiler) CanCalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo() bool
CanCalculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo reports whether the receiver responds to the private selector _calculatePerSampleAggregatedActiveShaders:withShaderProfilerResult:forWorkloadInfo:.
func (DYMTLShaderProfiler) CanCollectBatchFilteredDataForShaderProfilerResultOverrideGT ¶
func (d DYMTLShaderProfiler) CanCollectBatchFilteredDataForShaderProfilerResultOverrideGT() bool
CanCollectBatchFilteredDataForShaderProfilerResultOverrideGT reports whether the receiver responds to the private selector _collectBatchFilteredDataForShaderProfilerResultOverrideGT:.
func (DYMTLShaderProfiler) CanConstructPayload ¶
func (d DYMTLShaderProfiler) CanConstructPayload() bool
CanConstructPayload reports whether the receiver responds to the private selector _constructPayload.
func (DYMTLShaderProfiler) CanCreatePerCounterCommandDataWithPerCommandData ¶
func (d DYMTLShaderProfiler) CanCreatePerCounterCommandDataWithPerCommandData() bool
CanCreatePerCounterCommandDataWithPerCommandData reports whether the receiver responds to the private selector _createPerCounterCommandData:withPerCommandData:.
func (DYMTLShaderProfiler) CanDumpTraceProfileDataForResult ¶
func (d DYMTLShaderProfiler) CanDumpTraceProfileDataForResult() bool
CanDumpTraceProfileDataForResult reports whether the receiver responds to the private selector _dumpTraceProfileDataForResult:.
func (DYMTLShaderProfiler) CanEffectiveBatchDrawKickTimesForShaderProfilerResult ¶
func (d DYMTLShaderProfiler) CanEffectiveBatchDrawKickTimesForShaderProfilerResult() bool
CanEffectiveBatchDrawKickTimesForShaderProfilerResult reports whether the receiver responds to the private selector _effectiveBatchDrawKickTimes:forShaderProfilerResult:.
func (DYMTLShaderProfiler) CanGatherStaticInformation ¶
func (d DYMTLShaderProfiler) CanGatherStaticInformation() bool
CanGatherStaticInformation reports whether the receiver responds to the private selector _gatherStaticInformation.
func (DYMTLShaderProfiler) CanGenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap ¶
func (d DYMTLShaderProfiler) CanGenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap() bool
CanGenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap reports whether the receiver responds to the private selector _generateSamplesForResult:withProgramAddressLUT:withBatchIndexMin:andBatchIndexMax:andMinIndex:withProgramAddressList:withUSCSampleList:withUSCSampleNum:withBatchIDToEncoderIndex:andEncoderIndexToBatchIdMap:.
func (DYMTLShaderProfiler) CanGetLegacyProgramType ¶
func (d DYMTLShaderProfiler) CanGetLegacyProgramType() bool
CanGetLegacyProgramType reports whether the receiver responds to the private selector _getLegacyProgramType:.
func (DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResult ¶
func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResult() bool
CanPreProcessStreamingUSCSampleDataResult reports whether the receiver responds to the private selector _preProcessStreamingUSCSampleData:result:.
func (DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex ¶
func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex() bool
CanPreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex reports whether the receiver responds to the private selector _preProcessStreamingUSCSampleData:result:withAddressData:sampleData:frameIndex:ringBufferIdx:targetIndex:.
func (DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex ¶
func (d DYMTLShaderProfiler) CanPreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex() bool
CanPreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex reports whether the receiver responds to the private selector _preProcessStreamingUSCSampleData:result:withAddressMappings:sampleData:frameIndex:ringBufferIdx:targetIndex:.
func (DYMTLShaderProfiler) CanPreProcessUSCSampleDataResultTargetIndex ¶
func (d DYMTLShaderProfiler) CanPreProcessUSCSampleDataResultTargetIndex() bool
CanPreProcessUSCSampleDataResultTargetIndex reports whether the receiver responds to the private selector _preProcessUSCSampleData:result:targetIndex:.
func (DYMTLShaderProfiler) CanPreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap ¶
func (d DYMTLShaderProfiler) CanPreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap() bool
CanPreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap reports whether the receiver responds to the private selector _preparePrioritizedPerEncoderDrawListFromShaderProfilerResult:andGetMaxDrawsPerEncoder:andGetEncoderBatchIndexToDrawIndexMap:andGetDrawCallIndexToEncoderBatchIndexMap:.
func (DYMTLShaderProfiler) CanProcessDerivedEncoderCounterDataForDerivedEncoderData ¶
func (d DYMTLShaderProfiler) CanProcessDerivedEncoderCounterDataForDerivedEncoderData() bool
CanProcessDerivedEncoderCounterDataForDerivedEncoderData reports whether the receiver responds to the private selector _processDerivedEncoderCounterData:forDerivedEncoderData:.
func (DYMTLShaderProfiler) CanProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime ¶
func (d DYMTLShaderProfiler) CanProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime() bool
CanProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime reports whether the receiver responds to the private selector _processEncoderTimeData:withKickTimeData:forPayload:withGPUTime:.
func (DYMTLShaderProfiler) CanProcessFrameTimeDataForProcessedFrameTimeData ¶
func (d DYMTLShaderProfiler) CanProcessFrameTimeDataForProcessedFrameTimeData() bool
CanProcessFrameTimeDataForProcessedFrameTimeData reports whether the receiver responds to the private selector _processFrameTimeData:forProcessedFrameTimeData:.
func (DYMTLShaderProfiler) CanProcessHarvestedBinaryDataForStreamedData ¶
func (d DYMTLShaderProfiler) CanProcessHarvestedBinaryDataForStreamedData() bool
CanProcessHarvestedBinaryDataForStreamedData reports whether the receiver responds to the private selector _processHarvestedBinaryData:forStreamedData:.
func (DYMTLShaderProfiler) CanQueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult ¶
func (d DYMTLShaderProfiler) CanQueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult() bool
CanQueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult reports whether the receiver responds to the private selector _queryDerivedCounterDataWithDelegate:withShaderInfoResult:forPayload:withShaderProfilerResult:.
func (DYMTLShaderProfiler) CanQueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingAPSData:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanQueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingOverridenAPSData:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanQueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingProfilerData:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanQueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingProfilerDataGT:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingProfilerDataOverride:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) CanQueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture() bool
CanQueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture reports whether the receiver responds to the private selector _queryStreamingProfilerDataOverrideGT:forDelegate:forFuture:forGPUTimelineFuture:.
func (DYMTLShaderProfiler) CanSaveAddressListSizeFilename ¶
func (d DYMTLShaderProfiler) CanSaveAddressListSizeFilename() bool
CanSaveAddressListSizeFilename reports whether the receiver responds to the private selector _saveAddressList:size:filename:.
func (DYMTLShaderProfiler) CanSaveAddressMappingsFilename ¶
func (d DYMTLShaderProfiler) CanSaveAddressMappingsFilename() bool
CanSaveAddressMappingsFilename reports whether the receiver responds to the private selector _saveAddressMappings:filename:.
func (DYMTLShaderProfiler) CanSaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps ¶
func (d DYMTLShaderProfiler) CanSaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps() bool
CanSaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps reports whether the receiver responds to the private selector _saveSampleDataFromGPURawCounters:size:filename:withTimeStamps:.
func (DYMTLShaderProfiler) CanSetupFragmentEncoderCountersPerDrawCall ¶
func (d DYMTLShaderProfiler) CanSetupFragmentEncoderCountersPerDrawCall() bool
CanSetupFragmentEncoderCountersPerDrawCall reports whether the receiver responds to the private selector _setupFragmentEncoderCountersPerDrawCall:.
func (DYMTLShaderProfiler) CanSetupLimiterInfoPerDrawCallForPayload ¶
func (d DYMTLShaderProfiler) CanSetupLimiterInfoPerDrawCallForPayload() bool
CanSetupLimiterInfoPerDrawCallForPayload reports whether the receiver responds to the private selector _setupLimiterInfoPerDrawCall:forPayload:.
func (DYMTLShaderProfiler) CanShouldUseProgramAddressMappings ¶
func (d DYMTLShaderProfiler) CanShouldUseProgramAddressMappings() bool
CanShouldUseProgramAddressMappings reports whether the receiver responds to the private selector _shouldUseProgramAddressMappings:.
func (DYMTLShaderProfiler) CanShowDrawCallDataforResult ¶
func (d DYMTLShaderProfiler) CanShowDrawCallDataforResult() bool
CanShowDrawCallDataforResult reports whether the receiver responds to the private selector _showDrawCallDataforResult:.
func (DYMTLShaderProfiler) CanUpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices ¶
func (d DYMTLShaderProfiler) CanUpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices() bool
CanUpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices reports whether the receiver responds to the private selector _updateDrawCallTimingCounters:forShaderProfilerResult:withDrawCallData:withBottleNeckAnalysisDrawCallsData:withCounterIndices:.
func (DYMTLShaderProfiler) CanUpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer ¶
func (d DYMTLShaderProfiler) CanUpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer() bool
CanUpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer reports whether the receiver responds to the private selector _updateShaderTimelineInfo:withShaderTimelineDataEx:forGPUTimelineInfo:withEncoderGlobalTraceIdToStateMirrorIdMapping:forRingBuffer:.
func (DYMTLShaderProfiler) CanVisitAllShaderInfosInResultUsingBlock ¶
func (d DYMTLShaderProfiler) CanVisitAllShaderInfosInResultUsingBlock() bool
CanVisitAllShaderInfosInResultUsingBlock reports whether the receiver responds to the private selector _visitAllShaderInfosInResult:usingBlock:.
func (DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultGT ¶
func (d DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultGT(gt objectivec.IObject)
func (DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultOverrideGT ¶
func (d DYMTLShaderProfiler) CollectBatchFilteredDataForShaderProfilerResultOverrideGT(gt objectivec.IObject) error
CollectBatchFilteredDataForShaderProfilerResultOverrideGT is an exported wrapper for the private method _collectBatchFilteredDataForShaderProfilerResultOverrideGT.
func (DYMTLShaderProfiler) ComputeFromFrameInfoResultForFuture ¶
func (d DYMTLShaderProfiler) ComputeFromFrameInfoResultForFuture(result objectivec.IObject, future objectivec.IObject) objectivec.IObject
func (DYMTLShaderProfiler) ComputeFromShaderInfoResultForPayloadForFuture ¶
func (d DYMTLShaderProfiler) ComputeFromShaderInfoResultForPayloadForFuture(result objectivec.IObject, payload objectivec.IObject, future objectivec.IObject) objectivec.IObject
func (DYMTLShaderProfiler) ConstructPayload ¶
func (d DYMTLShaderProfiler) ConstructPayload() (objectivec.IObject, error)
ConstructPayload is an exported wrapper for the private method _constructPayload.
func (DYMTLShaderProfiler) CreatePerCounterCommandDataWithPerCommandData ¶
func (d DYMTLShaderProfiler) CreatePerCounterCommandDataWithPerCommandData(data objectivec.IObject, data2 objectivec.IObject) (objectivec.IObject, error)
CreatePerCounterCommandDataWithPerCommandData is an exported wrapper for the private method _createPerCounterCommandDataWithPerCommandData.
func (DYMTLShaderProfiler) DumpTraceProfileDataForResult ¶
func (d DYMTLShaderProfiler) DumpTraceProfileDataForResult(result objectivec.IObject) error
DumpTraceProfileDataForResult is an exported wrapper for the private method _dumpTraceProfileDataForResult.
func (DYMTLShaderProfiler) EffectiveBatchDrawKickTimesForShaderProfilerResult ¶
func (d DYMTLShaderProfiler) EffectiveBatchDrawKickTimesForShaderProfilerResult(times objectivec.IObject, result objectivec.IObject) (objectivec.IObject, error)
EffectiveBatchDrawKickTimesForShaderProfilerResult is an exported wrapper for the private method _effectiveBatchDrawKickTimesForShaderProfilerResult.
func (DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock ¶
func (d DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock(result objectivec.IObject, dictionary objectivec.IObject, block VoidHandler)
func (DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlockSync ¶
func (d DYMTLShaderProfiler) EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlockSync(ctx context.Context, result objectivec.IObject, dictionary objectivec.IObject) error
EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlockSync is a synchronous wrapper around DYMTLShaderProfiler.EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock. It blocks until the completion handler fires or the context is cancelled.
func (DYMTLShaderProfiler) GatherStaticInformation ¶
func (d DYMTLShaderProfiler) GatherStaticInformation() (objectivec.IObject, error)
GatherStaticInformation is an exported wrapper for the private method _gatherStaticInformation.
func (DYMTLShaderProfiler) GenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap ¶
func (d DYMTLShaderProfiler) GenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap(result objectivec.IObject, lut unsafe.Pointer, min uint32, max uint32, index uint32, list *DYMTLShaderProfilerProgramAddress, list2 *DYMTLShaderProfilerUSCSample, num uint32, index2 unsafe.Pointer, map_ unsafe.Pointer) error
GenerateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap is an exported wrapper for the private method _generateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap.
func (DYMTLShaderProfiler) GetLegacyProgramType ¶
func (d DYMTLShaderProfiler) GetLegacyProgramType(type_ objectivec.IObject) (uint32, error)
GetLegacyProgramType is an exported wrapper for the private method _getLegacyProgramType.
func (DYMTLShaderProfiler) HandleCaptureSessionTearDown ¶
func (d DYMTLShaderProfiler) HandleCaptureSessionTearDown()
func (DYMTLShaderProfiler) Init ¶
func (d DYMTLShaderProfiler) Init() DYMTLShaderProfiler
Init initializes the instance.
func (DYMTLShaderProfiler) MergeLegacyAndNewShadersInShaderInfoDictionary ¶
func (d DYMTLShaderProfiler) MergeLegacyAndNewShadersInShaderInfoDictionary(dictionary objectivec.IObject) objectivec.IObject
func (DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResult ¶
func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResult(data objectivec.IObject, result objectivec.IObject) error
PreProcessStreamingUSCSampleDataResult is an exported wrapper for the private method _preProcessStreamingUSCSampleDataResult.
func (DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex ¶
func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex(data objectivec.IObject, result objectivec.IObject, data2 objectivec.IObject, data3 objectivec.IObject, index uint32, idx uint32, index2 int32) error
PreProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex is an exported wrapper for the private method _preProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex.
func (DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex ¶
func (d DYMTLShaderProfiler) PreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex(data objectivec.IObject, result objectivec.IObject, mappings objectivec.IObject, data2 objectivec.IObject, index uint32, idx uint32, index2 int32) error
PreProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex is an exported wrapper for the private method _preProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex.
func (DYMTLShaderProfiler) PreProcessUSCSampleDataResultTargetIndex ¶
func (d DYMTLShaderProfiler) PreProcessUSCSampleDataResultTargetIndex(data objectivec.IObject, result objectivec.IObject, index int32) error
PreProcessUSCSampleDataResultTargetIndex is an exported wrapper for the private method _preProcessUSCSampleDataResultTargetIndex.
func (DYMTLShaderProfiler) PreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap ¶
func (d DYMTLShaderProfiler) PreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap(result objectivec.IObject, encoder *uint64, map_ unsafe.Pointer, map_2 unsafe.Pointer) (objectivec.IObject, error)
PreparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap is an exported wrapper for the private method _preparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap.
func (DYMTLShaderProfiler) ProcessDerivedEncoderCounterDataForDerivedEncoderData ¶
func (d DYMTLShaderProfiler) ProcessDerivedEncoderCounterDataForDerivedEncoderData(data objectivec.IObject, data2 objectivec.IObject) error
ProcessDerivedEncoderCounterDataForDerivedEncoderData is an exported wrapper for the private method _processDerivedEncoderCounterDataForDerivedEncoderData.
func (DYMTLShaderProfiler) ProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime ¶
func (d DYMTLShaderProfiler) ProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime(data objectivec.IObject, data2 objectivec.IObject, payload objectivec.IObject, gPUTime uint64) (objectivec.IObject, error)
ProcessEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime is an exported wrapper for the private method _processEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime.
func (DYMTLShaderProfiler) ProcessFrameTimeDataForProcessedFrameTimeData ¶
func (d DYMTLShaderProfiler) ProcessFrameTimeDataForProcessedFrameTimeData(data objectivec.IObject, data2 objectivec.IObject) error
ProcessFrameTimeDataForProcessedFrameTimeData is an exported wrapper for the private method _processFrameTimeDataForProcessedFrameTimeData.
func (DYMTLShaderProfiler) ProcessHarvestedBinaryDataForStreamedData ¶
func (d DYMTLShaderProfiler) ProcessHarvestedBinaryDataForStreamedData(data objectivec.IObject, data2 objectivec.IObject) (objectivec.IObject, error)
ProcessHarvestedBinaryDataForStreamedData is an exported wrapper for the private method _processHarvestedBinaryDataForStreamedData.
func (DYMTLShaderProfiler) QueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult ¶
func (d DYMTLShaderProfiler) QueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult(delegate objectivec.IObject, result objectivec.IObject, payload objectivec.IObject, result2 objectivec.IObject) (objectivec.IObject, error)
QueryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult is an exported wrapper for the private method _queryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult.
func (DYMTLShaderProfiler) QueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture(aPSData objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) QueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture(aPSData objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) QueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture(data objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) QueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture(gt objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture(override objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture ¶
func (d DYMTLShaderProfiler) QueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture(gt objectivec.IObject, delegate objectivec.IObject, future objectivec.IObject, future2 objectivec.IObject) (bool, error)
QueryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture is an exported wrapper for the private method _queryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture.
func (DYMTLShaderProfiler) SaveAddressListSizeFilename ¶
func (d DYMTLShaderProfiler) SaveAddressListSizeFilename(list *DYMTLShaderProfilerProgramAddress, size uint32, filename string) error
SaveAddressListSizeFilename is an exported wrapper for the private method _saveAddressListSizeFilename.
func (DYMTLShaderProfiler) SaveAddressMappingsFilename ¶
func (d DYMTLShaderProfiler) SaveAddressMappingsFilename(mappings objectivec.IObject, filename string) error
SaveAddressMappingsFilename is an exported wrapper for the private method _saveAddressMappingsFilename.
func (DYMTLShaderProfiler) SaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps ¶
func (d DYMTLShaderProfiler) SaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps(counters *uint64, size uint32, filename string, stamps *uint64) error
SaveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps is an exported wrapper for the private method _saveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps.
func (DYMTLShaderProfiler) SetupFragmentEncoderCountersPerDrawCall ¶
func (d DYMTLShaderProfiler) SetupFragmentEncoderCountersPerDrawCall(call objectivec.IObject) error
SetupFragmentEncoderCountersPerDrawCall is an exported wrapper for the private method _setupFragmentEncoderCountersPerDrawCall.
func (DYMTLShaderProfiler) SetupLimiterInfoPerDrawCallForPayload ¶
func (d DYMTLShaderProfiler) SetupLimiterInfoPerDrawCallForPayload(call objectivec.IObject, payload objectivec.IObject) (objectivec.IObject, error)
SetupLimiterInfoPerDrawCallForPayload is an exported wrapper for the private method _setupLimiterInfoPerDrawCallForPayload.
func (DYMTLShaderProfiler) ShouldUseProgramAddressMappings ¶
func (d DYMTLShaderProfiler) ShouldUseProgramAddressMappings(mappings objectivec.IObject) (bool, error)
ShouldUseProgramAddressMappings is an exported wrapper for the private method _shouldUseProgramAddressMappings.
func (DYMTLShaderProfiler) ShowDrawCallDataforResult ¶
func (d DYMTLShaderProfiler) ShowDrawCallDataforResult(result objectivec.IObject) error
ShowDrawCallDataforResult is an exported wrapper for the private method _showDrawCallDataforResult.
func (DYMTLShaderProfiler) UpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices ¶
func (d DYMTLShaderProfiler) UpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices(counters uint32, result objectivec.IObject, data objectivec.IObject, data2 objectivec.IObject, indices *CounterIndexInfo) (objectivec.IObject, error)
UpdateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices is an exported wrapper for the private method _updateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices.
func (DYMTLShaderProfiler) UpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer ¶
func (d DYMTLShaderProfiler) UpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer(info objectivec.IObject, ex objectivec.IObject, info2 objectivec.IObject, mapping unsafe.Pointer, buffer uint32) error
UpdateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer is an exported wrapper for the private method _updateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer.
func (DYMTLShaderProfiler) VisitAllShaderInfosInResultUsingBlock ¶
func (d DYMTLShaderProfiler) VisitAllShaderInfosInResultUsingBlock(result objectivec.IObject, block VoidHandler) error
VisitAllShaderInfosInResultUsingBlock is an exported wrapper for the private method _visitAllShaderInfosInResultUsingBlock.
type DYMTLShaderProfilerClass ¶
type DYMTLShaderProfilerClass struct {
// contains filtered or unexported fields
}
func GetDYMTLShaderProfilerClass ¶
func GetDYMTLShaderProfilerClass() DYMTLShaderProfilerClass
GetDYMTLShaderProfilerClass returns the class object for DYMTLShaderProfiler.
func (DYMTLShaderProfilerClass) Alloc ¶
func (dc DYMTLShaderProfilerClass) Alloc() DYMTLShaderProfiler
Alloc allocates memory for a new instance of the class.
func (DYMTLShaderProfilerClass) Class ¶
func (dc DYMTLShaderProfilerClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type DYMTLShaderProfilerProgramAddress ¶
DYMTLShaderProfilerProgramAddress
type DYMTLShaderProfilerResult ¶
type DYMTLShaderProfilerResult struct {
objectivec.Object
}
Methods ¶
- [DYMTLShaderProfilerResult._addPerLineCostTo]
- [DYMTLShaderProfilerResult._dividePerLineCostBy]
- DYMTLShaderProfilerResult.BlitEncoderTimeInfo
- DYMTLShaderProfilerResult.SetBlitEncoderTimeInfo
- DYMTLShaderProfilerResult.EncoderCount
- DYMTLShaderProfilerResult.SetEncoderCount
- DYMTLShaderProfilerResult.EncoderTilerParamBufBytesUsedArray
- DYMTLShaderProfilerResult.SetEncoderTilerParamBufBytesUsedArray
- DYMTLShaderProfilerResult.SetHasCost
- DYMTLShaderProfilerResult.ParameterBufferMaxSize
- DYMTLShaderProfilerResult.SetParameterBufferMaxSize
- DYMTLShaderProfilerResult.ParameterBufferMaxSizeEverMemless
- DYMTLShaderProfilerResult.SetParameterBufferMaxSizeEverMemless
- DYMTLShaderProfilerResult.ParameterBufferMaxSizeNeverMemless
- DYMTLShaderProfilerResult.SetParameterBufferMaxSizeNeverMemless
- DYMTLShaderProfilerResult.ParameterBufferPercentFullDict
- DYMTLShaderProfilerResult.SetParameterBufferPercentFullDict
- DYMTLShaderProfilerResult.PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex
- DYMTLShaderProfilerResult.PerRingPerFrameLimiterData
- DYMTLShaderProfilerResult.SetPerRingPerFrameLimiterData
- DYMTLShaderProfilerResult.ShaderProfilingFrameTimes
- DYMTLShaderProfilerResult.SetShaderProfilingFrameTimes
- DYMTLShaderProfilerResult.ShaderProfilingTime
- DYMTLShaderProfilerResult.SetShaderProfilingTime
- DYMTLShaderProfilerResult.SoftwareCounterInfo
- DYMTLShaderProfilerResult.SetSoftwareCounterInfo
func DYMTLShaderProfilerResultFromID ¶
func DYMTLShaderProfilerResultFromID(id objc.ID) DYMTLShaderProfilerResult
DYMTLShaderProfilerResultFromID constructs a DYMTLShaderProfilerResult from an objc.ID.
func NewDYMTLShaderProfilerResult ¶
func NewDYMTLShaderProfilerResult() DYMTLShaderProfilerResult
NewDYMTLShaderProfilerResult creates a new DYMTLShaderProfilerResult instance.
func NewDYMTLShaderProfilerResultWithCoder ¶
func NewDYMTLShaderProfilerResultWithCoder(coder objectivec.IObject) DYMTLShaderProfilerResult
func (DYMTLShaderProfilerResult) AddPerLineCostTo ¶
func (d DYMTLShaderProfilerResult) AddPerLineCostTo(cost objectivec.IObject, to objectivec.IObject) error
AddPerLineCostTo is an exported wrapper for the private method _addPerLineCostTo.
func (DYMTLShaderProfilerResult) Autorelease ¶
func (d DYMTLShaderProfilerResult) Autorelease() DYMTLShaderProfilerResult
Autorelease adds the receiver to the current autorelease pool.
func (DYMTLShaderProfilerResult) BlitEncoderTimeInfo ¶
func (d DYMTLShaderProfilerResult) BlitEncoderTimeInfo() foundation.INSDictionary
func (DYMTLShaderProfilerResult) CanAddPerLineCostTo ¶
func (d DYMTLShaderProfilerResult) CanAddPerLineCostTo() bool
CanAddPerLineCostTo reports whether the receiver responds to the private selector _addPerLineCost:to:.
func (DYMTLShaderProfilerResult) CanDividePerLineCostBy ¶
func (d DYMTLShaderProfilerResult) CanDividePerLineCostBy() bool
CanDividePerLineCostBy reports whether the receiver responds to the private selector _dividePerLineCost:by:.
func (DYMTLShaderProfilerResult) DividePerLineCostBy ¶
func (d DYMTLShaderProfilerResult) DividePerLineCostBy(cost objectivec.IObject, by float64) error
DividePerLineCostBy is an exported wrapper for the private method _dividePerLineCostBy.
func (DYMTLShaderProfilerResult) EncoderCount ¶
func (d DYMTLShaderProfilerResult) EncoderCount() uint32
func (DYMTLShaderProfilerResult) EncoderTilerParamBufBytesUsedArray ¶
func (d DYMTLShaderProfilerResult) EncoderTilerParamBufBytesUsedArray() foundation.INSArray
func (DYMTLShaderProfilerResult) Init ¶
func (d DYMTLShaderProfilerResult) Init() DYMTLShaderProfilerResult
Init initializes the instance.
func (DYMTLShaderProfilerResult) ParameterBufferMaxSize ¶
func (d DYMTLShaderProfilerResult) ParameterBufferMaxSize() foundation.NSNumber
func (DYMTLShaderProfilerResult) ParameterBufferMaxSizeEverMemless ¶
func (d DYMTLShaderProfilerResult) ParameterBufferMaxSizeEverMemless() foundation.NSNumber
func (DYMTLShaderProfilerResult) ParameterBufferMaxSizeNeverMemless ¶
func (d DYMTLShaderProfilerResult) ParameterBufferMaxSizeNeverMemless() foundation.NSNumber
func (DYMTLShaderProfilerResult) ParameterBufferPercentFullDict ¶
func (d DYMTLShaderProfilerResult) ParameterBufferPercentFullDict() foundation.INSDictionary
func (DYMTLShaderProfilerResult) PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex ¶
func (d DYMTLShaderProfilerResult) PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex(path objectivec.IObject, set unsafe.Pointer, index uint32) objectivec.IObject
func (DYMTLShaderProfilerResult) PerRingPerFrameLimiterData ¶
func (d DYMTLShaderProfilerResult) PerRingPerFrameLimiterData() foundation.INSDictionary
func (DYMTLShaderProfilerResult) SetBlitEncoderTimeInfo ¶
func (d DYMTLShaderProfilerResult) SetBlitEncoderTimeInfo(value foundation.INSDictionary)
func (DYMTLShaderProfilerResult) SetEncoderCount ¶
func (d DYMTLShaderProfilerResult) SetEncoderCount(value uint32)
func (DYMTLShaderProfilerResult) SetEncoderTilerParamBufBytesUsedArray ¶
func (d DYMTLShaderProfilerResult) SetEncoderTilerParamBufBytesUsedArray(value foundation.INSArray)
func (DYMTLShaderProfilerResult) SetHasCost ¶
func (d DYMTLShaderProfilerResult) SetHasCost(value bool)
SetHasCost sets the hasCost property. The superclass provides its getter.
See: https://developer.apple.com/documentation/MTLToolsShaderProfiler/DYMTLShaderProfilerResult/hasCost
func (DYMTLShaderProfilerResult) SetParameterBufferMaxSize ¶
func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSize(value foundation.NSNumber)
func (DYMTLShaderProfilerResult) SetParameterBufferMaxSizeEverMemless ¶
func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSizeEverMemless(value foundation.NSNumber)
func (DYMTLShaderProfilerResult) SetParameterBufferMaxSizeNeverMemless ¶
func (d DYMTLShaderProfilerResult) SetParameterBufferMaxSizeNeverMemless(value foundation.NSNumber)
func (DYMTLShaderProfilerResult) SetParameterBufferPercentFullDict ¶
func (d DYMTLShaderProfilerResult) SetParameterBufferPercentFullDict(value foundation.INSDictionary)
func (DYMTLShaderProfilerResult) SetPerRingPerFrameLimiterData ¶
func (d DYMTLShaderProfilerResult) SetPerRingPerFrameLimiterData(value foundation.INSDictionary)
func (DYMTLShaderProfilerResult) SetShaderProfilingFrameTimes ¶
func (d DYMTLShaderProfilerResult) SetShaderProfilingFrameTimes(value foundation.INSArray)
func (DYMTLShaderProfilerResult) SetShaderProfilingTime ¶
func (d DYMTLShaderProfilerResult) SetShaderProfilingTime(value float64)
func (DYMTLShaderProfilerResult) SetSoftwareCounterInfo ¶
func (d DYMTLShaderProfilerResult) SetSoftwareCounterInfo(value foundation.INSDictionary)
func (DYMTLShaderProfilerResult) ShaderProfilingFrameTimes ¶
func (d DYMTLShaderProfilerResult) ShaderProfilingFrameTimes() foundation.INSArray
func (DYMTLShaderProfilerResult) ShaderProfilingTime ¶
func (d DYMTLShaderProfilerResult) ShaderProfilingTime() float64
func (DYMTLShaderProfilerResult) SoftwareCounterInfo ¶
func (d DYMTLShaderProfilerResult) SoftwareCounterInfo() foundation.INSDictionary
type DYMTLShaderProfilerResultClass ¶
type DYMTLShaderProfilerResultClass struct {
// contains filtered or unexported fields
}
func GetDYMTLShaderProfilerResultClass ¶
func GetDYMTLShaderProfilerResultClass() DYMTLShaderProfilerResultClass
GetDYMTLShaderProfilerResultClass returns the class object for DYMTLShaderProfilerResult.
func (DYMTLShaderProfilerResultClass) Alloc ¶
func (dc DYMTLShaderProfilerResultClass) Alloc() DYMTLShaderProfilerResult
Alloc allocates memory for a new instance of the class.
func (DYMTLShaderProfilerResultClass) Class ¶
func (dc DYMTLShaderProfilerResultClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type DYMTLShaderProfilerShaderInfo ¶
type DYMTLShaderProfilerShaderInfo struct {
objectivec.Object
}
Methods ¶
- DYMTLShaderProfilerShaderInfo.LibraryId
- DYMTLShaderProfilerShaderInfo.SetLibraryId
- DYMTLShaderProfilerShaderInfo.InitWithLibraryId
func DYMTLShaderProfilerShaderInfoFromID ¶
func DYMTLShaderProfilerShaderInfoFromID(id objc.ID) DYMTLShaderProfilerShaderInfo
DYMTLShaderProfilerShaderInfoFromID constructs a DYMTLShaderProfilerShaderInfo from an objc.ID.
func NewDYMTLShaderProfilerShaderInfo ¶
func NewDYMTLShaderProfilerShaderInfo() DYMTLShaderProfilerShaderInfo
NewDYMTLShaderProfilerShaderInfo creates a new DYMTLShaderProfilerShaderInfo instance.
func NewDYMTLShaderProfilerShaderInfoWithCoder ¶
func NewDYMTLShaderProfilerShaderInfoWithCoder(coder objectivec.IObject) DYMTLShaderProfilerShaderInfo
func NewDYMTLShaderProfilerShaderInfoWithLibraryId ¶
func NewDYMTLShaderProfilerShaderInfoWithLibraryId(id uint64) DYMTLShaderProfilerShaderInfo
func (DYMTLShaderProfilerShaderInfo) Autorelease ¶
func (d DYMTLShaderProfilerShaderInfo) Autorelease() DYMTLShaderProfilerShaderInfo
Autorelease adds the receiver to the current autorelease pool.
func (DYMTLShaderProfilerShaderInfo) Init ¶
func (d DYMTLShaderProfilerShaderInfo) Init() DYMTLShaderProfilerShaderInfo
Init initializes the instance.
func (DYMTLShaderProfilerShaderInfo) InitWithLibraryId ¶
func (d DYMTLShaderProfilerShaderInfo) InitWithLibraryId(id uint64) DYMTLShaderProfilerShaderInfo
func (DYMTLShaderProfilerShaderInfo) LibraryId ¶
func (d DYMTLShaderProfilerShaderInfo) LibraryId() uint64
func (DYMTLShaderProfilerShaderInfo) SetLibraryId ¶
func (d DYMTLShaderProfilerShaderInfo) SetLibraryId(value uint64)
type DYMTLShaderProfilerShaderInfoClass ¶
type DYMTLShaderProfilerShaderInfoClass struct {
// contains filtered or unexported fields
}
func GetDYMTLShaderProfilerShaderInfoClass ¶
func GetDYMTLShaderProfilerShaderInfoClass() DYMTLShaderProfilerShaderInfoClass
GetDYMTLShaderProfilerShaderInfoClass returns the class object for DYMTLShaderProfilerShaderInfo.
func (DYMTLShaderProfilerShaderInfoClass) Alloc ¶
func (dc DYMTLShaderProfilerShaderInfoClass) Alloc() DYMTLShaderProfilerShaderInfo
Alloc allocates memory for a new instance of the class.
func (DYMTLShaderProfilerShaderInfoClass) Class ¶
func (dc DYMTLShaderProfilerShaderInfoClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type DYMTLShaderProfilerUSCSample ¶
DYMTLShaderProfilerUSCSample
type DebugInfo ¶
type DebugInfo struct {
Field1 [3]uint64
Field2 [3]uint64
Field3 [5]uint64
Field4 [3]uint64
Field5 uint32
Field6 uint32
Field7 uint32
Field8 uint32
Field9 uint32
}
DebugInfo
type IDYMTLShaderProfiler ¶
type IDYMTLShaderProfiler interface {
objectivec.IObject
CollectBatchFilteredDataForShaderProfilerResultGT(gt objectivec.IObject)
ComputeFromFrameInfoResultForFuture(result objectivec.IObject, future objectivec.IObject) objectivec.IObject
ComputeFromShaderInfoResultForPayloadForFuture(result objectivec.IObject, payload objectivec.IObject, future objectivec.IObject) objectivec.IObject
EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock(result objectivec.IObject, dictionary objectivec.IObject, block VoidHandler)
HandleCaptureSessionTearDown()
MergeLegacyAndNewShadersInShaderInfoDictionary(dictionary objectivec.IObject) objectivec.IObject
// contains filtered or unexported methods
}
An interface definition for the DYMTLShaderProfiler class.
Methods ¶
- [IDYMTLShaderProfiler._addBlitTimesToEffectiveKickTimes]
- [IDYMTLShaderProfiler._addDerivedCounterDataToTimelineInfoUsingShaderProfilerResultForWorkloadInfo]
- [IDYMTLShaderProfiler._analyzeShaderBinarySamplesForResultForShaderKeyToSourcePath]
- [IDYMTLShaderProfiler._calculatePerDrawCosts]
- [IDYMTLShaderProfiler._calculatePerSampleActiveShadersWithShaderProfilerResultForWorkloadInfo]
- [IDYMTLShaderProfiler._calculatePerSampleAggregatedActiveShadersWithShaderProfilerResultForWorkloadInfo]
- [IDYMTLShaderProfiler._collectBatchFilteredDataForShaderProfilerResultOverrideGT]
- [IDYMTLShaderProfiler._constructPayload]
- [IDYMTLShaderProfiler._createPerCounterCommandDataWithPerCommandData]
- [IDYMTLShaderProfiler._dumpTraceProfileDataForResult]
- [IDYMTLShaderProfiler._effectiveBatchDrawKickTimesForShaderProfilerResult]
- [IDYMTLShaderProfiler._gatherStaticInformation]
- [IDYMTLShaderProfiler._generateSamplesForResultWithProgramAddressLUTWithBatchIndexMinAndBatchIndexMaxAndMinIndexWithProgramAddressListWithUSCSampleListWithUSCSampleNumWithBatchIDToEncoderIndexAndEncoderIndexToBatchIdMap]
- [IDYMTLShaderProfiler._getLegacyProgramType]
- [IDYMTLShaderProfiler._preProcessStreamingUSCSampleDataResult]
- [IDYMTLShaderProfiler._preProcessStreamingUSCSampleDataResultWithAddressDataSampleDataFrameIndexRingBufferIdxTargetIndex]
- [IDYMTLShaderProfiler._preProcessStreamingUSCSampleDataResultWithAddressMappingsSampleDataFrameIndexRingBufferIdxTargetIndex]
- [IDYMTLShaderProfiler._preProcessUSCSampleDataResultTargetIndex]
- [IDYMTLShaderProfiler._preparePrioritizedPerEncoderDrawListFromShaderProfilerResultAndGetMaxDrawsPerEncoderAndGetEncoderBatchIndexToDrawIndexMapAndGetDrawCallIndexToEncoderBatchIndexMap]
- [IDYMTLShaderProfiler._processDerivedEncoderCounterDataForDerivedEncoderData]
- [IDYMTLShaderProfiler._processEncoderTimeDataWithKickTimeDataForPayloadWithGPUTime]
- [IDYMTLShaderProfiler._processFrameTimeDataForProcessedFrameTimeData]
- [IDYMTLShaderProfiler._processHarvestedBinaryDataForStreamedData]
- [IDYMTLShaderProfiler._queryDerivedCounterDataWithDelegateWithShaderInfoResultForPayloadWithShaderProfilerResult]
- [IDYMTLShaderProfiler._queryStreamingAPSDataForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._queryStreamingOverridenAPSDataForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._queryStreamingProfilerDataForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._queryStreamingProfilerDataGTForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._queryStreamingProfilerDataOverrideForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._queryStreamingProfilerDataOverrideGTForDelegateForFutureForGPUTimelineFuture]
- [IDYMTLShaderProfiler._saveAddressListSizeFilename]
- [IDYMTLShaderProfiler._saveAddressMappingsFilename]
- [IDYMTLShaderProfiler._saveSampleDataFromGPURawCountersSizeFilenameWithTimeStamps]
- [IDYMTLShaderProfiler._setupFragmentEncoderCountersPerDrawCall]
- [IDYMTLShaderProfiler._setupLimiterInfoPerDrawCallForPayload]
- [IDYMTLShaderProfiler._shouldUseProgramAddressMappings]
- [IDYMTLShaderProfiler._showDrawCallDataforResult]
- [IDYMTLShaderProfiler._updateDrawCallTimingCountersForShaderProfilerResultWithDrawCallDataWithBottleNeckAnalysisDrawCallsDataWithCounterIndices]
- [IDYMTLShaderProfiler._updateShaderTimelineInfoWithShaderTimelineDataExForGPUTimelineInfoWithEncoderGlobalTraceIdToStateMirrorIdMappingForRingBuffer]
- [IDYMTLShaderProfiler._visitAllShaderInfosInResultUsingBlock]
- IDYMTLShaderProfiler.CollectBatchFilteredDataForShaderProfilerResultGT
- IDYMTLShaderProfiler.ComputeFromFrameInfoResultForFuture
- IDYMTLShaderProfiler.ComputeFromShaderInfoResultForPayloadForFuture
- IDYMTLShaderProfiler.EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock
- IDYMTLShaderProfiler.HandleCaptureSessionTearDown
- IDYMTLShaderProfiler.MergeLegacyAndNewShadersInShaderInfoDictionary
type IDYMTLShaderProfilerResult ¶
type IDYMTLShaderProfilerResult interface {
objectivec.IObject
BlitEncoderTimeInfo() foundation.INSDictionary
SetBlitEncoderTimeInfo(value foundation.INSDictionary)
EncoderCount() uint32
SetEncoderCount(value uint32)
EncoderTilerParamBufBytesUsedArray() foundation.INSArray
SetEncoderTilerParamBufBytesUsedArray(value foundation.INSArray)
SetHasCost(value bool)
ParameterBufferMaxSize() foundation.NSNumber
SetParameterBufferMaxSize(value foundation.NSNumber)
ParameterBufferMaxSizeEverMemless() foundation.NSNumber
SetParameterBufferMaxSizeEverMemless(value foundation.NSNumber)
ParameterBufferMaxSizeNeverMemless() foundation.NSNumber
SetParameterBufferMaxSizeNeverMemless(value foundation.NSNumber)
ParameterBufferPercentFullDict() foundation.INSDictionary
SetParameterBufferPercentFullDict(value foundation.INSDictionary)
PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex(path objectivec.IObject, set unsafe.Pointer, index uint32) objectivec.IObject
PerRingPerFrameLimiterData() foundation.INSDictionary
SetPerRingPerFrameLimiterData(value foundation.INSDictionary)
ShaderProfilingFrameTimes() foundation.INSArray
SetShaderProfilingFrameTimes(value foundation.INSArray)
ShaderProfilingTime() float64
SetShaderProfilingTime(value float64)
SoftwareCounterInfo() foundation.INSDictionary
SetSoftwareCounterInfo(value foundation.INSDictionary)
// contains filtered or unexported methods
}
An interface definition for the DYMTLShaderProfilerResult class.
Methods ¶
- [IDYMTLShaderProfilerResult._addPerLineCostTo]
- [IDYMTLShaderProfilerResult._dividePerLineCostBy]
- IDYMTLShaderProfilerResult.BlitEncoderTimeInfo
- IDYMTLShaderProfilerResult.SetBlitEncoderTimeInfo
- IDYMTLShaderProfilerResult.EncoderCount
- IDYMTLShaderProfilerResult.SetEncoderCount
- IDYMTLShaderProfilerResult.EncoderTilerParamBufBytesUsedArray
- IDYMTLShaderProfilerResult.SetEncoderTilerParamBufBytesUsedArray
- IDYMTLShaderProfilerResult.SetHasCost
- IDYMTLShaderProfilerResult.ParameterBufferMaxSize
- IDYMTLShaderProfilerResult.SetParameterBufferMaxSize
- IDYMTLShaderProfilerResult.ParameterBufferMaxSizeEverMemless
- IDYMTLShaderProfilerResult.SetParameterBufferMaxSizeEverMemless
- IDYMTLShaderProfilerResult.ParameterBufferMaxSizeNeverMemless
- IDYMTLShaderProfilerResult.SetParameterBufferMaxSizeNeverMemless
- IDYMTLShaderProfilerResult.ParameterBufferPercentFullDict
- IDYMTLShaderProfilerResult.SetParameterBufferPercentFullDict
- IDYMTLShaderProfilerResult.PerLineInfoForFunctionFilePathWithLibraryIdSetAtFunctionIndex
- IDYMTLShaderProfilerResult.PerRingPerFrameLimiterData
- IDYMTLShaderProfilerResult.SetPerRingPerFrameLimiterData
- IDYMTLShaderProfilerResult.ShaderProfilingFrameTimes
- IDYMTLShaderProfilerResult.SetShaderProfilingFrameTimes
- IDYMTLShaderProfilerResult.ShaderProfilingTime
- IDYMTLShaderProfilerResult.SetShaderProfilingTime
- IDYMTLShaderProfilerResult.SoftwareCounterInfo
- IDYMTLShaderProfilerResult.SetSoftwareCounterInfo
type IDYMTLShaderProfilerShaderInfo ¶
type IDYMTLShaderProfilerShaderInfo interface {
objectivec.IObject
LibraryId() uint64
SetLibraryId(value uint64)
InitWithLibraryId(id uint64) DYMTLShaderProfilerShaderInfo
}
An interface definition for the DYMTLShaderProfilerShaderInfo class.
Methods ¶
type IMTLGRCPerFrameDataClass ¶
type IMTLGRCPerFrameDataClass interface {
objectivec.IObject
}
An interface definition for the MTLGRCPerFrameDataClass class.
type IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU ¶
type IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU interface {
objectivec.IObject
AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks(binary objectivec.IObject, samples objectivec.IObject, index int32, key objectivec.IObject, path objectivec.IObject, aLUBlocks unsafe.Pointer) objectivec.IObject
// contains filtered or unexported methods
}
An interface definition for the MTLToolsShaderProfilerDYShaderAnalyzerNextGPU class.
Methods ¶
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerDrawCallCostWithSampleDataTargetIndex]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerDrawCallWithGRCSampleDataTargetIndex]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._createPerFileCostDictionaryWithLineOffset]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._createPerLineCostDictionaryWithLineOffset]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._latencyAdjustmentFactorWithLimiterDataForDrawForDataMaster]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._latencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._processPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost]
- [IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU._waitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster]
- IMTLToolsShaderProfilerDYShaderAnalyzerNextGPU.AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks
type LineDisassemblyInfo ¶
type LineDisassemblyInfo struct {
Field1 objectivec.Object
Field2 objectivec.Object
Field3 float64
Field4 uint32
Field5 uint32
Field6 uint32
Field7 uint32
}
LineDisassemblyInfo
type MTLGRCPerFrameDataClass ¶
type MTLGRCPerFrameDataClass struct {
objectivec.Object
}
func MTLGRCPerFrameDataClassFromID ¶
func MTLGRCPerFrameDataClassFromID(id objc.ID) MTLGRCPerFrameDataClass
MTLGRCPerFrameDataClassFromID constructs a MTLGRCPerFrameDataClass from an objc.ID.
func NewMTLGRCPerFrameDataClass ¶
func NewMTLGRCPerFrameDataClass() MTLGRCPerFrameDataClass
NewMTLGRCPerFrameDataClass creates a new MTLGRCPerFrameDataClass instance.
func (MTLGRCPerFrameDataClass) Autorelease ¶
func (m MTLGRCPerFrameDataClass) Autorelease() MTLGRCPerFrameDataClass
Autorelease adds the receiver to the current autorelease pool.
func (MTLGRCPerFrameDataClass) Init ¶
func (m MTLGRCPerFrameDataClass) Init() MTLGRCPerFrameDataClass
Init initializes the instance.
type MTLGRCPerFrameDataClassClass ¶
type MTLGRCPerFrameDataClassClass struct {
// contains filtered or unexported fields
}
func GetMTLGRCPerFrameDataClassClass ¶
func GetMTLGRCPerFrameDataClassClass() MTLGRCPerFrameDataClassClass
GetMTLGRCPerFrameDataClassClass returns the class object for MTLGRCPerFrameDataClass.
func (MTLGRCPerFrameDataClassClass) Alloc ¶
func (mc MTLGRCPerFrameDataClassClass) Alloc() MTLGRCPerFrameDataClass
Alloc allocates memory for a new instance of the class.
func (MTLGRCPerFrameDataClassClass) Class ¶
func (mc MTLGRCPerFrameDataClassClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type MTLToolsShaderProfilerDYShaderAnalyzerNextGPU ¶
type MTLToolsShaderProfilerDYShaderAnalyzerNextGPU struct {
objectivec.Object
}
Methods ¶
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerDrawCallCostWithSampleDataTargetIndex]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerDrawCallWithGRCSampleDataTargetIndex]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._calculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._createPerFileCostDictionaryWithLineOffset]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._createPerLineCostDictionaryWithLineOffset]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._latencyAdjustmentFactorWithLimiterDataForDrawForDataMaster]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._latencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._processPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost]
- [MTLToolsShaderProfilerDYShaderAnalyzerNextGPU._waitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster]
- MTLToolsShaderProfilerDYShaderAnalyzerNextGPU.AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks
func MTLToolsShaderProfilerDYShaderAnalyzerNextGPUFromID ¶
func MTLToolsShaderProfilerDYShaderAnalyzerNextGPUFromID(id objc.ID) MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
MTLToolsShaderProfilerDYShaderAnalyzerNextGPUFromID constructs a MTLToolsShaderProfilerDYShaderAnalyzerNextGPU from an objc.ID.
func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPU ¶
func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPU() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPU creates a new MTLToolsShaderProfilerDYShaderAnalyzerNextGPU instance.
func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPUWithDelegate ¶
func NewMTLToolsShaderProfilerDYShaderAnalyzerNextGPUWithDelegate(delegate objectivec.IObject) MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) AnalyzedBinaryProcessedUscSamplesTargetIndexWithKeyWithShaderSourcePathWithALUBlocks(binary objectivec.IObject, samples objectivec.IObject, index int32, key objectivec.IObject, path objectivec.IObject, aLUBlocks unsafe.Pointer) objectivec.IObject
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Autorelease ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Autorelease() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
Autorelease adds the receiver to the current autorelease pool.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallCostWithSampleDataTargetIndex ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallCostWithSampleDataTargetIndex(data objectivec.IObject, index int32) (objectivec.IObject, error)
CalculatePerDrawCallCostWithSampleDataTargetIndex is an exported wrapper for the private method _calculatePerDrawCallCostWithSampleDataTargetIndex.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallWithGRCSampleDataTargetIndex ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerDrawCallWithGRCSampleDataTargetIndex(data objectivec.IObject, index int32) (objectivec.IObject, error)
CalculatePerDrawCallWithGRCSampleDataTargetIndex is an exported wrapper for the private method _calculatePerDrawCallWithGRCSampleDataTargetIndex.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks(data objectivec.IObject, binary objectivec.IObject, index int32, key objectivec.IObject, path objectivec.IObject, aLUBlocks unsafe.Pointer) (objectivec.IObject, error)
CalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks is an exported wrapper for the private method _calculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData(data objectivec.IObject, binary objectivec.IObject, index int32, segment objectivec.IObject, key objectivec.IObject, path objectivec.IObject, master uint32, data2 objectivec.IObject) (objectivec.IObject, error)
CalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData is an exported wrapper for the private method _calculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallCostWithSampleDataTargetIndex ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallCostWithSampleDataTargetIndex() bool
CanCalculatePerDrawCallCostWithSampleDataTargetIndex reports whether the receiver responds to the private selector _calculatePerDrawCallCostWithSampleData:targetIndex:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallWithGRCSampleDataTargetIndex ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerDrawCallWithGRCSampleDataTargetIndex() bool
CanCalculatePerDrawCallWithGRCSampleDataTargetIndex reports whether the receiver responds to the private selector _calculatePerDrawCallWithGRCSampleData:targetIndex:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks() bool
CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithKeyWithShaderSourcePathWithALUBlocks reports whether the receiver responds to the private selector _calculatePerLineCostWithSampleData:binary:targetIndex:withKey:withShaderSourcePath:withALUBlocks:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData() bool
CanCalculatePerLineCostWithSampleDataBinaryTargetIndexWithTextSegmentWithKeyWithShaderSourcePathForDataMasterWithPerDrawLimiterData reports whether the receiver responds to the private selector _calculatePerLineCostWithSampleData:binary:targetIndex:withTextSegment:withKey:withShaderSourcePath:forDataMaster:withPerDrawLimiterData:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerFileCostDictionaryWithLineOffset ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerFileCostDictionaryWithLineOffset() bool
CanCreatePerFileCostDictionaryWithLineOffset reports whether the receiver responds to the private selector _createPerFileCostDictionaryWith:lineOffset:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerLineCostDictionaryWithLineOffset ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanCreatePerLineCostDictionaryWithLineOffset() bool
CanCreatePerLineCostDictionaryWithLineOffset reports whether the receiver responds to the private selector _createPerLineCostDictionaryWith:lineOffset:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster() bool
CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster reports whether the receiver responds to the private selector _latencyAdjustmentFactorWithLimiterDataForDraw:forDataMaster:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType() bool
CanLatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType reports whether the receiver responds to the private selector _latencyAdjustmentFactorWithLimiterDataForDraw:forDataMaster:forLimiterType:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType() bool
CanProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType reports whether the receiver responds to the private selector _ProcessLineList:forFileCostMap:forDebugInfo:andCost:forAddr:andDrawIndex:andTargetIndex:withDefaultDisassemblyInfo:withALUInstructionType:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost() bool
CanProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost reports whether the receiver responds to the private selector _processPerLineCostDataForLineTable:withFileCost:withDebugInfo:andAllDrawCost:withKey:withShaderSourcePath:withDrawCost:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanWaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CanWaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster() bool
CanWaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster reports whether the receiver responds to the private selector _waitLatencyAdjustmentFactorWithLimiterDataForDraw:forDataMaster:.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerFileCostDictionaryWithLineOffset ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerFileCostDictionaryWithLineOffset(with unsafe.Pointer, offset uint32) (objectivec.IObject, error)
CreatePerFileCostDictionaryWithLineOffset is an exported wrapper for the private method _createPerFileCostDictionaryWithLineOffset.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerLineCostDictionaryWithLineOffset ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) CreatePerLineCostDictionaryWithLineOffset(with unsafe.Pointer, offset uint32) (objectivec.IObject, error)
CreatePerLineCostDictionaryWithLineOffset is an exported wrapper for the private method _createPerLineCostDictionaryWithLineOffset.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Init ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) Init() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
Init initializes the instance.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster(draw objectivec.IObject, master uint32) (float64, error)
LatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster is an exported wrapper for the private method _latencyAdjustmentFactorWithLimiterDataForDrawForDataMaster.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) LatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType(draw objectivec.IObject, master uint32, type_ objectivec.IObject) (float64, error)
LatencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType is an exported wrapper for the private method _latencyAdjustmentFactorWithLimiterDataForDrawForDataMasterForLimiterType.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType(list unsafe.Pointer, map_ unsafe.Pointer, info unsafe.Pointer, cost float64, addr uint32, index uint32, index2 int32, info2 *LineDisassemblyInfo, type_ bool) error
ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType is an exported wrapper for the private method _ProcessLineListForFileCostMapForDebugInfoAndCostForAddrAndDrawIndexAndTargetIndexWithDefaultDisassemblyInfoWithALUInstructionType.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) ProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost(table unsafe.Pointer, cost unsafe.Pointer, info unsafe.Pointer, cost2 float64, key objectivec.IObject, path objectivec.IObject, cost3 unsafe.Pointer) (objectivec.IObject, error)
ProcessPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost is an exported wrapper for the private method _processPerLineCostDataForLineTableWithFileCostWithDebugInfoAndAllDrawCostWithKeyWithShaderSourcePathWithDrawCost.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) WaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster ¶
func (m MTLToolsShaderProfilerDYShaderAnalyzerNextGPU) WaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster(draw objectivec.IObject, master uint32) (float64, error)
WaitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster is an exported wrapper for the private method _waitLatencyAdjustmentFactorWithLimiterDataForDrawForDataMaster.
type MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass ¶
type MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass struct {
// contains filtered or unexported fields
}
func GetMTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass ¶
func GetMTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass() MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass
GetMTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass returns the class object for MTLToolsShaderProfilerDYShaderAnalyzerNextGPU.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass) Alloc ¶
func (mc MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass) Alloc() MTLToolsShaderProfilerDYShaderAnalyzerNextGPU
Alloc allocates memory for a new instance of the class.
func (MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass) Class ¶
func (mc MTLToolsShaderProfilerDYShaderAnalyzerNextGPUClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OpaquePthreadMutex ¶
type OpaquePthreadMutex struct {
// contains filtered or unexported fields
}
OpaquePthreadMutex
type Opaque_pthread_mutex_t ¶
type Opaque_pthread_mutex_t = OpaquePthreadMutex
Opaque_pthread_mutex_t is a type alias for OpaquePthreadMutex for use in objc.Send[T] calls.
type VoidHandler ¶
type VoidHandler = func()
VoidHandler is the signature for a completion handler block.
Used by:
- DYMTLShaderProfiler.EnumerateFragmentShadersForResultAndShaderInfoDictionaryUsingBlock
- [DYMTLShaderProfiler._visitAllShaderInfosInResultUsingBlock]