Struct mozangle::shaders::ffi::ShBuiltInResources

source ·
#[repr(C)]
pub struct ShBuiltInResources {
Show 132 fields pub MaxVertexAttribs: c_int, pub MaxVertexUniformVectors: c_int, pub MaxVaryingVectors: c_int, pub MaxVertexTextureImageUnits: c_int, pub MaxCombinedTextureImageUnits: c_int, pub MaxTextureImageUnits: c_int, pub MaxFragmentUniformVectors: c_int, pub MaxDrawBuffers: c_int, pub OES_standard_derivatives: c_int, pub OES_EGL_image_external: c_int, pub OES_EGL_image_external_essl3: c_int, pub NV_EGL_stream_consumer_external: c_int, pub ARB_texture_rectangle: c_int, pub EXT_blend_func_extended: c_int, pub EXT_draw_buffers: c_int, pub EXT_frag_depth: c_int, pub EXT_shader_texture_lod: c_int, pub EXT_shader_framebuffer_fetch: c_int, pub EXT_shader_framebuffer_fetch_non_coherent: c_int, pub NV_shader_framebuffer_fetch: c_int, pub NV_shader_noperspective_interpolation: c_int, pub ARM_shader_framebuffer_fetch: c_int, pub OVR_multiview: c_int, pub OVR_multiview2: c_int, pub EXT_multisampled_render_to_texture: c_int, pub EXT_multisampled_render_to_texture2: c_int, pub EXT_YUV_target: c_int, pub EXT_geometry_shader: c_int, pub OES_geometry_shader: c_int, pub OES_shader_io_blocks: c_int, pub EXT_shader_io_blocks: c_int, pub EXT_gpu_shader5: c_int, pub EXT_shader_non_constant_global_initializers: c_int, pub OES_texture_storage_multisample_2d_array: c_int, pub OES_texture_3D: c_int, pub ANGLE_shader_pixel_local_storage: c_int, pub ANGLE_texture_multisample: c_int, pub ANGLE_multi_draw: c_int, pub ANGLE_base_vertex_base_instance: c_int, pub WEBGL_video_texture: c_int, pub APPLE_clip_distance: c_int, pub OES_texture_cube_map_array: c_int, pub EXT_texture_cube_map_array: c_int, pub EXT_shadow_samplers: c_int, pub OES_shader_multisample_interpolation: c_int, pub OES_shader_image_atomic: c_int, pub EXT_tessellation_shader: c_int, pub OES_texture_buffer: c_int, pub EXT_texture_buffer: c_int, pub OES_sample_variables: c_int, pub EXT_clip_cull_distance: c_int, pub EXT_primitive_bounding_box: c_int, pub OES_primitive_bounding_box: c_int, pub ANGLE_base_vertex_base_instance_shader_builtin: c_int, pub ANDROID_extension_pack_es31a: c_int, pub KHR_blend_equation_advanced: c_int, pub NV_draw_buffers: c_int, pub FragmentPrecisionHigh: c_int, pub MaxVertexOutputVectors: c_int, pub MaxFragmentInputVectors: c_int, pub MinProgramTexelOffset: c_int, pub MaxProgramTexelOffset: c_int, pub MaxDualSourceDrawBuffers: c_int, pub MaxViewsOVR: c_int, pub HashFunction: ShHashFunction64, pub MaxExpressionComplexity: c_int, pub MaxCallStackDepth: c_int, pub MaxFunctionParameters: c_int, pub MinProgramTextureGatherOffset: c_int, pub MaxProgramTextureGatherOffset: c_int, pub MaxImageUnits: c_int, pub MaxSamples: c_int, pub MaxVertexImageUniforms: c_int, pub MaxFragmentImageUniforms: c_int, pub MaxComputeImageUniforms: c_int, pub MaxCombinedImageUniforms: c_int, pub MaxUniformLocations: c_int, pub MaxCombinedShaderOutputResources: c_int, pub MaxComputeWorkGroupCount: [u32; 3], pub MaxComputeWorkGroupSize: [u32; 3], pub MaxComputeUniformComponents: c_int, pub MaxComputeTextureImageUnits: c_int, pub MaxComputeAtomicCounters: c_int, pub MaxComputeAtomicCounterBuffers: c_int, pub MaxVertexAtomicCounters: c_int, pub MaxFragmentAtomicCounters: c_int, pub MaxCombinedAtomicCounters: c_int, pub MaxAtomicCounterBindings: c_int, pub MaxVertexAtomicCounterBuffers: c_int, pub MaxFragmentAtomicCounterBuffers: c_int, pub MaxCombinedAtomicCounterBuffers: c_int, pub MaxAtomicCounterBufferSize: c_int, pub MaxUniformBufferBindings: c_int, pub MaxShaderStorageBufferBindings: c_int, pub MaxPointSize: f32, pub MaxGeometryUniformComponents: c_int, pub MaxGeometryUniformBlocks: c_int, pub MaxGeometryInputComponents: c_int, pub MaxGeometryOutputComponents: c_int, pub MaxGeometryOutputVertices: c_int, pub MaxGeometryTotalOutputComponents: c_int, pub MaxGeometryTextureImageUnits: c_int, pub MaxGeometryAtomicCounterBuffers: c_int, pub MaxGeometryAtomicCounters: c_int, pub MaxGeometryShaderStorageBlocks: c_int, pub MaxGeometryShaderInvocations: c_int, pub MaxGeometryImageUniforms: c_int, pub MaxTessControlInputComponents: c_int, pub MaxTessControlOutputComponents: c_int, pub MaxTessControlTextureImageUnits: c_int, pub MaxTessControlUniformComponents: c_int, pub MaxTessControlTotalOutputComponents: c_int, pub MaxTessControlImageUniforms: c_int, pub MaxTessControlAtomicCounters: c_int, pub MaxTessControlAtomicCounterBuffers: c_int, pub MaxTessPatchComponents: c_int, pub MaxPatchVertices: c_int, pub MaxTessGenLevel: c_int, pub MaxTessEvaluationInputComponents: c_int, pub MaxTessEvaluationOutputComponents: c_int, pub MaxTessEvaluationTextureImageUnits: c_int, pub MaxTessEvaluationUniformComponents: c_int, pub MaxTessEvaluationImageUniforms: c_int, pub MaxTessEvaluationAtomicCounters: c_int, pub MaxTessEvaluationAtomicCounterBuffers: c_int, pub SubPixelBits: c_int, pub MaxClipDistances: c_int, pub MaxCullDistances: c_int, pub MaxCombinedClipAndCullDistances: c_int, pub MaxPixelLocalStoragePlanes: c_int, pub MaxColorAttachmentsWithActivePixelLocalStorage: c_int, pub MaxCombinedDrawBuffersAndPixelLocalStoragePlanes: c_int,
}

