pub struct BlobPart(/* private fields */);Expand description
[docs.microsoft.com] D3D_BLOB_PART
Values that identify parts of the content of an arbitrary length data buffer.
§Remarks
These values are passed to the d3d::Compiler::get_blob_part or d3d::Compiler::set_blob_part functions.
Implementations§
Source§impl BlobPart
impl BlobPart
Sourcepub const fn from_unchecked(d3d: D3D_BLOB_PART) -> Self
pub const fn from_unchecked(d3d: D3D_BLOB_PART) -> Self
Convert from an underlying winapi D3D... type.
This is probably safe… probably…
Sourcepub const fn into(self) -> D3D_BLOB_PART
pub const fn into(self) -> D3D_BLOB_PART
Convert back into an underlying winapi D3D... type.
Source§impl BlobPart
impl BlobPart
pub const InputSignatureBlob: Blob
pub const OutputSignatureBlob: Blob
pub const InputAndOutputSignatureBlob: Blob
pub const PatchConstantSignatureBlob: Blob
pub const AllSignatureBlob: Blob
pub const DebugInfo: Blob
pub const LegacyShader: Blob
pub const XnaPrepassShader: Blob
pub const XnaShader: Blob
Sourcepub const Pdb: Blob
pub const Pdb: Blob
The blob part is program database (PDB) information.
§Remarks
- This was introduced by d3dcompiler_44.dll, and is unavailable in earlier versions.
Sourcepub const PrivateData: Blob
pub const PrivateData: Blob
The blob part is private data.
§Remarks
- This was introduced by d3dcompiler_44.dll, and is unavailable in earlier versions.
Sourcepub const RootSignature: Blob
pub const RootSignature: Blob
The blob part is a root signature. Refer to Specifying Root Signatures in HLSL for more information on using Direct3D12 with HLSL.
§Remarks
- This was introduced by d3dcompiler_47.dll, and is unavailable in earlier versions.
Sourcepub const DebugName: Blob
pub const DebugName: Blob
The blob part is the debug name of the shader. If the application does not specify the debug name itself, an auto-generated name matching the PDB file of the shader is provided instead.
§Remarks
- This was introduced by d3dcompiler_47.dll, and is unavailable in earlier versions.
Sourcepub const TestAlternateShader: Blob
pub const TestAlternateShader: Blob
§Remarks
- This requires a special test version of d3dcompiler.
Sourcepub const TestCompileDetails: Blob
pub const TestCompileDetails: Blob
§Remarks
- This requires a special test version of d3dcompiler.
Sourcepub const TestCompilePerf: Blob
pub const TestCompilePerf: Blob
§Remarks
- This requires a special test version of d3dcompiler.
Sourcepub const TestCompileReport: Blob
pub const TestCompileReport: Blob
§Remarks
- This requires a special test version of d3dcompiler.
Trait Implementations§
Source§impl From<BlobPart> for D3D_BLOB_PART
impl From<BlobPart> for D3D_BLOB_PART
Source§impl Ord for BlobPart
impl Ord for BlobPart
Source§impl PartialOrd for BlobPart
impl PartialOrd for BlobPart
impl Copy for BlobPart
impl Eq for BlobPart
impl StructuralPartialEq for BlobPart
Auto Trait Implementations§
impl Freeze for BlobPart
impl RefUnwindSafe for BlobPart
impl Send for BlobPart
impl Sync for BlobPart
impl Unpin for BlobPart
impl UnwindSafe for BlobPart
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