CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT class

A helper class for creating a subobject that defines the general properties of a state object.

For more info about the D3DX12 State Object Creation Helpers, see CD3DX12_STATE_OBJECT_DESC.

Syntax

class CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT
{
public:
    CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT() noexcept;
    CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT(CD3DX12_STATE_OBJECT_DESC& ContainingStateObject);
    void SetFlags(D3D12_STATE_OBJECT_FLAGS Flags) noexcept;
    D3D12_STATE_SUBOBJECT_TYPE Type() const noexcept override;
    operator const D3D12_STATE_SUBOBJECT& () const noexcept;
    operator const D3D12_STATE_OBJECT_CONFIG& () const noexcept;
};

Members

CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT

Default constructor. Creates a new, default-initialized, instance of a CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT.

CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT(CD3DX12_STATE_OBJECT_DESC&)

Constructor that creates a new instance of a CD3DX12_STATE_OBJECT_CONFIG_SUBOBJECT initialized with the contents of a CD3DX12_STATE_OBJECT_DESC object.

SetFlags(D3D12_STATE_OBJECT_FLAGS)

Function for specifying the requirements for the state object via a D3D12_STATE_OBJECT_FLAGS object.

Type

Retrieves the type of the subobject, represented by the D3D12_STATE_SUBOBJECT_TYPE_STATE_OBJECT_CONFIG constant.

operator const D3D12_STATE_SUBOBJECT&

Conversion operator that returns a reference to a constant D3D12_STATE_SUBOBJECT object describing the state object.

operator const D3D12_STATE_OBJECT_CONFIG&

Conversion operator that returns a reference to a constant D3D12_STATE_OBJECT_CONFIG object describing the state object.

Requirements

Requirement Value
Header D3dx12.h

See also