Fields§

§MaxVertexAttribs: c_int§MaxVertexUniformVectors: c_int§MaxVaryingVectors: c_int§MaxVertexTextureImageUnits: c_int§MaxCombinedTextureImageUnits: c_int§MaxTextureImageUnits: c_int§MaxFragmentUniformVectors: c_int§MaxDrawBuffers: c_int§OES_standard_derivatives: c_int§OES_EGL_image_external: c_int§OES_EGL_image_external_essl3: c_int§NV_EGL_stream_consumer_external: c_int§ARB_texture_rectangle: c_int§EXT_blend_func_extended: c_int§EXT_draw_buffers: c_int§EXT_frag_depth: c_int§EXT_shader_texture_lod: c_int§EXT_shader_framebuffer_fetch: c_int§EXT_shader_framebuffer_fetch_non_coherent: c_int§NV_shader_framebuffer_fetch: c_int§NV_shader_noperspective_interpolation: c_int§ARM_shader_framebuffer_fetch: c_int§OVR_multiview: c_int§OVR_multiview2: c_int§EXT_multisampled_render_to_texture: c_int§EXT_multisampled_render_to_texture2: c_int§EXT_YUV_target: c_int§EXT_geometry_shader: c_int§OES_geometry_shader: c_int§OES_shader_io_blocks: c_int§EXT_shader_io_blocks: c_int§EXT_gpu_shader5: c_int§EXT_shader_non_constant_global_initializers: c_int§OES_texture_storage_multisample_2d_array: c_int§OES_texture_3D: c_int§ANGLE_shader_pixel_local_storage: c_int§ANGLE_texture_multisample: c_int§ANGLE_multi_draw: c_int§ANGLE_base_vertex_base_instance: c_int§WEBGL_video_texture: c_int§APPLE_clip_distance: c_int§OES_texture_cube_map_array: c_int§EXT_texture_cube_map_array: c_int§EXT_shadow_samplers: c_int§OES_shader_multisample_interpolation: c_int§OES_shader_image_atomic: c_int§EXT_tessellation_shader: c_int§OES_texture_buffer: c_int§EXT_texture_buffer: c_int§OES_sample_variables: c_int§EXT_clip_cull_distance: c_int§EXT_primitive_bounding_box: c_int§OES_primitive_bounding_box: c_int§ANGLE_base_vertex_base_instance_shader_builtin: c_int§ANDROID_extension_pack_es31a: c_int§KHR_blend_equation_advanced: c_int§NV_draw_buffers: c_int§FragmentPrecisionHigh: c_int§MaxVertexOutputVectors: c_int§MaxFragmentInputVectors: c_int§MinProgramTexelOffset: c_int§MaxProgramTexelOffset: c_int§MaxDualSourceDrawBuffers: c_int§MaxViewsOVR: c_int§HashFunction: ShHashFunction64§MaxExpressionComplexity: c_int§MaxCallStackDepth: c_int§MaxFunctionParameters: c_int§MinProgramTextureGatherOffset: c_int§MaxProgramTextureGatherOffset: c_int§MaxImageUnits: c_int§MaxSamples: c_int§MaxVertexImageUniforms: c_int§MaxFragmentImageUniforms: c_int§MaxComputeImageUniforms: c_int§MaxCombinedImageUniforms: c_int§MaxUniformLocations: c_int§MaxCombinedShaderOutputResources: c_int§MaxComputeWorkGroupCount: [u32; 3]§MaxComputeWorkGroupSize: [u32; 3]§MaxComputeUniformComponents: c_int§MaxComputeTextureImageUnits: c_int§MaxComputeAtomicCounters: c_int§MaxComputeAtomicCounterBuffers: c_int§MaxVertexAtomicCounters: c_int§MaxFragmentAtomicCounters: c_int§MaxCombinedAtomicCounters: c_int§MaxAtomicCounterBindings: c_int§MaxVertexAtomicCounterBuffers: c_int§MaxFragmentAtomicCounterBuffers: c_int§MaxCombinedAtomicCounterBuffers: c_int§MaxAtomicCounterBufferSize: c_int§MaxUniformBufferBindings: c_int§MaxShaderStorageBufferBindings: c_int§MaxPointSize: f32§MaxGeometryUniformComponents: c_int§MaxGeometryUniformBlocks: c_int§MaxGeometryInputComponents: c_int§MaxGeometryOutputComponents: c_int§MaxGeometryOutputVertices: c_int§MaxGeometryTotalOutputComponents: c_int§MaxGeometryTextureImageUnits: c_int§MaxGeometryAtomicCounterBuffers: c_int§MaxGeometryAtomicCounters: c_int§MaxGeometryShaderStorageBlocks: c_int§MaxGeometryShaderInvocations: c_int§MaxGeometryImageUniforms: c_int§MaxTessControlInputComponents: c_int§MaxTessControlOutputComponents: c_int§MaxTessControlTextureImageUnits: c_int§MaxTessControlUniformComponents: c_int§MaxTessControlTotalOutputComponents: c_int§MaxTessControlImageUniforms: c_int§MaxTessControlAtomicCounters: c_int§MaxTessControlAtomicCounterBuffers: c_int§MaxTessPatchComponents: c_int§MaxPatchVertices: c_int§MaxTessGenLevel: c_int§MaxTessEvaluationInputComponents: c_int§MaxTessEvaluationOutputComponents: c_int§MaxTessEvaluationTextureImageUnits: c_int§MaxTessEvaluationUniformComponents: c_int§MaxTessEvaluationImageUniforms: c_int§MaxTessEvaluationAtomicCounters: c_int§MaxTessEvaluationAtomicCounterBuffers: c_int§SubPixelBits: c_int§MaxClipDistances: c_int§MaxCullDistances: c_int§MaxCombinedClipAndCullDistances: c_int§MaxPixelLocalStoragePlanes: c_int§MaxColorAttachmentsWithActivePixelLocalStorage: c_int§MaxCombinedDrawBuffersAndPixelLocalStoragePlanes: c_int

Implementations§

Trait Implementations§

source§

impl Clone for ShBuiltInResources

source§

fn clone(&self) -> ShBuiltInResources

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ShBuiltInResources

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ShBuiltInResources

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.