Struct mozangle::shaders::ffi::ShCompileOptions
source · #[repr(C, align(8))]pub struct ShCompileOptions {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
pub metal: ShCompileOptionsMetal,
pub pls: ShCompileOptionsPLS,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
§metal: ShCompileOptionsMetal
§pls: ShCompileOptionsPLS
Implementations§
source§impl ShCompileOptions
impl ShCompileOptions
pub fn objectCode(&self) -> u64
pub fn set_objectCode(&mut self, val: u64)
pub unsafe fn objectCode_raw(this: *const Self) -> u64
pub unsafe fn set_objectCode_raw(this: *mut Self, val: u64)
pub fn variables(&self) -> u64
pub fn set_variables(&mut self, val: u64)
pub unsafe fn variables_raw(this: *const Self) -> u64
pub unsafe fn set_variables_raw(this: *mut Self, val: u64)
pub fn sourcePath(&self) -> u64
pub fn set_sourcePath(&mut self, val: u64)
pub unsafe fn sourcePath_raw(this: *const Self) -> u64
pub unsafe fn set_sourcePath_raw(this: *mut Self, val: u64)
pub fn intermediateTree(&self) -> u64
pub fn set_intermediateTree(&mut self, val: u64)
pub unsafe fn intermediateTree_raw(this: *const Self) -> u64
pub unsafe fn set_intermediateTree_raw(this: *mut Self, val: u64)
pub fn validateAST(&self) -> u64
pub fn set_validateAST(&mut self, val: u64)
pub unsafe fn validateAST_raw(this: *const Self) -> u64
pub unsafe fn set_validateAST_raw(this: *mut Self, val: u64)
pub fn validateLoopIndexing(&self) -> u64
pub fn set_validateLoopIndexing(&mut self, val: u64)
pub unsafe fn validateLoopIndexing_raw(this: *const Self) -> u64
pub unsafe fn set_validateLoopIndexing_raw(this: *mut Self, val: u64)
pub fn lineDirectives(&self) -> u64
pub fn set_lineDirectives(&mut self, val: u64)
pub unsafe fn lineDirectives_raw(this: *const Self) -> u64
pub unsafe fn set_lineDirectives_raw(this: *mut Self, val: u64)
pub fn removeInvariantAndCentroidForESSL3(&self) -> u64
pub fn set_removeInvariantAndCentroidForESSL3(&mut self, val: u64)
pub unsafe fn removeInvariantAndCentroidForESSL3_raw(this: *const Self) -> u64
pub unsafe fn set_removeInvariantAndCentroidForESSL3_raw( this: *mut Self, val: u64, )
pub fn emulateAbsIntFunction(&self) -> u64
pub fn set_emulateAbsIntFunction(&mut self, val: u64)
pub unsafe fn emulateAbsIntFunction_raw(this: *const Self) -> u64
pub unsafe fn set_emulateAbsIntFunction_raw(this: *mut Self, val: u64)
pub fn enforcePackingRestrictions(&self) -> u64
pub fn set_enforcePackingRestrictions(&mut self, val: u64)
pub unsafe fn enforcePackingRestrictions_raw(this: *const Self) -> u64
pub unsafe fn set_enforcePackingRestrictions_raw(this: *mut Self, val: u64)
pub fn clampIndirectArrayBounds(&self) -> u64
pub fn set_clampIndirectArrayBounds(&mut self, val: u64)
pub unsafe fn clampIndirectArrayBounds_raw(this: *const Self) -> u64
pub unsafe fn set_clampIndirectArrayBounds_raw(this: *mut Self, val: u64)
pub fn limitExpressionComplexity(&self) -> u64
pub fn set_limitExpressionComplexity(&mut self, val: u64)
pub unsafe fn limitExpressionComplexity_raw(this: *const Self) -> u64
pub unsafe fn set_limitExpressionComplexity_raw(this: *mut Self, val: u64)
pub fn limitCallStackDepth(&self) -> u64
pub fn set_limitCallStackDepth(&mut self, val: u64)
pub unsafe fn limitCallStackDepth_raw(this: *const Self) -> u64
pub unsafe fn set_limitCallStackDepth_raw(this: *mut Self, val: u64)
pub fn initGLPosition(&self) -> u64
pub fn set_initGLPosition(&mut self, val: u64)
pub unsafe fn initGLPosition_raw(this: *const Self) -> u64
pub unsafe fn set_initGLPosition_raw(this: *mut Self, val: u64)
pub fn initGLPointSize(&self) -> u64
pub fn set_initGLPointSize(&mut self, val: u64)
pub unsafe fn initGLPointSize_raw(this: *const Self) -> u64
pub unsafe fn set_initGLPointSize_raw(this: *mut Self, val: u64)
pub fn unfoldShortCircuit(&self) -> u64
pub fn set_unfoldShortCircuit(&mut self, val: u64)
pub unsafe fn unfoldShortCircuit_raw(this: *const Self) -> u64
pub unsafe fn set_unfoldShortCircuit_raw(this: *mut Self, val: u64)
pub fn initOutputVariables(&self) -> u64
pub fn set_initOutputVariables(&mut self, val: u64)
pub unsafe fn initOutputVariables_raw(this: *const Self) -> u64
pub unsafe fn set_initOutputVariables_raw(this: *mut Self, val: u64)
pub fn scalarizeVecAndMatConstructorArgs(&self) -> u64
pub fn set_scalarizeVecAndMatConstructorArgs(&mut self, val: u64)
pub unsafe fn scalarizeVecAndMatConstructorArgs_raw(this: *const Self) -> u64
pub unsafe fn set_scalarizeVecAndMatConstructorArgs_raw( this: *mut Self, val: u64, )
pub fn regenerateStructNames(&self) -> u64
pub fn set_regenerateStructNames(&mut self, val: u64)
pub unsafe fn regenerateStructNames_raw(this: *const Self) -> u64
pub unsafe fn set_regenerateStructNames_raw(this: *mut Self, val: u64)
pub fn rewriteDoWhileLoops(&self) -> u64
pub fn set_rewriteDoWhileLoops(&mut self, val: u64)
pub unsafe fn rewriteDoWhileLoops_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteDoWhileLoops_raw(this: *mut Self, val: u64)
pub fn expandSelectHLSLIntegerPowExpressions(&self) -> u64
pub fn set_expandSelectHLSLIntegerPowExpressions(&mut self, val: u64)
pub unsafe fn expandSelectHLSLIntegerPowExpressions_raw( this: *const Self, ) -> u64
pub unsafe fn set_expandSelectHLSLIntegerPowExpressions_raw( this: *mut Self, val: u64, )
pub fn flattenPragmaSTDGLInvariantAll(&self) -> u64
pub fn set_flattenPragmaSTDGLInvariantAll(&mut self, val: u64)
pub unsafe fn flattenPragmaSTDGLInvariantAll_raw(this: *const Self) -> u64
pub unsafe fn set_flattenPragmaSTDGLInvariantAll_raw(this: *mut Self, val: u64)
pub fn HLSLGetDimensionsIgnoresBaseLevel(&self) -> u64
pub fn set_HLSLGetDimensionsIgnoresBaseLevel(&mut self, val: u64)
pub unsafe fn HLSLGetDimensionsIgnoresBaseLevel_raw(this: *const Self) -> u64
pub unsafe fn set_HLSLGetDimensionsIgnoresBaseLevel_raw( this: *mut Self, val: u64, )
pub fn rewriteTexelFetchOffsetToTexelFetch(&self) -> u64
pub fn set_rewriteTexelFetchOffsetToTexelFetch(&mut self, val: u64)
pub unsafe fn rewriteTexelFetchOffsetToTexelFetch_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteTexelFetchOffsetToTexelFetch_raw( this: *mut Self, val: u64, )
pub fn addAndTrueToLoopCondition(&self) -> u64
pub fn set_addAndTrueToLoopCondition(&mut self, val: u64)
pub unsafe fn addAndTrueToLoopCondition_raw(this: *const Self) -> u64
pub unsafe fn set_addAndTrueToLoopCondition_raw(this: *mut Self, val: u64)
pub fn rewriteIntegerUnaryMinusOperator(&self) -> u64
pub fn set_rewriteIntegerUnaryMinusOperator(&mut self, val: u64)
pub unsafe fn rewriteIntegerUnaryMinusOperator_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteIntegerUnaryMinusOperator_raw( this: *mut Self, val: u64, )
pub fn emulateIsnanFloatFunction(&self) -> u64
pub fn set_emulateIsnanFloatFunction(&mut self, val: u64)
pub unsafe fn emulateIsnanFloatFunction_raw(this: *const Self) -> u64
pub unsafe fn set_emulateIsnanFloatFunction_raw(this: *mut Self, val: u64)
pub fn rewriteFloatUnaryMinusOperator(&self) -> u64
pub fn set_rewriteFloatUnaryMinusOperator(&mut self, val: u64)
pub unsafe fn rewriteFloatUnaryMinusOperator_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteFloatUnaryMinusOperator_raw(this: *mut Self, val: u64)
pub fn emulateAtan2FloatFunction(&self) -> u64
pub fn set_emulateAtan2FloatFunction(&mut self, val: u64)
pub unsafe fn emulateAtan2FloatFunction_raw(this: *const Self) -> u64
pub unsafe fn set_emulateAtan2FloatFunction_raw(this: *mut Self, val: u64)
pub fn initializeUninitializedLocals(&self) -> u64
pub fn set_initializeUninitializedLocals(&mut self, val: u64)
pub unsafe fn initializeUninitializedLocals_raw(this: *const Self) -> u64
pub unsafe fn set_initializeUninitializedLocals_raw(this: *mut Self, val: u64)
pub fn initializeBuiltinsForInstancedMultiview(&self) -> u64
pub fn set_initializeBuiltinsForInstancedMultiview(&mut self, val: u64)
pub unsafe fn initializeBuiltinsForInstancedMultiview_raw( this: *const Self, ) -> u64
pub unsafe fn set_initializeBuiltinsForInstancedMultiview_raw( this: *mut Self, val: u64, )
pub fn selectViewInNvGLSLVertexShader(&self) -> u64
pub fn set_selectViewInNvGLSLVertexShader(&mut self, val: u64)
pub unsafe fn selectViewInNvGLSLVertexShader_raw(this: *const Self) -> u64
pub unsafe fn set_selectViewInNvGLSLVertexShader_raw(this: *mut Self, val: u64)
pub fn clampPointSize(&self) -> u64
pub fn set_clampPointSize(&mut self, val: u64)
pub unsafe fn clampPointSize_raw(this: *const Self) -> u64
pub unsafe fn set_clampPointSize_raw(this: *mut Self, val: u64)
pub fn addAdvancedBlendEquationsEmulation(&self) -> u64
pub fn set_addAdvancedBlendEquationsEmulation(&mut self, val: u64)
pub unsafe fn addAdvancedBlendEquationsEmulation_raw(this: *const Self) -> u64
pub unsafe fn set_addAdvancedBlendEquationsEmulation_raw( this: *mut Self, val: u64, )
pub fn dontUseLoopsToInitializeVariables(&self) -> u64
pub fn set_dontUseLoopsToInitializeVariables(&mut self, val: u64)
pub unsafe fn dontUseLoopsToInitializeVariables_raw(this: *const Self) -> u64
pub unsafe fn set_dontUseLoopsToInitializeVariables_raw( this: *mut Self, val: u64, )
pub fn skipD3DConstantRegisterZero(&self) -> u64
pub fn set_skipD3DConstantRegisterZero(&mut self, val: u64)
pub unsafe fn skipD3DConstantRegisterZero_raw(this: *const Self) -> u64
pub unsafe fn set_skipD3DConstantRegisterZero_raw(this: *mut Self, val: u64)
pub fn clampFragDepth(&self) -> u64
pub fn set_clampFragDepth(&mut self, val: u64)
pub unsafe fn clampFragDepth_raw(this: *const Self) -> u64
pub unsafe fn set_clampFragDepth_raw(this: *mut Self, val: u64)
pub fn rewriteRepeatedAssignToSwizzled(&self) -> u64
pub fn set_rewriteRepeatedAssignToSwizzled(&mut self, val: u64)
pub unsafe fn rewriteRepeatedAssignToSwizzled_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteRepeatedAssignToSwizzled_raw(this: *mut Self, val: u64)
pub fn emulateGLDrawID(&self) -> u64
pub fn set_emulateGLDrawID(&mut self, val: u64)
pub unsafe fn emulateGLDrawID_raw(this: *const Self) -> u64
pub unsafe fn set_emulateGLDrawID_raw(this: *mut Self, val: u64)
pub fn forceAtomicValueResolution(&self) -> u64
pub fn set_forceAtomicValueResolution(&mut self, val: u64)
pub unsafe fn forceAtomicValueResolution_raw(this: *const Self) -> u64
pub unsafe fn set_forceAtomicValueResolution_raw(this: *mut Self, val: u64)
pub fn emulateGLBaseVertexBaseInstance(&self) -> u64
pub fn set_emulateGLBaseVertexBaseInstance(&mut self, val: u64)
pub unsafe fn emulateGLBaseVertexBaseInstance_raw(this: *const Self) -> u64
pub unsafe fn set_emulateGLBaseVertexBaseInstance_raw(this: *mut Self, val: u64)
pub fn emulateSeamfulCubeMapSampling(&self) -> u64
pub fn set_emulateSeamfulCubeMapSampling(&mut self, val: u64)
pub unsafe fn emulateSeamfulCubeMapSampling_raw(this: *const Self) -> u64
pub unsafe fn set_emulateSeamfulCubeMapSampling_raw(this: *mut Self, val: u64)
pub fn takeVideoTextureAsExternalOES(&self) -> u64
pub fn set_takeVideoTextureAsExternalOES(&mut self, val: u64)
pub unsafe fn takeVideoTextureAsExternalOES_raw(this: *const Self) -> u64
pub unsafe fn set_takeVideoTextureAsExternalOES_raw(this: *mut Self, val: u64)
pub fn addBaseVertexToVertexID(&self) -> u64
pub fn set_addBaseVertexToVertexID(&mut self, val: u64)
pub unsafe fn addBaseVertexToVertexID_raw(this: *const Self) -> u64
pub unsafe fn set_addBaseVertexToVertexID_raw(this: *mut Self, val: u64)
pub fn removeDynamicIndexingOfSwizzledVector(&self) -> u64
pub fn set_removeDynamicIndexingOfSwizzledVector(&mut self, val: u64)
pub unsafe fn removeDynamicIndexingOfSwizzledVector_raw( this: *const Self, ) -> u64
pub unsafe fn set_removeDynamicIndexingOfSwizzledVector_raw( this: *mut Self, val: u64, )
pub fn allowTranslateUniformBlockToStructuredBuffer(&self) -> u64
pub fn set_allowTranslateUniformBlockToStructuredBuffer(&mut self, val: u64)
pub unsafe fn allowTranslateUniformBlockToStructuredBuffer_raw( this: *const Self, ) -> u64
pub unsafe fn set_allowTranslateUniformBlockToStructuredBuffer_raw( this: *mut Self, val: u64, )
pub fn addVulkanYUVLayoutQualifier(&self) -> u64
pub fn set_addVulkanYUVLayoutQualifier(&mut self, val: u64)
pub unsafe fn addVulkanYUVLayoutQualifier_raw(this: *const Self) -> u64
pub unsafe fn set_addVulkanYUVLayoutQualifier_raw(this: *mut Self, val: u64)
pub fn disableARBTextureRectangle(&self) -> u64
pub fn set_disableARBTextureRectangle(&mut self, val: u64)
pub unsafe fn disableARBTextureRectangle_raw(this: *const Self) -> u64
pub unsafe fn set_disableARBTextureRectangle_raw(this: *mut Self, val: u64)
pub fn rewriteRowMajorMatrices(&self) -> u64
pub fn set_rewriteRowMajorMatrices(&mut self, val: u64)
pub unsafe fn rewriteRowMajorMatrices_raw(this: *const Self) -> u64
pub unsafe fn set_rewriteRowMajorMatrices_raw(this: *mut Self, val: u64)
pub fn ignorePrecisionQualifiers(&self) -> u64
pub fn set_ignorePrecisionQualifiers(&mut self, val: u64)
pub unsafe fn ignorePrecisionQualifiers_raw(this: *const Self) -> u64
pub unsafe fn set_ignorePrecisionQualifiers_raw(this: *mut Self, val: u64)
pub fn addVulkanDepthCorrection(&self) -> u64
pub fn set_addVulkanDepthCorrection(&mut self, val: u64)
pub unsafe fn addVulkanDepthCorrection_raw(this: *const Self) -> u64
pub unsafe fn set_addVulkanDepthCorrection_raw(this: *mut Self, val: u64)
pub fn forceShaderPrecisionHighpToMediump(&self) -> u64
pub fn set_forceShaderPrecisionHighpToMediump(&mut self, val: u64)
pub unsafe fn forceShaderPrecisionHighpToMediump_raw(this: *const Self) -> u64
pub unsafe fn set_forceShaderPrecisionHighpToMediump_raw( this: *mut Self, val: u64, )
pub fn useSpecializationConstant(&self) -> u64
pub fn set_useSpecializationConstant(&mut self, val: u64)
pub unsafe fn useSpecializationConstant_raw(this: *const Self) -> u64
pub unsafe fn set_useSpecializationConstant_raw(this: *mut Self, val: u64)
pub fn addVulkanXfbEmulationSupportCode(&self) -> u64
pub fn set_addVulkanXfbEmulationSupportCode(&mut self, val: u64)
pub unsafe fn addVulkanXfbEmulationSupportCode_raw(this: *const Self) -> u64
pub unsafe fn set_addVulkanXfbEmulationSupportCode_raw( this: *mut Self, val: u64, )
pub fn addVulkanXfbExtensionSupportCode(&self) -> u64
pub fn set_addVulkanXfbExtensionSupportCode(&mut self, val: u64)
pub unsafe fn addVulkanXfbExtensionSupportCode_raw(this: *const Self) -> u64
pub unsafe fn set_addVulkanXfbExtensionSupportCode_raw( this: *mut Self, val: u64, )
pub fn initFragmentOutputVariables(&self) -> u64
pub fn set_initFragmentOutputVariables(&mut self, val: u64)
pub unsafe fn initFragmentOutputVariables_raw(this: *const Self) -> u64
pub unsafe fn set_initFragmentOutputVariables_raw(this: *mut Self, val: u64)
pub fn generateSpirvThroughGlslang(&self) -> u64
pub fn set_generateSpirvThroughGlslang(&mut self, val: u64)
pub unsafe fn generateSpirvThroughGlslang_raw(this: *const Self) -> u64
pub unsafe fn set_generateSpirvThroughGlslang_raw(this: *mut Self, val: u64)
pub fn addExplicitBoolCasts(&self) -> u64
pub fn set_addExplicitBoolCasts(&mut self, val: u64)
pub unsafe fn addExplicitBoolCasts_raw(this: *const Self) -> u64
pub unsafe fn set_addExplicitBoolCasts_raw(this: *mut Self, val: u64)
pub fn roundOutputAfterDithering(&self) -> u64
pub fn set_roundOutputAfterDithering(&mut self, val: u64)
pub unsafe fn roundOutputAfterDithering_raw(this: *const Self) -> u64
pub unsafe fn set_roundOutputAfterDithering_raw(this: *mut Self, val: u64)
pub fn precisionSafeDivision(&self) -> u64
pub fn set_precisionSafeDivision(&mut self, val: u64)
pub unsafe fn precisionSafeDivision_raw(this: *const Self) -> u64
pub unsafe fn set_precisionSafeDivision_raw(this: *mut Self, val: u64)
pub fn passHighpToPackUnormSnormBuiltins(&self) -> u64
pub fn set_passHighpToPackUnormSnormBuiltins(&mut self, val: u64)
pub unsafe fn passHighpToPackUnormSnormBuiltins_raw(this: *const Self) -> u64
pub unsafe fn set_passHighpToPackUnormSnormBuiltins_raw( this: *mut Self, val: u64, )
pub fn new_bitfield_1( objectCode: u64, variables: u64, sourcePath: u64, intermediateTree: u64, validateAST: u64, validateLoopIndexing: u64, lineDirectives: u64, removeInvariantAndCentroidForESSL3: u64, emulateAbsIntFunction: u64, enforcePackingRestrictions: u64, clampIndirectArrayBounds: u64, limitExpressionComplexity: u64, limitCallStackDepth: u64, initGLPosition: u64, initGLPointSize: u64, unfoldShortCircuit: u64, initOutputVariables: u64, scalarizeVecAndMatConstructorArgs: u64, regenerateStructNames: u64, rewriteDoWhileLoops: u64, expandSelectHLSLIntegerPowExpressions: u64, flattenPragmaSTDGLInvariantAll: u64, HLSLGetDimensionsIgnoresBaseLevel: u64, rewriteTexelFetchOffsetToTexelFetch: u64, addAndTrueToLoopCondition: u64, rewriteIntegerUnaryMinusOperator: u64, emulateIsnanFloatFunction: u64, useUnusedStandardSharedBlocks: u64, rewriteFloatUnaryMinusOperator: u64, emulateAtan2FloatFunction: u64, initializeUninitializedLocals: u64, initializeBuiltinsForInstancedMultiview: u64, selectViewInNvGLSLVertexShader: u64, clampPointSize: u64, addAdvancedBlendEquationsEmulation: u64, dontUseLoopsToInitializeVariables: u64, skipD3DConstantRegisterZero: u64, clampFragDepth: u64, rewriteRepeatedAssignToSwizzled: u64, emulateGLDrawID: u64, initSharedVariables: u64, forceAtomicValueResolution: u64, emulateGLBaseVertexBaseInstance: u64, emulateSeamfulCubeMapSampling: u64, takeVideoTextureAsExternalOES: u64, addBaseVertexToVertexID: u64, removeDynamicIndexingOfSwizzledVector: u64, allowTranslateUniformBlockToStructuredBuffer: u64, addVulkanYUVLayoutQualifier: u64, disableARBTextureRectangle: u64, rewriteRowMajorMatrices: u64, ignorePrecisionQualifiers: u64, addVulkanDepthCorrection: u64, forceShaderPrecisionHighpToMediump: u64, useSpecializationConstant: u64, addVulkanXfbEmulationSupportCode: u64, addVulkanXfbExtensionSupportCode: u64, initFragmentOutputVariables: u64, generateSpirvThroughGlslang: u64, addExplicitBoolCasts: u64, roundOutputAfterDithering: u64, precisionSafeDivision: u64, passHighpToPackUnormSnormBuiltins: u64, ) -> __BindgenBitfieldUnit<[u8; 8]>
pub unsafe fn new() -> Self
pub unsafe fn new1(other: *const ShCompileOptions) -> Self
Trait Implementations§
source§impl Clone for ShCompileOptions
impl Clone for ShCompileOptions
source§fn clone(&self) -> ShCompileOptions
fn clone(&self) -> ShCompileOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShCompileOptions
impl Debug for ShCompileOptions
impl Copy for ShCompileOptions
Auto Trait Implementations§
impl Freeze for ShCompileOptions
impl RefUnwindSafe for ShCompileOptions
impl Send for ShCompileOptions
impl Sync for ShCompileOptions
impl Unpin for ShCompileOptions
impl UnwindSafe for ShCompileOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)