#[repr(C)]pub struct SDL_GPURenderStateCreateInfo {
pub fragment_shader: *mut SDL_GPUShader,
pub num_sampler_bindings: Sint32,
pub sampler_bindings: *const SDL_GPUTextureSamplerBinding,
pub num_storage_textures: Sint32,
pub storage_textures: *const *mut SDL_GPUTexture,
pub num_storage_buffers: Sint32,
pub storage_buffers: *const *mut SDL_GPUBuffer,
pub props: SDL_PropertiesID,
}Expand description
Fields§
§fragment_shader: *mut SDL_GPUShaderThe fragment shader to use when this render state is active
num_sampler_bindings: Sint32The number of additional fragment samplers to bind when this render state is active
sampler_bindings: *const SDL_GPUTextureSamplerBindingAdditional fragment samplers to bind when this render state is active
num_storage_textures: Sint32The number of storage textures to bind when this render state is active
storage_textures: *const *mut SDL_GPUTextureStorage textures to bind when this render state is active
num_storage_buffers: Sint32The number of storage buffers to bind when this render state is active
storage_buffers: *const *mut SDL_GPUBufferStorage buffers to bind when this render state is active
props: SDL_PropertiesIDA properties ID for extensions. Should be 0 if no extensions are needed.
Trait Implementations§
Source§impl Debug for SDL_GPURenderStateCreateInfo
impl Debug for SDL_GPURenderStateCreateInfo
Auto Trait Implementations§
impl Freeze for SDL_GPURenderStateCreateInfo
impl RefUnwindSafe for SDL_GPURenderStateCreateInfo
impl !Send for SDL_GPURenderStateCreateInfo
impl !Sync for SDL_GPURenderStateCreateInfo
impl Unpin for SDL_GPURenderStateCreateInfo
impl UnwindSafe for SDL_GPURenderStateCreateInfo
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